/*****************************************************************************
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 minion = { src: '/images/font-minion.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(minion);

function replaceFonts() {
	sIFR.useStyleCheck = true;
	
	sIFR.replace(minion, {
	  selector: '.sifrHeader'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #000000; letter-spacing:.5; }'
	});
	sIFR.replace(minion, {
	  selector: '.sifrPageHdr'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #000000; }'
	});
	sIFR.replace(minion, {
	  selector: '.sifrBioTitle'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #000000; }'
	});
	sIFR.replace(minion, {
	  selector: '.sifrQuote'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #FFFFFF; leading:10; }'
	  ,filters: {
        DropShadow: {
           distance: 1
          ,color: '#333333'
          ,strength: 2
          ,alpha: .5
		  ,blurX: 0
		  ,blurY: 0
        }
      }
	});
	sIFR.replace(minion, {
	  selector: '.sifrQuoteAttribute'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #FFFFFF; }'
	  ,filters: {
        DropShadow: {
           distance: 1
          ,color: '#333333'
          ,strength: 2
          ,alpha: .5
		  ,blurX: 0
		  ,blurY: 0
        }
      }
	});
	sIFR.replace(minion, {
	  selector: '.sifrSubhead'
	  ,wmode: 'transparent'
	  ,css: '.sIFR-root { color: #000000; }'
	});
}

replaceFonts();
//]]>
