/*****************************************************************************
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: '/en/_flash/frutiger_next_pro/medium.swf' };
var frutiger_heavy = { src: '/en/_flash/frutiger_next_pro/heavy.swf' };
var frutiger_bold = { src: '/en/_flash/frutiger_next_pro/bold.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, frutiger_bold);


/* HOMEPAGE *******************************************/
sIFR.replace(frutiger_medium, {
	selector: 'h1 span',
	css: '.sIFR-root { color: #ffffff; leading: 3;}',
	wmode: 'transparent'
});

sIFR.replace(frutiger_bold, {
	selector: '.pages-in-this-section li',
	css: '.sIFR-root { color: #0046AC; leading: 3;} .sIFR-root a { color: #0046AC; text-decoration: none; } .sIFR-root a:hover { color: #333333; text-decoration: none; }',
	wmode: 'transparent'
});

sIFR.replace(frutiger_bold, {
	selector: '.home #content h3',
	css: '.sIFR-root { color: #0046AC; leading: 3; }',
	wmode: 'transparent'
});
sIFR.replace(frutiger_heavy, {
	selector: '.home #content .leftcol_ h4',
	css: '.sIFR-root { color: #444444; leading: 3; }',
	wmode: 'transparent'
});
sIFR.replace(frutiger_bold, {
	selector: '.landing h3',
	css: '.sIFR-root { color: #444444; leading: 3; }',
	wmode: 'transparent'
});
sIFR.replace(frutiger_bold, {
	selector: '.rightcol_ .boxed h4',
	css: '.sIFR-root { color: #444444; leading: 3; }',
	wmode: 'transparent'
});
sIFR.replace(frutiger_bold, {
	selector: '.article .leftcol_ h2',
	css: '.sIFR-root { color: #444444; leading: 3; }',
	wmode: 'transparent'
});
sIFR.replace(frutiger_bold, {
	selector: '.contact .leftcol_ h3',
	css: '.sIFR-root { color: #444444; leading: 3; }',
	wmode: 'transparent'
});
/*
sIFR.replace(frutiger_bold, {
	selector: '.landing .pages-in-this-section ',
	css: {'.sIFR-root':{'color': '#0046AC', 'leading': '3', 'cursor':'pointer'}},
	wmode: 'transparent'
});
*/
