/*****************************************************************************
The sIFR configuration should typically go in `sifr-config.js`, but in order to
keep the config file clean, and to give a quick overview, it's done here instead.
*****************************************************************************/

var mgopencosmetic = {
	src: 'flash/mgopencosmetic.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]*/
};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
//sIFR.useStyleCheck = true;
sIFR.activate(mgopencosmetic);


sIFR.replace(mgopencosmetic,{
	selector: 'h1.LTSSsection',
	css: [
		'.sIFR-root { text-align: left; letter-spacing:-2; font-weight:normal; font-size:28px; color:#3A587A; }',
		'strong{ color:#676767; font-weight:normal; background-color: #f1f1f1;}'
	],
	wmode: 'transparent'
});

sIFR.replace(mgopencosmetic,{
	selector: 'h1.TakeTheTest',
	css: [
		'.sIFR-root { text-align: center; letter-spacing:-2; font-weight:normal; font-size:30px; color:#3A587A; }'
	],
	wmode: 'transparent'
});

sIFR.replace(mgopencosmetic,{
	selector: 'h1',
	css: [
		'.sIFR-root { text-align: left; letter-spacing:-2; font-weight:normal; font-size:28px; color:#3A587A; }',
		'strong{ color:#676767; font-weight:normal; }'
	]
});


sIFR.replace(mgopencosmetic,{
	selector: 'h2.GreyHeading',
	css: ['.sIFR-root { text-align: left; font-size:26px; font-weight:normal; color:#676767; }']
});

sIFR.replace(mgopencosmetic,{
	selector: 'h2.SmallGrey',
	css: ['.sIFR-root { text-align: left; font-size:16px; font-weight:normal; color:#676767; letter-spacing:-0.7; }']
});

sIFR.replace(mgopencosmetic,{
	selector: 'h2.Smaller',
	css: [
		'.sIFR-root { text-align:center; font-size:20px; color:#3A587A; }'
	]
});

sIFR.replace(mgopencosmetic,{
	selector: 'h2',
	css: [
		'.sIFR-root { text-align: left; font-size:24px; color:#3A587A; }',
		'strong{ color:#3A587A; font-weight:normal; text-align:center; }'
	]
});

sIFR.replace(mgopencosmetic,{
	selector: 'h3.GreyHeading',
	css: [
		'.sIFR-root { text-align: left; font-size:18px; color:#676767; }'
	]
});

sIFR.replace(mgopencosmetic,{
	selector: 'h3.BlueText',
	css: [
		'.sIFR-root { text-align: left; font-size:15px; color:#3A587A; letter-spacing:-0.4; }'
	]
});

sIFR.replace(mgopencosmetic,{
	selector: 'h3',
	css: [
		'.sIFR-root { margin-top:10px; text-align: left; font-size:18px; color:#007C3C; }',
		'strong{ display:block; margin:10px 0px 0px 0px; color:#444444; font-weight:normal; }'
	]
});

sIFR.replace(mgopencosmetic,{
	selector: 'h4#CenterText',
	css: [
		'.sIFR-root { color:#3A587A; font-weight:normal; text-align:center; font-size:16px; }',
	]
});

sIFR.replace(mgopencosmetic,{
	selector: 'h4',
	css: [
		'.sIFR-root { text-align: left; font-size:16px; color:#007C3C; }',
		'strong{ color:#333333; font-weight:normal; }'
	]
});

sIFR.replace(mgopencosmetic,{
	selector: 'h5',
	css: [
		'.sIFR-root { text-align: left; font:normal 15px arial; color:#007C3C; }',
		'strong{ color:#333333; font-weight:normal; }'
	]
});