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

// NOTE: This path may need to change based on context.
var frutiger_medium = { src: '/productsafety/_flash/frutiger_next_pro/medium.swf' };
var frutiger_heavy = { src: '/productsafety/_flash/frutiger_next_pro/heavy.swf' };

// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(frutiger_medium, frutiger_heavy);


/* HEADERS *************************************/
sIFR.replace(frutiger_heavy, {
	selector: '.home-header',
	css: '.sIFR-root { color: #7FA2D6; leading: 0; }',
	wmode: 'transparent'
});

sIFR.replace(frutiger_medium, {
	selector: '.tagline',
	css: '.sIFR-root { leading: 2; }',
	wmode: 'transparent'
});

sIFR.replace(frutiger_medium, {
	selector: '.page-header',
	css: '.sIFR-root { color: #0046AC; leading: 0; }',
	wmode: 'transparent'
});
