var ltUniversCondHeavy = {
    src: 'css/sIFR/ltUniversCondHeavy.swf'
    ,ratios: [8,0.86,11,1.03,12,1.05,15,1.01,21,1.04,24,1.07,25,1.1,26,1.05,31,1.06,38,1.08,41,1.1,43,1.11,49,1.1,58,1.12,68,1.13,70,1.14,71,1.13,88,1.14,115,1.15,116,1.16,121,1.15,1.16]
};

var ltUniversCondBold = {
    src: 'css/sIFR/ltUniversCondBold.swf'
    ,ratios: [8,0.86,11,1.03,12,1.05,15,1.01,21,1.04,24,1.07,25,1.1,26,1.05,31,1.06,38,1.08,41,1.1,43,1.11,49,1.1,58,1.12,68,1.13,70,1.14,71,1.13,88,1.14,115,1.15,116,1.16,121,1.15,1.16]
};

sIFR.debugMode = true;
sIFR.delayCSS  = true;

sIFR.activate(ltUniversCondHeavy);
sIFR.activate(ltUniversCondBold);


function sifrMegaInit() {

    // H1 HOMEPAGE VIDEOS
    sIFR.replace( ltUniversCondBold, {
        selector: 'h1.homepagevideo'
        ,css: {
            '.sIFR-root': { 'leading': '-4', 'color': '#000000', 'background-color':'#FFFFFF', 'font-size': '36px', 'text-transform': 'uppercase', 'line-height': '12'}
        }
        ,offsetLeft : '6'
        ,tuneWidth: '12'
        ,offsetTop: '-3'
        ,tuneHeight: '-8'
        ,fitExactly: 'true'
        ,'wmode': 'opaque' // IMPORTANT: To see background color, wmode must be opaque, otherwise background will be transparent!
    });

    // H1 HOMEPAGE VIDEOS
    sIFR.replace( ltUniversCondBold, {
        selector: 'span.homepagevideoReadMore'
        ,css: {
            '.sIFR-root': {'leading': '-4', 'color': '#000000', 'background-color':'#FFFFFF', 'font-size': '16px', 'text-transform': 'uppercase', 'cursor': 'pointer'},
            'a': {'color': '#000000', 'text-decoration': 'none'}, 
            'a:hover': {'color': '#000000', 'text-decoration': 'none', 'text-decoration': 'underline'}
        }
        ,offsetLeft : '6'
        ,tuneWidth: '12'
        ,tuneHeight: '-2'
        ,fitExactly: 'true'
        ,selectable: 'false'
        ,wmode: 'opaque' // IMPORTANT: To see background color, wmode must be opaque, otherwise background will be transparent!
    });

    // H1 HOMEPAGE VIDEOS
    sIFR.replace( ltUniversCondBold, {
        selector: 'span.homepagevideoReadMore a'
        ,css: {
            '.sIFR-root': {'leading': '-4', 'color': '#000000', 'background-color':'#FFFFFF', 'font-size': '20px', 'text-transform': 'uppercase', 'cursor': 'pointer', 'text-decoration': 'none'}
        }
        ,fitExactly: 'true'
        ,wmode: 'opaque' // IMPORTANT: To see background color, wmode must be opaque, otherwise background will be transparent!
    });

    // H1 HAMBURG
    sIFR.replace( ltUniversCondHeavy, {
        selector: 'h1.locationishamburg'
        ,css: {
            '.sIFR-root': { 'leading': '-4', 'color': '#89a8c1', 'font-size': '20px', 'text-transform': 'uppercase' }
        }
        ,fitExactly: 'true'
        ,wmode: 'transparent'
    });

    // H1 NEW YORK
    sIFR.replace( ltUniversCondHeavy, {
        selector: 'h1.locationisnewyork'
        ,css: {
            '.sIFR-root': { 'leading': '-4', 'color': '#ea6758', 'font-size': '20px', 'text-transform': 'uppercase' }
        }
        ,fitExactly: 'true'
        ,wmode: 'transparent'
    });

    // H1 PARIS
    sIFR.replace( ltUniversCondHeavy, {
        selector: 'h1.locationisparis'
        ,css: {
            '.sIFR-root': { 'leading': '-4', 'color': '#cae52e', 'font-size': '20px', 'text-transform': 'uppercase' }
        }
        ,fitExactly: 'true'
        ,wmode: 'transparent'
    });
    
    // H1
    sIFR.replace( ltUniversCondHeavy, {
        selector: 'h1'
        ,css: {
            '.sIFR-root': { 'leading': '-4', 'color': '#000000', 'font-size': '20px', 'text-transform': 'uppercase' }
        }
        ,fitExactly: 'true'
        ,wmode: 'transparent'
        ,tuneHeight: '-8'
    });
}
Event.observe(window, 'load', sifrMegaInit);







