/*****************************************************************************
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 meta_normal = { src: themeDirectory + 'flash/meta_normal.swf' };
var meta_medium = { src: themeDirectory + 'flash/meta_medium.swf' };

sIFR.activate(meta_normal, meta_medium);

sIFR.replace(meta_medium, {
  selector: '.tout h2',
  css: '.sIFR-root { color: #3c3c3a; letter-spacing: -1; text-align: center; leading:-10; }',
  wmode: 'transparent'
});

sIFR.replace(meta_medium, {
  selector: 'h2',
  css: '.sIFR-root { color: #3c3c3a; letter-spacing: -1; }',
  wmode: 'transparent'
});

/*
sIFR.replace(meta_normal, {
  selector: '.hero_content p',
  css: '.sIFR-root { color: #c8c8c8; }',
  wmode: 'transparent'
  });
  */
sIFR.replace(meta_normal, {
  selector: '.hero_content h1',
  css: '.sIFR-root { color: #ffffff; text-align: left; text-decoration: none; }',
  wmode: 'transparent',
  filters: {
        DropShadow: {
           distance: 0
          ,color: '#000000'
          ,strength: 2
          ,alpha: .5
        }
      }

  }); 
