/*****************************************************************************
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 tradegothic = { src: '/flash/tradegothicboldcondensed.swf' };
//var tradegothic = { src: '/flash/tradegothiccondensedbold.swf' };
var agaramond = { src: '/flash/agaramond.swf' };


sIFR.activate(tradegothic, agaramond);

sIFR.replace(agaramond, {
  selector: '.donation .header h1, .order .header h1, .giftshop .header h1',
  css: '.sIFR-root { font-size: 40px; color: #595e85; text-align: center; }',
  wmode: 'transparent'
});
sIFR.replace(agaramond, {
  selector: '.careers .header h1, .doctorResults .header h1, .contact .header h1',
  css: '.sIFR-root { font-size: 40px; color: #7d4320; text-align: center; }',
  wmode: 'transparent'
});
sIFR.replace(agaramond, {
  selector: '.header h1',
  css: '.sIFR-root { font-size: 40px; color: #7d4320; }',
  wmode: 'transparent'
});

sIFR.replace(tradegothic, {
  selector: '.mainCol h1',
  css: '.sIFR-root { font-size: 22px; color: #7d4320; text-transform: uppercase; }',
  wmode: 'transparent'
});

sIFR.replace(tradegothic, {
  selector: '.description h1',
  css: '.sIFR-root { font-size: 22px; color: #7d4320; text-transform: uppercase; text-align: center; }',
  wmode: 'transparent'
});

sIFR.replace(tradegothic, {
  selector: '.rightCol h2, .description h2',
  css: '.sIFR-root { font-size: 17px; color: #6b784e; text-transform: uppercase; text-align: center; }',
  wmode: 'transparent'
});
sIFR.replace(tradegothic, {
  selector: '.callout .title',
  css: '.sIFR-root { font-size: 17px; color: #ffffff; text-transform: uppercase; text-align: center; }',
  wmode: 'transparent'
});
sIFR.replace(tradegothic, {
  selector: '#serviceSlider h2',
  css: '.sIFR-root { font-size: 22px; color: #733d1d;}',
  wmode: 'transparent'
});
sIFR.replace(tradegothic, {
  selector: '.mainCol h2',
  css: '.sIFR-root { font-size: 17px; color: #6b784e;}',
  wmode: 'transparent'
});
