// Presumes global.css is the first <link> in the page

var rootpath = document.getElementsByTagName('link')[0].getAttribute('href').replace(/css\/global\.css/i,'');

var blissmedium = {
  src: rootpath + 'flash/blissmedium.swf'
};
var blisslight = {
  src: rootpath + 'flash/blisslight.swf'
};

sIFR.activate(blissmedium,blisslight);

sIFR.replace(blisslight, {
    selector: '.green h1'
  , css: [
  '.sIFR-root {color: #487205;}'
  ]
  , wmode: 'transparent'
});

sIFR.replace(blisslight, {
  selector: 'h1'
  ,css: [
  '.sIFR-root {color: #cc0000;}'
  ]
  ,wmode: 'transparent'
});




  
   sIFR.replace(blissmedium, {
    selector: '.tools-container h2, .tools-container .mod-contentpanel h2'
    ,css: [
      '.sIFR-root {color: #fd9c00; }'
    ]
    ,wmode: 'transparent'
  });
  
   sIFR.replace(blissmedium, {
    selector: '.default .mod-contentpanel h2'
    ,css: [
      '.sIFR-root {color: #ffffff; background: #fd9c00;}'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #ffffff;}'
    ]
    ,wmode: 'transparent'
  });
  
   sIFR.replace(blissmedium, {
    selector: '.mod-latestnews h2'
    ,css: [
      '.sIFR-root {color: #810000; }'
    ]
    ,wmode: 'transparent'
  });
  
      sIFR.replace(blissmedium, {
    selector: '#abn, #abn-custom, #copyright'
    ,css: [
      '.sIFR-root {color: #999999;}'
      ,'strong { color: #003366; font-weight: normal }'
    ]
    ,wmode: 'transparent'
  }); 
