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

// sIFR.useStyleCheck = true;

sIFR.activate(avenir);




sIFR.replace(avenir, {
      selector: 'h1, h2'
    , wmode: 'transparent' 
    ,css: [
        '.sIFR-root { color: #474747; }',
        'a {color: #048064; text-decoration: none;}',
        'a:hover {color: #048064; text-decoration: underline;}'
      ]
});



sIFR.replace(avenir, {
      selector: 'h3.green'
    , wmode: 'transparent' 
    ,css: [
        '.sIFR-root { color: #048064; }',
        'a {color: #048064; text-decoration: none;}',
        'a:hover {color: #048064; text-decoration: underline;}'
      ]
});



sIFR.replace(avenir, {
      selector: 'h3.red'
    , wmode: 'transparent' 
    ,css: [
        '.sIFR-root { color: #ff0000; }',
        'a {color: #048064; text-decoration: none;}',
        'a:hover {color: #048064; text-decoration: underline;}'
      ]
});



sIFR.replace(avenir, {
      selector: '#header, #headerWhatsNew'
    , wmode: 'transparent' 
    ,css: [
        '.sIFR-root { color: #ffffff; text-align: center; }',
        'a {color: #ffffff; text-decoration: none;}',
        'a:hover {color: #fdf4b8; text-decoration: none;}'
      ]
});

