var rootpath = document.getElementsByTagName('link')[0].getAttribute('href').replace(/css\/global\.css/i,'');
var thesans = {
  src: rootpath + 'flash/thesans.swf'
};
var thesansbold = {
  src: rootpath + 'flash/thesansbold.swf'
};

sIFR.activate(thesans);

sIFR.replace(thesans, {
  selector: '.content h1'
  ,css: [
  '.sIFR-root {color: #ffffff; leading: 0px; margin: 0; padding: 0; font-weight: normal;}'
  ]
  ,wmode: 'transparent'
});

sIFR.replace(thesansbold, {
  selector: '.mod-coursesearch legend span'
  ,css: [
  '.sIFR-root {color: #ef7976; leading: 0px; margin: 0; padding: 0; font-weight: normal;}'
  ]
  ,wmode: 'transparent'
});

sIFR.replace(thesansbold, {
  selector: '.col-blogs h2,.col-news h2'
  ,css: [
  '.sIFR-root {color: #ef7976; leading: 0px; margin: 0; padding: 0; font-weight: normal;}'
  ]
  ,wmode: 'transparent'
});


