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

sIFR.activate(gill_sans);

/* Home page hot of the press bigger */
sIFR.replace(gill_sans, {
  selector: '#sifr-001',
  tuneHeight : -9,
  transparent: true,
  css: [ '.sIFR-root { text-transform: uppercase; font-size: 23px; background-color: #FFFFFF }' ],
});

/* Home page hot of the press sub smaller */
sIFR.replace(gill_sans, {
  selector: '#sifr-002',
  tuneHeight : -9,
  offsetTop : -2,
  transparent: true,
  css: [ '.sIFR-root { font-size: 20px; background-color: #FFFFFF }' ],
});

/* Footer white paper bigger green */
sIFR.replace(gill_sans, {
  selector: '#sifr-003',
  tuneHeight : -7,
  offsetTop : 0,
  transparent: true,
  css: [ '.sIFR-root { color: #7ECA52; background-color: #0B0F3D; text-transform: uppercase; letter-spacing:1; white-space: nowrap; }' ],
});

/* Footer white paper smaller white*/
sIFR.replace(gill_sans, {
  selector: '#sifr-004',
  tuneHeight : -5,
  offsetTop : 0,
  transparent: true,
  css: [ '.sIFR-root { color: #FFFFFF; background-color: #0D0033; text-transform: uppercase; letter-spacing: 6.6; }' ],
});

/* Company - awards, Clients - testimonials header */
sIFR.replace(gill_sans, {
  selector: '#sifr-005',
  tuneHeight : -10,
  transparent: true,
  css: [ '.sIFR-root { color: #197079; text-align: center; font-size: 24px; background-color: #FFFFFF }' ],
});

/* Widget titles (all) */
sIFR.replace(gill_sans, {
  selector: 'div.col-right h2',
  tuneHeight : -8,
  offsetTop : -2,
  transparent: true,
  css: [ '.sIFR-root { color: #323b5a; text-align: center; font-size: 16px; background-color: #FFFFFF }' ],
});

/* Employee page name & position */
sIFR.replace(gill_sans, {
  selector: '#sifr-006',
  tuneHeight : 0,
  offsetTop : 0,
  transparent: true,
  css: [ '.sIFR-root { color: #197079; font-size: 23px; background-color: #FFFFFF }' ],
});

/* Contact page We’ve got the Answers */
sIFR.replace(gill_sans, {
  selector: 'div.contact div.col-left h1',
  tuneHeight : -5,
  offsetTop : -2,
  transparent: false,
  css: [ '.sIFR-root { color: #197079; font-size: 23px; background-color: #FFFFFF }' ],
});

