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

sIFR.activate(garamond, savoy);

sIFR.replace(garamond, {
  selector: 'h1.page',
  css: '.sIFR-root { font-size: 55px; background-color: #464f27; color: #aab780; height: 61px; }',
  wmode: 'transparent'
});
sIFR.replace(garamond, {
  selector: 'h2.phrase',
  css: '.sIFR-root { font-size: 24px; background-color: #464f27; color: #aab780; text-align: right; height: 30px; }',
  wmode: 'transparent'
});
sIFR.replace(savoy, {
  selector: 'h2.detail',
  css: '.sIFR-root { font-size: 32px; background-color: #464f27; color: #aab780;  text-align: right; height: 45px;}',
  wmode: 'transparent'
});
sIFR.replace(garamond, {
  selector: 'h3.nav',
  css: '.sIFR-root { font-size: 22px; background-color: #FFFFFF; color: #4d2e19; height: 28px; }',
  wmode: 'transparent'
});


