/*****************************************************************************
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 myriadpro = { src: '/includes/swf/myriadpro.swf' };

sIFR.activate(myriadpro);

sIFR.replace(myriadpro, {
  selector: 'h1',
  fitExactly: true,
  css: '.sIFR-root { color: #006239; font-size: 42px; }',
  wmode: 'transparent',
  forceWidth: true, fitExactly: true, forceSingleLine: true
});

sIFR.replace(myriadpro, {
  selector: 'h2, h3, h4',
  css: '.sIFR-root { color: #006239; font-size: 26px; }',
  wmode: 'transparent',
  forceWidth: true, fitExactly: true, forceSingleLine: true
});

