var rootpath = document.getElementsByTagName('link')[0].getAttribute('href').replace(/css\/global\.css/i,'');
var eurostilereg = {
  src: rootpath + 'flash/eurostile.swf'
};
var gillsanslight = {
  src: rootpath + 'flash/gillsanslight.swf'
};

sIFR.activate(eurostilereg, gillsanslight);

sIFR.replace(eurostilereg, {
    selector: '.pagetitle'
  , css: [
  '.sIFR-root {color: #003366; leading: 5px; margin: 0; padding: 0;}'
  ]
  , wmode: 'transparent'
});

sIFR.replace(gillsanslight, {
  selector: '.statement'
  ,css: [
  '.sIFR-root {color: #003366; leading: 3px; margin: 0; padding: 0; font-weight: bold;}',
  , 'a { text-decoration: none; }'
  , 'a:link { color: #003366; }'
  , 'a:hover { color: #2aa0d2; }'
    ]
  ,wmode: 'transparent'
});

sIFR.replace(eurostilereg, {
  selector: 'h2'
  ,css: [
  '.sIFR-root {color: #003366; leading: 1px; margin: 0; padding: 0; font-weight: bold;}',
  , 'a { text-decoration: none; }'
  , 'a:link { color: #003366; }'
  , 'a:hover { color: #2aa0d2; }'
    ]
  ,wmode: 'transparent'
});
