/*****************************************************************************
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.
*****************************************************************************/

// Make an object pointing to the location of the Flash movie on your web server.
var metabook = { src: 'sifr/metabook.swf' };
var metabold = { src: 'sifr/metabold.swf' };
var metabookcaps = { src: 'sifr/metabookcaps.swf' };
var metaboldcaps = { src: 'sifr/metaboldcaps.swf' };

// Configuration settings, see <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>
sIFR.useStyleCheck = false;

// Next, activate sIFR:
sIFR.activate(metabold,metaboldcaps,metabook,metabookcaps);

// Replace, <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.
// CSS Style, <http://wiki.novemberborn.net/sifr3/Styling>.

sIFR.replace(metabook, {
	selector: '#TollFree',
	css: [
		'.sIFR-root { background-color: #d3d3d3; color: #000000; font-size: 18px; text-align: right; }',
		'a { text-decoration: none; color: #000000}'
	]
});

sIFR.replace(metabookcaps, {
	selector: '#Footer h2',
	css: [
		'.sIFR-root { background-color: #d3d3d3; color: #000000; font-size: 16px; }',
		'a { text-decoration: none; color: #000000}'
	]
});

sIFR.replace(metabookcaps, {
	selector: '#Left h2, #Right h2',
	transparent: true,
	css: [
		'.sIFR-root { background-color: #7A8083; color: #000000; font-size: 21px; }',
		'a { text-decoration: none; color: #000000}'
	]
});

sIFR.replace(metaboldcaps, {
	selector: '#Action h2',
	transparent: true,
	css: [
		'.sIFR-root { background-color: #7A8083; color: #ffffff; font-size: 24px; }',
		'a { text-decoration: none; color: #000000}'
	]
});
