// sIFR fonts
var ssbold = {
  src: '/swf/sifr/SansSerifBold.swf'
};
sIFR.activate(ssbold); 

var futura = {
  src: '/swf/sifr/Futura.swf'
};
sIFR.activate(futura); 

var futuralt = {
  src: '/swf/sifr/FuturaLight.swf'
};
sIFR.activate(futuralt); 

var replaceWhite = {
  src: '/swf/sifr/TradeGothicCond20.swf'
};
sIFR.activate(replaceWhite);

var h1replace = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
sIFR.activate(h1replace);

var h1replacewhite = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
sIFR.activate(h1replacewhite);

var h2replaceblack = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
sIFR.activate(h2replaceblack);

var h2replacetitle = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
sIFR.activate(h2replacetitle);

var h1float = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
sIFR.activate(h1float);

var replacered = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
sIFR.activate(replacered);

var nyeeventartist = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
sIFR.activate(nyeeventartist);

var nyeeventdate = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
sIFR.activate(nyeeventdate);

var nyeeventinfo = {
  src: '/swf/sifr/TradeGothicCond18.swf'
};
var univers65 = {
 src: '/my-vegas/swf/univers65.swf'
};
sIFR.activate(univers65); // From revision 209 and onwards 
sIFR.activate(nyeeventinfo);
var univers67 = {
 src: '/my-vegas/swf/univers67.swf'
};
sIFR.activate(univers67); // From revision 209 and onwards 


// siIFR replacements
sIFR.replace(ssbold, {
  selector: 'h3.vnitemdate',
  wmode: 'opaque',
  css: [
      '.sIFR-root { font-size: 14px; background-color: #000000; color: #ffffff; text-transform: uppercase; font-weight: bold; }'
  ],
  preventWrap: false,
  fitExactly: true,
  tuneHeight: -6
});

sIFR.replace(futuralt, {
  selector: 'h2.vnaddlsectionhdr',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 22px; color: #ffffff; text-transform: uppercase; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -6,
  offsetTop: 0
});

sIFR.replace(futuralt, {
  selector: 'h1#pghdr',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 25px; color: #ffffff; text-transform: uppercase; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -6,
  offsetTop: 0
});

sIFR.replace(ssbold, {
  selector: 'h1#vnhdr2',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 32px; background-color: #000000; color: #ffffff; text-transform: uppercase; }'
  ],
  preventWrap: true,
  fitExactly: true
});

sIFR.replace(ssbold, {
  selector: '.vnleftboxdate',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 13px; color: #ffffff; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: 2,
  offsetTop: 1
});

sIFR.replace(futuralt, {
  selector: 'h1#vnheader',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 29px; color: #ffffff; text-transform: uppercase; letter-spacing:1 }'
  ],
  preventWrap: false,
  fitExactly: true,
  offsetTop: 4
});

sIFR.replace(replaceWhite, {
  selector: '.replaceWhite',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 16px; color: #ffffff; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});

sIFR.replace(h1replace, {
  selector: '.h1-replace',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 20px; color: #000000; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});


sIFR.replace(h1replacewhite, {
  selector: '.h1-replace-white',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 20px; color: #ffffff; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});

sIFR.replace(h2replaceblack, {
  selector: '.h2-replace-black',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 19px; color: #000000; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});

sIFR.replace(h2replacetitle, {
  selector: '.h2-replace-title',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 19px; color: #000000; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});

sIFR.replace(h2replacetitle, {
  selector: '.h2-replace-title-red',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 19px; color: #570b12; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});

sIFR.replace(h2replacetitle, {
  selector: '.h2-replace-title-rad',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 24px; color: #ffffff; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});

sIFR.replace(h1float, {
  selector: '.h1-float',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 24px; color: #000000; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});
sIFR.replace(h1float, {
  selector: '.h1-float-red',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 24px; color: #570b12; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});

sIFR.replace(replacered, {
  selector: '.replace-red',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 19px; color: #ca0002; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -2
});
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: 'transparent',
 css: [
 '.sIFR-root { font-size: 15px; color: #ffffff; font-weight: bold; }'
 ],
 preventWrap: true,
 fitExactly: true,
 tuneWidth: 10,
 tuneHeight: -11,
 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
});
 

function nyesIFR(){
	sIFR.replace(nyeeventartist, {
  selector: 'h3.nye-events-artist',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 16px; color: #b2e2d9; text-transform: uppercase; }'
  ],
  fitExactly: true,
  tuneHeight: -5
});
sIFR.replace(nyeeventdate, {
  selector: 'h3.nye-events-date',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 16px; color: #b2e2d9; text-transform: uppercase; font-weight: normal; }'
  ],
  preventWrap: true,
  fitExactly: true,
  tuneHeight: -5
});

sIFR.replace(nyeeventinfo, {
  selector: '.nye-events-desc span',
  wmode: 'transparent',
  css: [
      '.sIFR-root { font-size: 12px; color: #ffffff; }'
  ],
  preventWrap: false,
  fitExactly: true,
  tuneHeight: 0
});
}


