/*****************************************************************************
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 calibri = { src: '/wp-content/themes/RIL/calibri.swf' };

    // You probably want to switch this on, but read http://wiki.novemberborn.net/sifr3/DetectingCSSLoad first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(calibri);

    sIFR.replace(calibri, {
      selector: 'h1'
      ,css: [
        '.sIFR-root { text-align:left; font-weight:normal; leading:-8; }'
        ,'.highlight { color: #ff6600; font-weight:bold; }'
      ],
      wmode: 'transparent'
    });

    sIFR.replace(calibri, {
      selector: 'h2'
      ,css: [
        '.sIFR-root { text-align:left; font-weight:normal; leading:-5; }'
        ,'a { color: #333333; text-decoration:none; }'
        ,'a:hover { color: #666666; text-decoration:underline; }'
      ],
      wmode: 'transparent'
    });

    sIFR.replace(calibri, {
      selector: 'h3'
      ,css: [
        '.sIFR-root { text-align:left; font-weight:bold; leading:-3; }'
        ,'a { color:#44626A; text-decoration:none; }'
        ,'a:hover { color: #4B7B89; text-decoration:underline; }'
      ],
      wmode: 'transparent'
    });

    sIFR.replace(calibri, {
      selector: '.blog_pullquote'
      ,css: [
        '.sIFR-root { text-align:left; font-weight:bold; leading:2; color: #ffffff; }'
      ],
      wmode: 'transparent'
    });


