/*****************************************************************************
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 fontin = {
      src: 'flash/fontin.swf'
    };

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(fontin);

    sIFR.replace(fontin, {
      selector: '#mainNav li'
      ,css: [
        '.sIFR-root { text-align: left; margin-top: 5px; font-size: 14px; text-transform: uppercase;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #c5b89d; }'
        ,'a:hover { color: #835f11; text-decoration: none; }'
      ]
	  ,wmode: 'transparent'
	  ,filters: {
        DropShadow: {
          knockout: false
          ,distance: .5
          ,color: '#000000'
          ,strength: .2
        }
      }
    });
	
      sIFR.replace(fontin, {
      selector: '#sub_left p'
	  ,css: [ '.sIFR-root {color: #aab69b;}' ]
		,selectable: true
		,wmode: 'transparent'
    });
	      sIFR.replace(fontin, {
      selector: '#sub_right h1'
	  ,css: [ '.sIFR-root {color: #ffffff; margin: 0; padding: 0; float: left;}' ]
		,selectable: true
		,wmode: 'transparent'
		,forceWidth: true 
		,fitExactly: true
		,forceSingleLine: true
    });
	      sIFR.replace(fontin, {
      selector: '#sub_right h2'
	  ,css: [ '.sIFR-root {color: #ffffff;}' ]
		,selectable: true
		,wmode: 'transparent'
    });