// Presumes import.css is the first <link> in the page
var rootpath = document.getElementsByTagName('link')[0].getAttribute('href').replace(/css\/global\.css/i,'');
var neosans = {
  src: rootpath + 'flash/neosans.swf'
};

var neosanslight = {
  src: rootpath + 'flash/neosanslight.swf'
};

sIFR.activate(neosans,neosanslight);

sIFR.replace(neosans, {
  selector: '.content h1'
  ,css: [
  '.sIFR-root {color: #000000;}'
  ]
  ,wmode: 'transparent'
});

sIFR.replace(neosanslight, {
  selector: '.mod-content h2, .mod-events h2, .mod-news h2, .mod-eventlist h2, .mod-newslist h2, .mod-projectlist h2, .panel h2, .mod-youtube h2'
  ,css: [
  '.sIFR-root {color: #000000;} .sIFR-root a {color: #ee5500; text-decoration: none;} .sIFR-root a:hover {color: #dd0000; text-decoration: none;}'
  ]
  ,wmode: 'transparent'
});



