/*****************************************************************************
It is advised 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 roman = { src: 'flash/roman.swf' };
var medium = { src: 'flash/medium.swf' };

sIFR.activate(roman, medium);

sIFR.replace(roman, {
  selector: 'h1',
  css: [
	'.sIFR-root { background-color: #eff9fe; color: #303030; leading: -3; }',
	'.center { text-align: center; }'
  ],
  ratios: [6, 1.24, 11, 1.21, 19, 1.13, 27, 1.09, 31, 1.07, 32, 1.08, 40, 1.07, 62, 1.06, 109, 1.05, 114, 1.04, 122, 1.05, 1.04]
});

sIFR.replace(medium, {
  selector: 'h2',
  css: '.sIFR-root { background-color: #eff9fe; color: #195070;}',
  ratios: [6, 1.24, 11, 1.21, 19, 1.13, 27, 1.09, 31, 1.07, 32, 1.08, 40, 1.07, 62, 1.06, 109, 1.05, 114, 1.04, 122, 1.05, 1.04]
});

