/*****************************************************************************
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 font_serif = { src: '/wp-content/themes/kajaM/js/sifr-serif.swf' };
var font_sans = { src: '/wp-content/themes/kajaM/js/sifr-sans.swf' };


// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(font_sans, font_serif);

sIFR.replace(font_serif, {
  selector: '#content .cat-header, #content .subcat-header', 
  wmode: 'transparent',
  css: [
        '.sIFR-root { color: #aec330; leading: -50; }',
        'a { color: #aec330; text-decoration: none; }',
        'a:hover { color: #aec330; }'
      ]
});


sIFR.replace(font_sans, {
  selector: '#nav ul li.current-cat, #nav ul li.current_page_item', 
  wmode: 'transparent',
  css: [
        '.sIFR-root { color: #aec330; }',
        'a { color: #aec330; text-decoration: none; }',
        'a:hover { color: #aec330; }'
      ]
});

sIFR.replace(font_sans, {
  selector: '#nav ul li.cat-item, #nav ul li.page_item',
  wmode: 'transparent',
  css: [
        '.sIFR-root { color: #929292; }',
        'a { color: #929292; text-decoration: none; }',
        'a:hover { color: #aec330; }'
      ]
});



