/*****************************************************************************
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 gothammedium = { src: '/resources/scripts/sifr/gotham-medium.swf' };
var gothambold = { src: '/resources/scripts/sifr/gotham-bold.swf' };
var gothamblack = { src: '/resources/scripts/sifr/gotham-black.swf' };

// Remember, there must be *only one* `sIFR.activate()`!
sIFR.activate(gothammedium, gothambold, gothamblack);

// Replacements
sIFR.replace(gothammedium, {
		selector: 'h1',
		css: [
			'.sIFR-root { color:#ffffff; text-transform:uppercase; }',
			'a { color:#ffffff; text-decoration:none; } ',
			'a:hover { color:#ffffff; text-decoration:none; } '
		],
		wmode: 'transparent'
});

sIFR.replace(gothammedium, {
		selector: '#header .byline',
		css: [
			'.sIFR-root { color:#c2bfc0; text-transform:uppercase; background-color:#534b4d; }'
		]
});

sIFR.replace(gothammedium, {
		selector: 'h2.page-title',
		css: [
			'.sIFR-root { color:#534b4d; text-transform:uppercase; }'
		]
});

sIFR.replace(gothammedium, {
		selector: '#login-form h2, #search-box h2',
		css: [
			'.sIFR-root { color:#ffffff; text-transform:uppercase; }'
		],
		wmode: 'transparent'
});

