/*****************************************************************************
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.
*****************************************************************************/

// Use sIFR for <html dir="ltr"> *ONLY*.
$direction = $('html').first().attr('dir');

// Make an object pointing to the location of each Flash movie.
var eurostile = { src: '/ltr/sifr/eurostile-bla.swf' };
var arial = { src: '/ltr/sifr/arial.swf' };

// Activate sIFR
if($direction === 'ltr') sIFR.activate(eurostile,arial);
// There must be *only one* sIFR.activate()! Use comma-separated for multiples.

// Set the replacements. You can do as many as you like.
var refreshSIFR = function(){
      sIFR.replace(eurostile,{
            selector:'h2.sIFR-Me',
            css:'.sIFR-root { color: #6D6F72; leading: -5; text-transform: uppercase }',
            wmode:'transparent'
      });
}

// Call sIFR on the page
if($direction === 'ltr') refreshSIFR();

