/*****************************************************************************
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 newsGothic = { src: '/flash/newsGothic.swf' };

sIFR.activate(newsGothic);

// Homepage sIFR styles
sIFR.replace(newsGothic, {
  selector: '#homepage .homeFeatured h2'
  ,css: '.sIFR-root { color:#ffffff;  }'
  ,wmode: 'transparent'
  ,offsetTop: -3
  ,tuneHeight: -9
});
sIFR.replace(newsGothic, {
  selector: '#homepage h2'
  ,css: '.sIFR-root { color:#169c9f;  }'
  ,wmode: 'transparent'
  ,offsetTop: -3
  ,tuneHeight: -9
});

// Lower page sIFR styles
sIFR.replace(newsGothic, {
  selector: '#title h1'
  ,css: '.sIFR-root { color:#ffffff;  }'
  ,wmode: 'transparent'
  ,offsetTop: -7
  ,tuneHeight: -12
});

sIFR.replace(newsGothic, {
  selector: '.content h2'
  ,css: '.sIFR-root { color:#51adaf;  }'
  ,wmode: 'transparent'
  ,offsetTop: -3
  ,tuneHeight: -8
});

sIFR.replace(newsGothic, {
  selector: '#subContent h4'
  ,css: '.sIFR-root { color:#636363;  }'
  ,wmode: 'transparent'
  ,offsetTop: -3
  ,tuneHeight: -9
});

