/*****************************************************************************
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 helveticaRounded = { src: 'http://www.aware.ie/flash/sifr2.swf' };

sIFR.ua.supported = sIFR.ua.supported && (!sIFR.ua.ie || sIFR.ua.ieVersion > 6);
sIFR.activate(helveticaRounded);

sIFR.replace(helveticaRounded, {
  selector: 'h2.sectionTitle'
  ,wmode: 'transparent'
  ,css: [
        'a{ color: #1d4aae; text-decoration: none;}'
        ,'a:hover { color: #00A2C8; }'
        ,'.sIFR-root {background-color: transparent; color: #333333; font-size:22px; text-align:left; }'
]
});

sIFR.replace(helveticaRounded, {
  selector: 'div.socialPanel h3'
  ,wmode: 'transparent'
  ,css: [
        'a{ color: #1d4aae; text-decoration: none;}'
        ,'a:hover { color: #00A2C8; }'
        ,'.sIFR-root {background-color: transparent; color: #ffffff; font-size:28px; text-align:left; }'
]
});

sIFR.replace(helveticaRounded, {
  selector: 'div.socialPanel h4'
  ,wmode: 'transparent'
  ,css: [
        'a{ color: #1d4aae; text-decoration: none;}'
        ,'a:hover { color: #00A2C8; }'
        ,'.sIFR-root {background-color: transparent; color: #FE3B6D; font-size:20px; text-align:left; }'
]
});

sIFR.replace(helveticaRounded, {
  selector: 'div#subNav h4'
  ,wmode: 'transparent'
  ,css: [
        'a{ color: #1d4aae; text-decoration: none;}'
        ,'a:hover { color: #00A2C8; }'
        ,'.sIFR-root {background-color: transparent; color: #008CC5; font-size:16px; text-align:left; }'
]
});

sIFR.replace(helveticaRounded, {
  selector: 'h1.pageTitle'
  ,wmode: 'transparent'
  ,css: [
        'a{ color: #1d4aae; text-decoration: none;}'
        ,'a:hover { color: #00A2C8; }'
        ,'.sIFR-root {background-color: transparent; color: #008CC5; font-size:28px; text-align:left; }'
]
});
/*
sIFR.replace(georg, {
  selector: '#partnerPanelInner h2',
  css: ['.sIFR-root {background-color: transparent; color: #ffffff; font-style:italic }'],
  wmode:'transparent'
});
*/

