// Turn off sIFR for Mac Firefox 
if (!(navigator.appVersion.contains('Macintosh') && window.gecko)){

// sIFR fonts
var univers65 = {
  src: '/my-vegas/swf/univers65.swf'
};
sIFR.activate(univers65); // From revision 209 and onwards

var univers67 = {
  src: '/my-vegas/swf/univers67.swf'
};
sIFR.activate(univers67); // From revision 209 and onwards


// siIFR replacements
sIFR.replace(univers67, {
  selector: 'h2.hdroverlay',   
  ratios: [[8,1.41,9,1.33,12,1.35,15,1.3,19,1.28,27,1.27,28,1.25,32,1.26,33,1.24,34,1.25,47,1.24,52,1.23,53,1.24,71,1.23,72,1.22,73,1.23,76,1.22,77,1.23,81,1.22,82,1.23,1.22]],  
  wmode: 'opaque',
  css: [
      '.sIFR-root { font-size: 16px; background-color: #000000; color: #ffffff; text-transform: uppercase; font-weight: bold; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneWidth: 10,
  tuneHeight: -12,
  offsetTop: -4
});

sIFR.replace(univers67, {
  selector: 'h3.sechdroverlay',   
  ratios: [[8,1.41,9,1.33,12,1.35,15,1.3,19,1.28,27,1.27,28,1.25,32,1.26,33,1.24,34,1.25,47,1.24,52,1.23,53,1.24,71,1.23,72,1.22,73,1.23,76,1.22,77,1.23,81,1.22,82,1.23,1.22]],  
  wmode: 'opaque',
  css: [
      '.sIFR-root { font-size: 16px; background-color: #000000; color: #ffffff; text-transform: uppercase; font-weight: bold; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneWidth: 10,
  tuneHeight: -12,
  offsetTop: -4
});

sIFR.replace(univers67, {
  selector: 'h4.itemhdroverlay',   
  ratios: [[8,1.41,9,1.33,12,1.35,15,1.3,19,1.28,27,1.27,28,1.25,32,1.26,33,1.24,34,1.25,47,1.24,52,1.23,53,1.24,71,1.23,72,1.22,73,1.23,76,1.22,77,1.23,81,1.22,82,1.23,1.22]],  
  wmode: 'opaque',
  css: [
      '.sIFR-root { font-size: 14px; background-color: #000000; color: #ffffff; font-weight: bold; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneWidth: 10,
  tuneHeight: -6,
  offsetTop: -1
});

sIFR.replace(univers67, {
  selector: 'h4.profileoverlay',   
  ratios: [[8,1.41,9,1.33,12,1.35,15,1.3,19,1.28,27,1.27,28,1.25,32,1.26,33,1.24,34,1.25,47,1.24,52,1.23,53,1.24,71,1.23,72,1.22,73,1.23,76,1.22,77,1.23,81,1.22,82,1.23,1.22]],  
  wmode: 'opaque',
  css: [
      '.sIFR-root { font-size: 14px; background-color: #000000; color: #ffffff; font-weight: bold; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneWidth: 10,
  tuneHeight: -10,
  offsetTop: -4
});

sIFR.replace(univers65, {
  selector: 'h1#profilename2',   
  ratios: [[8,1.41,9,1.33,12,1.35,15,1.3,19,1.28,27,1.27,28,1.25,32,1.26,33,1.24,34,1.25,47,1.24,52,1.23,53,1.24,71,1.23,72,1.22,73,1.23,76,1.22,77,1.23,81,1.22,82,1.23,1.22]],  
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 24px; color: #ffffff; font-weight: bold; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneWidth: 10,
  offsetTop: -1
});

sIFR.replace(univers67, {
  selector: 'h4.sectionhdr',   
  ratios: [[8,1.41,9,1.33,12,1.35,15,1.3,19,1.28,27,1.27,28,1.25,32,1.26,33,1.24,34,1.25,47,1.24,52,1.23,53,1.24,71,1.23,72,1.22,73,1.23,76,1.22,77,1.23,81,1.22,82,1.23,1.22]],  
  wmode: 'opaque',
  css: [
      '.sIFR-root { font-size: 15px; background-color: #000000; color: #ffffff; font-weight: bold; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneWidth: 10,
  tuneHeight: -11,
  offsetTop: -4
});

}
