/*****************************************************************************
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 bosch = { src: '/assets/swf/font-bosch.swf' };
var boschB = { src: '/assets/swf/font-bosch-bold.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>.

sIFR.useStyleCheck = true;
sIFR.activate(bosch);
sIFR.activate(boschB);

function replaceFonts() {
	sIFR.useStyleCheck = true;
	
	sIFR.replace(bosch, {
	  selector: 'h1.sifrHeader'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #FFFFFF; }'
	  ,filters: {
		DropShadow: {
		hideObject:false
		,knockout: false
		,quality: 3
		,distance: 1
		,color: '#333333'
		,strength: 2
		,blurX:0
		,blurY:0
		,alpha:.5
	}}
	});
	
	sIFR.replace(bosch, {
	  selector: 'h1.sifrBlackHeader'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #333333; }'
	});
	
	sIFR.replace(bosch, {
	  selector: 'h2.sifrSubHead'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #BEBEBE; }'
	});
	
	sIFR.replace(bosch, {
	  selector: 'h2.sifrNotchedTitle'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #000000; }'
	});
	
	sIFR.replace(boschB, {
	  selector: 'h2.sifrJoeKnows'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #6D6F72; }'
	});
}

replaceFonts();
//]]>
