/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var daxTest = {
	src: '/share/fonts/DaxTest.swf'
		,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

var daxBanners = {
	src: '/share/fonts/DaxTest.swf'
		,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

var daxBannersLink = {
	src: '/share/fonts/Myriad-Pro.swf'
		,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

var daxLight = {
	src: '/share/fonts/Dax-Regular.swf'
		,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

var daxRegular = {
	src: '/share/fonts/Dax-Regular.swf'
		,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

var myriadProLight = {
	src: '/share/fonts/Myriad-Pro-Light.swf'
		,ratios: [6,1.41,9,1.35,15,1.29,21,1.25,22,1.22,27,1.24,29,1.21,34,1.22,41,1.21,45,1.2,46,1.21,59,1.2,68,1.19,69,1.2,96,1.19,97,1.18,102,1.19,103,1.18,107,1.19,108,1.18,112,1.19,114,1.18,116,1.19,120,1.18,121,1.19,1.18]
};

//sIFR.domains = ['gg.xakepka.net'];
sIFR.useStyleCheck = true;
sIFR.activate(daxTest, daxLight, daxRegular, myriadProLight);

/* sIFR.replace(myriadProLight, {
	selector: '#menu ul li.title'
	,wmode: 'transparent'
	,css: [
		'.sIFR-root { letter-spacing: 4; text-align: center; }'
	]
}); */

sIFR.replace(myriadProLight, {
	selector: '.myriad'
	,wmode: 'transparent'
	,css: [
		'.sIFR-root { text-decoration: none; text-align: justify; }'
		,'.black { color: #120e0c; text-align: justify; }'
		,'.white { text-decoration: none; letter-spacing: 3; color: #ffffff; font-size: 13px; }'
		,'.spacing { letter-spacing: 4.62; }'
	]
});

/* sIFR.replace(daxLight, {
	selector: '#menu- ul li'
	,wmode: 'transparent'
	,css: [
		'.sIFR-root { font-size: 17px; text-align: center; }'
		,'a { color: #46281e; text-decoration: none; }'
		,'a:hover { color: #120e0c; }'
		,'.current { color: #120e0c; font-weight: bold; }'
	]
}); */

sIFR.replace(daxLight, {
	selector: '.dax'
	,wmode: 'transparent'
	,css: [
		'.sIFR-root { }'
		,'.brown { color: #46301e; }'
		,'.soft-brown { color: #514131; }'
		,'.light-brown { color: #b2a287; }'
		,'.soul-stone { color: #cac3ac; }'
		,'.soft-stone { color: #7e6e62; }'
		,'.purple { color: #5c335c; }'
		,'.light-purple { color: #70636e; }'
		,'.dark-purple { color: #754c70; }'
		,'.white { color: #ffffff; }'
		,'.black { color: #120e0c; text-align: justify; line-height: 20em; }'
		,'.offset-left-10 { margin-left: 10px; }'
		,'.offset-left-15 { margin-left: 15px; }'
		,'.offset-left-20 { margin-left: 20px; }'
		,'.offset-left-25 { margin-left: 25px; }'
		,'.offset-left-30 { margin-left: 30px; }'
		,'.offset-left-35 { margin-left: 35px; }'
		,'.offset-left-40 { margin-left: 40px; }'
		,'.offset-left-45 { margin-left: 45px; }'
		,'.offset-left-50 { margin-left: 50px; }'
		,'.offset-left-55 { margin-left: 55px; }'
		,'.offset-left-60 { margin-left: 60px; }'
		,'.offset-left-65 { margin-left: 65px; }'
		,'.offset-left-70 { margin-left: 70px; }'
		,'.offset-left-75 { margin-left: 75px; }'
		,'.offset-left-80 { margin-left: 80px; }'
		,'.offset-left-90 { margin-left: 90px; }'
		,'.offset-left-100 { margin-left: 100px; }'
	]
});

sIFR.replace(daxBanners, {
	selector: '.daxBanners'
	,wmode: 'transparent'
	,css: [
		'.sIFR-root { font-size: 13px; color: #7E6E62; }'
		,'.brown { color: #46301e; }'
		,'.soft-brown { color: #514131; }'
		,'.light-brown { color: #b2a287; }'
		,'.soul-stone { color: #cac3ac; }'
		,'.soft-stone { color: #7e6e62; }'
		,'.purple { color: #5c335c; }'
		,'.light-purple { color: #70636e; }'
		,'.dark-purple { color: #754c70; }'
		,'.white { color: #ffffff; }'
		,'.black { color: #120e0c; text-align: justify; line-height: 20em; }'
		,'.offset-left-10 { margin-left: 10px; }'
		,'.offset-left-15 { margin-left: 15px; }'
		,'.offset-left-20 { margin-left: 20px; }'
		,'.offset-left-25 { margin-left: 25px; }'
		,'.offset-left-30 { margin-left: 30px; }'
		,'.offset-left-35 { margin-left: 35px; }'
		,'.offset-left-40 { margin-left: 40px; }'
		,'.offset-left-45 { margin-left: 45px; }'
		,'.offset-left-50 { margin-left: 50px; }'
		,'.offset-left-55 { margin-left: 55px; }'
		,'.offset-left-60 { margin-left: 60px; }'
		,'.offset-left-65 { margin-left: 65px; }'
		,'.offset-left-70 { margin-left: 70px; }'
		,'.offset-left-75 { margin-left: 75px; }'
		,'.offset-left-80 { margin-left: 80px; }'
		,'.offset-left-90 { margin-left: 90px; }'
		,'.offset-left-100 { margin-left: 100px; }'
	]
});

sIFR.replace(daxBannersLink, {
	selector: '.daxBannersLink'
	,wmode: 'transparent'
	,css: [
		'.sIFR-root { font-size: 12px; color: #948D7A; cursor: pointer; }'
		,'.brown { color: #46301e; }'
		,'.soft-brown { color: #514131; }'
		,'.light-brown { color: #b2a287; }'
		,'.soul-stone { color: #cac3ac; }'
		,'.soft-stone { color: #7e6e62; }'
		,'.purple { color: #5c335c; }'
		,'.light-purple { color: #70636e; }'
		,'.dark-purple { color: #754c70; }'
		,'.white { color: #ffffff; }'
		,'.black { color: #120e0c; text-align: justify; line-height: 20em; }'
		,'.offset-left-10 { margin-left: 10px; }'
		,'.offset-left-15 { margin-left: 15px; }'
		,'.offset-left-20 { margin-left: 20px; }'
		,'.offset-left-25 { margin-left: 25px; }'
		,'.offset-left-30 { margin-left: 30px; }'
		,'.offset-left-35 { margin-left: 35px; }'
		,'.offset-left-40 { margin-left: 40px; }'
		,'.offset-left-45 { margin-left: 45px; }'
		,'.offset-left-50 { margin-left: 50px; }'
		,'.offset-left-55 { margin-left: 55px; }'
		,'.offset-left-60 { margin-left: 60px; }'
		,'.offset-left-65 { margin-left: 65px; }'
		,'.offset-left-70 { margin-left: 70px; }'
		,'.offset-left-75 { margin-left: 75px; }'
		,'.offset-left-80 { margin-left: 80px; }'
		,'.offset-left-90 { margin-left: 90px; }'
		,'.offset-left-100 { margin-left: 100px; }'
	]
});

sIFR.replace(daxTest, {
	selector: '.daxTest'
	,wmode: 'transparent'
	,css: [
		'.sIFR-root { }'
		,'.brown { color: #46301e; }'
		,'.soft-brown { color: #514131; }'
		,'.light-brown { color: #b2a287; }'
		,'.soul-stone { color: #cac3ac; }'
		,'.soft-stone { color: #7e6e62; }'
		,'.purple { color: #5c335c; }'
		,'.light-purple { color: #70636e; }'
		,'.dark-purple { color: #754c70; }'
		,'.white { color: #ffffff; }'
		,'.black { color: #120e0c; text-align: justify; line-height: 20em; }'
		,'.offset-left-10 { margin-left: 10px; }'
		,'.offset-left-15 { margin-left: 15px; }'
		,'.offset-left-20 { margin-left: 20px; }'
		,'.offset-left-25 { margin-left: 25px; }'
		,'.offset-left-30 { margin-left: 30px; }'
		,'.offset-left-35 { margin-left: 35px; }'
		,'.offset-left-40 { margin-left: 40px; }'
		,'.offset-left-45 { margin-left: 45px; }'
		,'.offset-left-50 { margin-left: 50px; }'
		,'.offset-left-55 { margin-left: 55px; }'
		,'.offset-left-60 { margin-left: 60px; }'
		,'.offset-left-65 { margin-left: 65px; }'
		,'.offset-left-70 { margin-left: 70px; }'
		,'.offset-left-75 { margin-left: 75px; }'
		,'.offset-left-80 { margin-left: 80px; }'
		,'.offset-left-90 { margin-left: 90px; }'
		,'.offset-left-100 { margin-left: 100px; }'
	]
});

sIFR.replace(daxRegular, {
	selector: '.daxR'
	,wmode: 'transparent'
	,css: [
		'.sIFR-root { }'
		,'.brown { color: #46301e; }'
		,'.light-brown { color: #b2a287; }'
		,'.soul-stone { color: #cac3ac; }'
		,'.soft-stone { color: #7e6e62; }'
		,'.purple { color: #5c335c; }'
		,'.light-purple { color: #70636e; }'
		,'.offset-left-10 { margin-left: 10px; }'
		,'.offset-left-15 { margin-left: 15px; }'
		,'.offset-left-20 { margin-left: 20px; }'
		,'.offset-left-25 { margin-left: 25px; }'
		,'.offset-left-30 { margin-left: 30px; }'
		,'.offset-left-35 { margin-left: 35px; }'
		,'.offset-left-40 { margin-left: 40px; }'
		,'.offset-left-45 { margin-left: 45px; }'
		,'.offset-left-50 { margin-left: 50px; }'
		,'.offset-left-55 { margin-left: 55px; }'
		,'.offset-left-60 { margin-left: 60px; }'
		,'.offset-left-65 { margin-left: 65px; }'
		,'.offset-left-70 { margin-left: 70px; }'
		,'.offset-left-75 { margin-left: 75px; }'
		,'.offset-left-80 { margin-left: 80px; }'
		,'.offset-left-100 { margin-left: 100px; }'
	]
});