/*****************************************************************************
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 tradegothic = {
	src: '/swf/trade.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(tradegothic);

sIFR.replace(tradegothic, {
	selector: 'h2.entry-title'
	,css: {
		'.sIFR-root': { 'color': '#cdd903', 'text-transform': 'uppercase', 'letter-spacing': '-1' }
	},
	wmode: 'transparent'
});

sIFR.replace(tradegothic, {
		selector: 'h2.large-title'
		,css: {
			'.sIFR-root': { 'color': '#cdd903', 'text-transform': 'uppercase', 'letter-spacing': '-1' }
		},
	wmode: 'transparent'
});

sIFR.replace(tradegothic, {
		selector: 'h3.sub-title'
		,css: {
			'.sIFR-root': { 'color': '#4A5005', 'text-transform': 'uppercase', 'letter-spacing': '-1' }
		},
	wmode: 'transparent'
});

sIFR.replace(tradegothic, {
		selector: 'h3.event-title'
		,css: {
			'.sIFR-root': { 'color': '#666708'}
		},
	wmode: 'transparent'
});

sIFR.replace(tradegothic, {
		selector: 'h3.side-blob'
		,css: {
			'.sIFR-root': { 'color': '#ffffff', 'text-transform': 'uppercase', 'letter-spacing': '-1' }
		},
	wmode: 'transparent'
});

sIFR.replace(tradegothic, {
		selector: 'h3.sidebar'
		,css: {
			'.sIFR-root': { 'color': '#4e4f00', 'text-transform': 'uppercase' }
		},
	wmode: 'transparent'
});

sIFR.replace(tradegothic, {
		selector: 'h3.module-notes'
		,css: {
			'.sIFR-root': { 'color': '#4e4f00', 'text-transform': 'uppercase' }
		},
	wmode: 'transparent'
});

sIFR.replace (tradegothic, {
		selector: 'h3.entry-title'
		,css: {
			'.sIFR-root': {'color': '#cdd903', 'text-transform': 'uppercase'},
			'a': {'text-decoration': 'none'},
			'a:link': {'color': '#cdd903'},
			'a:hover': {'color': '#cdd903', 'text-decoration': 'underline'}
		},
		wmode: 'transparent',
		fixFocus: true
});

sIFR.replace (tradegothic, {
		selector: 'h3.alert-title'
		,css: {
			'.sIFR-root': {'color': '#F5A445', 'text-transform': 'uppercase'},
			'a': {'text-decoration': 'none'},
			'a:link': {'color': '#F5A445'},
			'a:hover': {'color': '#F5A445', 'text-decoration': 'underline'}
		},
		wmode: 'transparent',
		fixFocus: true
});

sIFR.replace(tradegothic, {
		selector: '.index-tools-title'
		,css: {
			'.sIFR-root': { 'color': '#4A5005'}
		},
	wmode: 'transparent'
});
