/*****************************************************************************
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 helvetica = { src: sIFRPath + '/helveticaext.swf' };
sIFR.activate(helvetica);

sIFR.replace(helvetica, {
	selector: '.title h1, .title h2',
	css: {
	  	'.sIFR-root': { 'background-color': '#000000', 'color': '#FFFFFF', 'font-weight': 'bold', 'text-transform': 'uppercase' },
	  	'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#FFFFFF' },
		'a:hover': { 'color': '#FFFFFF', 'text-decoration': 'underline' }
		},
	fitExactly: true,
	wmode: "transparent"
	
});

sIFR.replace(helvetica, {
	selector: '.title .commentlink',
	css: {
	  	'.sIFR-root': { 'background-color': '#000000', 'color': '#FFFFFF', 'font-weight': 'bold', 'text-align': 'center', 'text-transform': 'uppercase' },
	  	'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#FFFFFF' },
		'a:hover': { 'color': '#FFFFFF', 'text-decoration': 'underline' }
		},
	fitExactly: true,
	wmode: "transparent"
	
});

sIFR.replace(helvetica, {
	selector: '.timestamp .month, .timestamp .day',
	css: {
		'.sIFR-root': { 'background-color': '#e6e6e6', 'color': '#666666', 'font-weight': 'bold', 'text-align': 'center', 'text-transform': 'uppercase' },
		'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#666666' },
		'a:hover': { 'color': '#142b3d' }
		},
	fitExactly: true
	
});

sIFR.replace(helvetica, {
	selector: '#sidebar h2',
	css: {
		'.sIFR-root': { 'color': '#000000', 'font-weight': 'bold', 'text-transform': 'uppercase' },
		'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#000000' },
		'a:hover': { 'color': '#000000', 'text-decoration': 'underline' }
		},
	wmode: "transparent",
	fitExactly: true
	
});

sIFR.replace(helvetica, {
	selector: 'h1, h3, h5, h6',
	css: {
		'.sIFR-root': { 'background-color': '#e6e6e6', 'color': '#505050', 'font-weight': 'bold', 'text-align': 'center', 'text-transform': 'uppercase' },
		'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#142b3d' },
		'a:hover': { 'color': '#245d8a' }
		},
	fitExactly: true
	
});
