var earwax = {
	//check the link here as will cause sifr to fail
	src: '/flash/sifr/earwax.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]
};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
//sIFR.useStyleCheck = true;
sIFR.activate(earwax);

sIFR.replace(earwax, {
	selector: '#article h2'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; font-size:36px; color:#59832f;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

//home cta boxes
sIFR.replace(earwax, {
	selector: '.home-cta1 h2'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; font-size:28px; color:#f84a01;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});
sIFR.replace(earwax, {
	selector: '.home-cta2 h2'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; font-size:28px; color:#b72d31;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});
sIFR.replace(earwax, {
	selector: '.home-cta3 h2'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; font-size:28px; color:#77744d;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});
sIFR.replace(earwax, {
	selector: '.home-cta4 h2'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; font-size:28px; color:#3a2416;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

//sidebars
sIFR.replace(earwax, {
	selector: '#generic-sidebar h3, #home-news h3, #blog-sidebar h3'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; font-size:28px; color:#171843;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});