// get the path to the dir containing the script
var path = $("script[src$='sifr.js']").attr("src");
var pathIndex = path.lastIndexOf('/');

if (pathIndex >= 0){
  path = path.substr(0, pathIndex);
}

var yourtypeface = {
     src: path+'/../flash/myriadpro-cond.swf'
};

sIFR.activate(yourtypeface);

sIFR.replace(yourtypeface, {
      selector: '#slide-tabs li .slide-title',
      css: [
      '.sIFR-root { font-size:24px; font-weight:normal; color:#ffffff; }'
      ],
      filters: {
        DropShadow: {
           distance: 1
          ,color: '#000000'
          ,strength: 1
          ,alpha: .5
        }
      },
      
      wmode: 'transparent'
});

sIFR.replace(yourtypeface, {
      selector: '#slideshow .drawers .content h3',
      css: [
      '.sIFR-root { font-size:20px; font-weight:normal; color:#ffffff; }.sIFR-root a{ color:#ffffff;text-decoration:none; }.sIFR-root a:hover{ color:#ffffff;text-decoration:none; }'
      ],
      filters: {
        DropShadow: {
           distance: 1
          ,color: '#000000'
          ,strength: 1
          ,alpha: .5
        }
      },
      
      wmode: 'transparent'
});

sIFR.replace(yourtypeface, {
      selector: '#custom h2',
      css: [
      '.sIFR-root { font-size:20px; font-weight:normal; color:#7c2262; }'
      ],
      wmode: 'transparent'
});
   
   

