/*****************************************************************************
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.
*****************************************************************************/

// Make an object pointing to the location of the Flash movie on your web server.
// Try using the font name as the variable name, makes it easy to remember which
// object you're using. As an example in this file, we'll use Futura.
var helv45Lt = { src: rootFolder + '/js/flashText/HelveticaNeue-45Lt.swf' };
//var helvBold = { src: rootFolder + '/js/flashText/HelveticaNeue-Bold.swf' };
var helvBold = { src: rootFolder + '/js/flashText/HelveticaNeue-65Md.swf' };


sIFR.activate(helv45Lt,helvBold);

sIFR.replace(helv45Lt, {
  selector: 'h1.mainHeading',
  css: ['.sIFR-root {color: #3c3c3c; font-size: 20px; leading: 3; padding-bottom: 15px; margin: 0;}'],
  transparent: true,
  sharpness: -50,
  thickness: -100
});

sIFR.replace(helvBold, {
  selector: 'h1.pageTitle',
  css: ['.sIFR-root {color: #000000; font-size: 13px; leading: 3; margin: 0; font-weight: bold; text-transform: uppercase;}'],
  transparent: true,
  sharpness: -50,
  thickness: -100
});

sIFR.replace(helvBold, {
  selector: 'h2.subHeading',
  css: ['.sIFR-root {color: #000000; font-size: 18px; leading: 3; font-weight: bold;}'],
  transparent: true,
  sharpness: -50,
  thickness: -100
});

sIFR.replace(helvBold, {
  selector: 'h2.whiteBoldHeading',
  css: ['.sIFR-root {color: #FFFFFF; font-size: 11px; leading:0; font-weight: bold; text-transform: uppercase;}'],
  transparent: true,
  sharpness: -50,
  thickness: -100
});



sIFR.replace(helvBold, {
  selector: 'div.optionSelect',
  css: ['.sIFR-root {color: #000000; font-size: 13px; font-weight: bold; margin: 0; padding: 0;}'],
  transparent: true,
  sharpness: -50,
  thickness: -100
});


