/*****************************************************************************
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 helv = { src: '/assets/swf/fonts/sifr-helv-bd-cnd.swf' };

// Now you can set some configuration settings.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

function replaceFonts() {
	sIFR.preserveSingleWhitespace = true;
	sIFR.activate(helv);
	sIFR.replace(helv, {
	  selector: 'h1.pageHeader'
	  ,wmode: 'transparent'
	  ,css: [ '.sIFR-root { color: #F7B92F; }, a { color:#FFFFFF; text-decoration:none; }, a:hover { text-decoration:underline }' ]
	});
	sIFR.replace(helv, {
	  selector: 'h1.productNameHeader'
	  ,wmode: 'transparent'
	  ,css: [ '.sIFR-root { color: #FFFFFF; }' ]
	});
	sIFR.replace(helv, {
	  selector: 'h1.productNameHeaderBlack'
	  ,wmode: 'transparent'
	  ,css: [ '.sIFR-root { color: #000000; }' ]
	});
	sIFR.replace(helv, {
	  selector: 'h3.listingItem'
	  ,wmode: 'transparent'
	  ,css: [ '.sIFR-root { color: #FFFFFF; }, a { color:#FFFFFF; text-decoration:none; }, a:hover { color:#F7BC32; text-decoration:underline }' ]
	});
	sIFR.replace(helv, {
	  selector: 'h3.listingItemDk'
	  ,wmode: 'transparent'
	  ,css: [ '.sIFR-root { color: #999999; }, a { color:#666666; text-decoration:none; }, a:hover { color:#F7BC32; text-decoration:underline }' ]
	});
	sIFR.replace(helv, {
	  selector: 'h3.sideHeader'
	  ,wmode: 'transparent'
	  ,css: [ '.sIFR-root { color: #000000; }' ]
	});
	sIFR.replace(helv, {
	  selector: 'h3.sectionTiteBlack'
	  ,wmode: 'transparent'
	  ,css: [ '.sIFR-root { color: #FFFFFF; }' ]
	});
	sIFR.replace(helv, {
	  selector: 'p#cntFooterNav'
	  ,wmode: 'transparent'
	  ,css: [ '.sIFR-root { color: #FFFFFF; }, a { color:#FFFFFF; text-decoration:none; }, a:hover { color:#F7BC32; text-decoration:underline }' ]
	});
}

replaceFonts();
//]]>