/*****************************************************************************
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 rockwell = { src: '/gfx/rockwell.swf' };
var myriad = { src: '/gfx/myriad.swf' };

// Remember, there must be *only one* `sIFR.activate()`!
sIFR.activate(rockwell, myriad);

// selector, css and wmode are not the only available properties.
// For the full list, see "Keyword arguments" at
// <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.
// Read more about styling at <http://wiki.novemberborn.net/sifr3/Styling>.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
sIFR.replace(myriad, {
   selector: 'h1',
   css: [
      '.sIFR-root { color: #a6033c; }',
      '.sIFR-root a { color:#a6033c; text-decoration:none; } ',
      '.sIFR-root a:hover { text-decoration:underline; } '
   ],
   wmode:'transparent'
});
sIFR.replace(rockwell, {
   selector: '.ac_itemdate',
   css: [
      '.sIFR-root { color: #ffffff; }'
   ],
   wmode:'transparent'
});
sIFR.replace(myriad, {
   selector: '.sifr_link',
   css: [
      '.sIFR-root { color: #D54317;font-size:16px; position:relative;}',
      '.sIFR-root a { color:#3a3a3a; text-decoration:none; } ',
      '.sIFR-root a:hover { color:#a6033c; } ',
      '.sIFR-root .active { color:#a6033c; } '
   ],
   wmode:'transparent'
});

