/*****************************************************************************
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 arial = { 
src: '/flash/arial2.swf'
};
var newroman = { 
src: '/flash/timesnewroman.swf' 
};
//sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(arial, newroman);

// If you want, you can use multiple movies, like so:
//
//    var futura = { src: '/path/to/futura.swf' };
//    var garamond = { src '/path/to/garamond.swf' };
//    var rockwell = { src: '/path/to/rockwell.swf' };
//    
//    sIFR.activate(futura, garamond, rockwell);
//
// Remember, there must be *only one* `sIFR.activate()`!

sIFR.replace(arial, {
  selector: 'h1',
  wmode: 'transparent',
  css: '.sIFR-root { color: #000000; font-weight:bold; letter-spacing:-0.3; leading:-20;}'
});
sIFR.replace(arial, {
  selector: 'h2',
  wmode: 'transparent',
  css: '.sIFR-root { color: #FFFFFF; font-weight:bold; }'
});
sIFR.replace(newroman, {
  selector: 'h3',
  wmode: 'transparent',
  css: '.sIFR-root { color: #000000; font-weight:bold; font-style:italic; }'
});
sIFR.replace(newroman, {
  selector: 'h4',
  wmode: 'transparent',
  css: '.sIFR-root { color: #FFFFFF; font-weight:bold; font-style:italic; }'
});
sIFR.replace(arial, {
  selector: 'h5',
  wmode: 'transparent',
  css: [
         '.sIFR-root { color: #000000; font-weight:bold;}',
         'a { text-decoration: none; }',
         'a:link { color: #000000; }',
         'a:hover { color: #000000; text-decoration: underline; }']
});
sIFR.replace(arial, {
  selector: '#navi li.none',
  wmode: 'transparent',
  css: [ '.sIFR-root a { color: #000000; text-decoration: none;}'
,'.sIFR-root a:hover { color: #000000; text-decoration: none; font-weight:bold;}'
]
});

sIFR.replace(arial, {
  selector: '#navi li.selected',
  wmode: 'transparent',
  css: [ '.sIFR-root a { color: #000000; text-decoration: none; font-weight:bold;}'
,'.sIFR-root a:hover { color: #000000; text-decoration: none; font-weight:bold;}'
]
});