var rootpath = document.getElementsByTagName('link')[0].getAttribute('href').replace(/css\/global\.css/i,'');
var charriot = {
  src: rootpath + 'flash/charriot.swf'
};

sIFR.activate(charriot);

sIFR.replace(charriot, {
  selector: 'div.con-main h1'
  ,css: [
  '.sIFR-root {color: #ffffff; leading: 0px; letter-spacing: -.5; margin: 0; padding: 0; font-weight: normal;}'
  ]
  ,wmode: 'transparent'
});