/*****************************************************************************
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.
*****************************************************************************/
sIFR.fromLocal = true;
var hypatia_semibold = { src: '/flash/hypatia_semibold.swf' };
var hypatia_bold = { src: '/flash/hypatia_bold.swf' };

sIFR.useStyleCheck = true;
sIFR.activate(hypatia_semibold,hypatia_bold);

//sIFR.debug.ratios({ src: '/flash/hypatia_semibold.swf', selector: '.section_content h3' });
sIFR.replace(hypatia_semibold, {
  selector: '.section_content h3',
  transparent: true,
  css: '.sIFR-root { color: #263978;}, a:link{color: #263978; text-decoration: none;} a:hover{color: #263978; text-decoration: underline;}',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 31, 1.04, 32, 1.05, 49, 1.03, 74, 1.02, 79, 1.01, 80, 1.02, 95, 1.01, 96, 1.02, 1.01]
});

//sIFR.debug.ratios({ src: '/flash/hypatia_bold.swf', selector: '#primary_content h2' });
sIFR.replace(hypatia_bold, {
  selector: '#primary_content h2',
  transparent: true,
  css: '.sIFR-root { color: #000000; text-align: right; }',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 31, 1.04, 32, 1.05, 49, 1.03, 74, 1.02, 79, 1.01, 80, 1.02, 95, 1.01, 96, 1.02, 1.01]
});

//sIFR.debug.ratios({ src: '/flash/hypatia_bold.swf', selector: '#secondary_content .section_information h2' });
sIFR.replace(hypatia_bold, {
  selector: '#secondary_content .section_information h2',
  transparent: true,
  css: '.sIFR-root { color: #ffffff; text-align: right; }',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 31, 1.04, 32, 1.05, 49, 1.03, 74, 1.02, 79, 1.01, 80, 1.02, 95, 1.01, 96, 1.02, 1.01]
});

//sIFR.debug.ratios({ src: '/flash/hypatia_semibold.swf', selector: 'fieldset legend' });
sIFR.replace(hypatia_semibold, {
  selector: 'fieldset legend',
  transparent: true,
  css: '.sIFR-root { color: #ffffff; }',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 31, 1.04, 32, 1.05, 49, 1.03, 74, 1.02, 79, 1.01, 80, 1.02, 95, 1.01, 96, 1.02, 1.01]
});

//sIFR.debug.ratios({ src: '/flash/hypatia_bold.swf', selector: '#errorExplanation h2' });
sIFR.replace(hypatia_bold, {
  selector: '#errorExplanation h2',
  transparent: true,
  css: '.sIFR-root { color: #ff9900; }',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 31, 1.04, 32, 1.05, 49, 1.03, 74, 1.02, 79, 1.01, 80, 1.02, 95, 1.01, 96, 1.02, 1.01]
});