var stagMedium = {
  src: '/sitefiles/30/flash/sifr/fonts/stagMedium.swf'
  ,ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01]
};

var stagBold = {
  src: '/sitefiles/30/flash/sifr/fonts/stagBold.swf'
  ,ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01]
};

var dinMedium = {
  src: '/sitefiles/30/flash/sifr/fonts/dinMedium.swf'
  ,ratios: [8, 1.42, 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, 48, 1.24, 52, 1.23, 53, 1.24, 73, 1.23, 76, 1.22, 77, 1.23, 81, 1.22, 82, 1.23, 1.22]
};

//sIFR.debug.ratios({ src: '/sitefiles/30/flash/sifr/fonts/stagMedium.swf', selector: 'h3' });

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
//sIFR.useStyleCheck = true;

sIFR.delayCSS = true;
sIFR.activate(stagMedium,stagBold,dinMedium);
//sIFR.debug.ratios({ src: '/sitefiles/30/flash/sifr/fonts/dinMedium.swf', selector: '.menu li a' });

/* STAGE BOLD/MEdium */

sIFR.replace(stagBold, {
  selector: '.latestWorkSliderContent .latestWork .latestWorkRight h3',
  css: [
    '.sIFR-root { color: #B9E7FB }'
  ],
  wmode: 'transparent'
});

sIFR.replace(stagBold, {
  selector: '.downloadEtc h3,.latestWorkRight p',
  css: [
    '.sIFR-root { color: #FFFFFF }'
  ],
  wmode: 'transparent'
});

sIFR.replace(stagMedium, {
  selector: '.latestWorkRight .readMoreSpan',
  css: [
    '.sIFR-root {color: #FFFFFF;}'
    ,'a { color: #FFFFFF;  text-decoration: none;}',
    ,'a:link { color: #FFFFFF; }'
    ,'a:hover { color: #FFFFFF; }'
  ],
  wmode: 'transparent',
  forceSingleLine: true
});

sIFR.replace(stagMedium, {
  selector: '.fileList li',
  css: [
    '.sIFR-root {color: #FFFFFF;}'
    ,'a { color: #FFFFFF;  text-decoration: none; font-size: 14px;}',
    ,'a:link { color: #FFFFFF; }'
    ,'a:hover { color: #FFFFFF; }'
  ],
  wmode: 'transparent',
  forceSingleLine: true
});

sIFR.replace(stagBold, {
  selector: '.files li',
  css: [
    '.sIFR-root {color: #655B62;}'
    ,'a { color: #655B62; font-size: 14px;}',
    ,'a:link { color: #655B62; }'
    ,'a:hover { color: #655B62; }'
  ],
  wmode: 'transparent',
  forceSingleLine: true
});

sIFR.replace(stagBold, {
  selector: '.latestWorkContainer h2,.articleHeader h2',
  css: [
    '.sIFR-root { color: #655B62;}'
  ],
  wmode: 'transparent',
  tuneWidth: 5,
  forceSingleLine: true
});

sIFR.replace(stagBold, {
  selector: '.content .bubbleHeaderGreen,.bubbleHeaderBlack',
  css: [
    '.sIFR-root { color: #ffffff;}'
  ],
  wmode: 'transparent',
  tuneWidth: 5
});

sIFR.replace(stagMedium, {
  selector: '.contentLeft2 h3,.contentRight2 h3,.contentCenter2 h3,.linkName,.file .name',
  css: [
    '.sIFR-root { color: #FF4000; line-height: 12px; }'
  ],
  wmode: 'transparent',
  forceSingleLine: true
});

sIFR.replace(stagBold, {
  selector: 'h4',
  css: [
    '.sIFR-root { color: #ffffff;}'
  ],
  wmode: 'transparent',
  forceSingleLine: true
});

sIFR.replace(stagMedium, {
  selector: '.languageMenu li,.subMenu li',
  css: [
    '.sIFR-root {color: #655B62;}'
    ,'a { color: #655B62;  text-decoration: none; font-size: 14px;}',
    ,'a:link { color: #655B62; }'
    ,'a:hover { color: #FF4000; }'
    ,'.active { color: #FF4000; }'
  ],
  wmode: 'transparent',
  forceSingleLine: true
});


sIFR.replace(stagMedium, {
  selector: '.articleImgPhoto',
  css: [
    '.sIFR-root {color: #000000; font-size: 10px;}'
    ,'a { color: #000000; font-size: 10px;}',
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #000000; }'
  ],
  wmode: 'transparent',
  forceSingleLine: true,
  tuneWidth: 3
});

/* DIN MEDIUM */

sIFR.replace(dinMedium, {
  selector: '.menu li',
  css: [
    '.sIFR-root { color:#655B62; font-size:14px; line-height:16px; text-transform:uppercase; float: left;}'
    ,'a { color:#655B62; font-size:14px; line-height:16px; text-transform:uppercase; text-decoration: none; }'
    ,'a:hover { color:#FF4000; }'
    ,'.active { color:#FF4000; }'
  ],
  wmode: 'transparent',
  forceSingleLine: true
});


sIFR.replace(dinMedium, {
  selector: '.latestBlogsContent li',
  css: [
    '.sIFR-root { background-color: #ff4000; font-size: 13px; color:#ffffff; text-transform:uppercase; float: left;}'
    ,'a { color:#ffffff; text-transform:uppercase; text-decoration:none; background-color: #ff4000;}'
    ,'a:hover { color:#ffffff; }'
  ],
  wmode: 'transparent',
  forceSingleLine: true,
  fitExactly: false
});
