var interstate = { src: '/Templates/Public/Scripts/sifr/interstate.swf' };
var cooperblack = { src: '/Templates/Public/Scripts/sifr/cooperblack.swf' };

sIFR.activate(interstate, cooperblack);

function replaceSIFR() {
    //sIFR.replace(cooperblack, { selector: 'h1', css: ['.sIFR-root { background-color: transparent; color: #f08c00; font-size:26px; font-weight:bold; }', 'a { color: #f08c00; text-decoration:none; }', 'a:hover { color: #f08c00; text-decoration:none; }'], wmode: 'transparent' });
    //sIFR.replace(interstate, { selector: 'h2.sifrHeader', css: ['.sIFR-root { background-color: transparent; color: #666666; font-size:20px; }', 'a { color: #666666; text-decoration:none; }', 'a:hover { color: #666666; text-decoration:none; }'], wmode: 'transparent' });
    //sIFR.replace(cooperblack, { selector: 'h3.sifrHeader', css: ['.sIFR-root { background-color: transparent; color: #f08c00; font-size:20px; font-weight:bold; }', 'a { color: #f08c00; text-decoration:none; }', 'a:hover { color: #f08c00; text-decoration:none; }'], wmode: 'transparent' });
    //sIFR.replace(interstate, { selector: 'h4.sifrHeader', css: ['.sIFR-root { background-color: transparent; color: #666666; font-size:16px; }', 'a { color: #666666; text-decoration:none; }', 'a:hover { color: #666666; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: '.h5green', css: ['.sIFR-root { background-color: transparent; color: #009430; font-size:14px; #009430 font-weight:bold;}', 'a { color: #009430; text-decoration:none; }', 'a:hover { color: #009430; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: '.largeText', css: ['.sIFR-root { background-color: transparent; color: #666666; font-size:20px; }', 'a { color: #666666; text-decoration:none; }', 'a:hover { color: #666666; text-decoration:none; }'], wmode: 'transparent' });
    //Standard headings
    sIFR.replace(cooperblack, { selector: 'h1', css: ['.sIFR-root { background-color: transparent; color: #f08c00; font-size:24px; font-weight:bold; }', 'a { color: #f08c00; text-decoration:none; }', 'a:hover { color: #f08c00; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: 'h2.sifrHeader', css: ['.sIFR-root { background-color: transparent; color: #666666; font-size:18px; }', 'a { color: #666666; text-decoration:none; }', 'a:hover { color: #666666; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: 'h3.sifrHeader', css: ['.sIFR-root { background-color: transparent; color: #f08c00; font-size:14px; font-weight:bold; }', 'a { color: #f08c00; text-decoration:none; }', 'a:hover { color: #f08c00; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: 'h4.sifrHeader', css: ['.sIFR-root { background-color: transparent; color: #666666; font-size:12px; }', 'a { color: #666666; text-decoration:none; }', 'a:hover { color: #666666; text-decoration:none; }'], wmode: 'transparent' });

    sIFR.replace(cooperblack, { selector: '.h1slim', css: ['.sIFR-root { background-color: transparent; color: #f08c00; font-size:24px; font-weight:bold; margin:0;padding:0; }', 'a { color: #f08c00; text-decoration:none; }', 'a:hover { color: #f08c00; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(cooperblack, { selector: '.h2orange', css: ['.sIFR-root { background-color: transparent; color: #f08c00; font-size:18px; font-weight:bold; margin:0;padding:0; }', 'a { color: #f08c00; text-decoration:none; }', 'a:hover { color: #f08c00; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: '.h2slim', css: ['.sIFR-root { background-color: transparent; color: #666666; font-size:18px; margin:0;padding:0; }', 'a { color: #666666; text-decoration:none; }', 'a:hover { color: #666666; text-decoration:none; }'], wmode: 'transparent' });

    //White headings
    sIFR.replace(cooperblack, { selector: '.h3sifrHeaderWhite', css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; font-size:20px; font-weight:bold; }', 'a { color: #FFFFFF; text-decoration:none; }', 'a:hover { color: #FFFFFF; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(cooperblack, { selector: '.h4sifrHeaderWhite', css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; font-size:14px; font-weight:bold; }', 'a { color: #FFFFFF; text-decoration:none; }', 'a:hover { color: #FFFFFF; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(cooperblack, { selector: '.h5sifrHeaderWhite', css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; font-size:10px; }', 'a { color:#FFFFFF; text-decoration:none; }', 'a:hover { color: #FFFFFF; text-decoration:none; }'], wmode: 'transparent' });

    //Black headings
    sIFR.replace(cooperblack, { selector: '.h3sifrHeaderBlack', css: ['.sIFR-root { background-color: transparent; color: #000000; font-size:20px; font-weight:bold; }', 'a { color: #FFFFFF; text-decoration:none; }', 'a:hover { color: #FFFFFF; text-decoration:none; }'], wmode: 'transparent' });

    sIFR.replace(cooperblack, { selector: '.h4sifrHeaderWhiteRight', css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; font-size:14px; font-weight:bold; text-align: right; }', 'a { color: #FFFFFF; text-decoration:none; }', 'a:hover { color: #FFFFFF; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(cooperblack, { selector: '.h5sifrHeaderWhiteRight', css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; font-size:10px; text-align: right; }', 'a { color:#FFFFFF; text-decoration:none; }', 'a:hover { color: #FFFFFF; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(cooperblack, { selector: '.h5sifrLogoutWhiteRight', css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; font-size:10px; text-align: right; }', 'a { color:#FFFFFF; text-decoration:underline; }', 'a:hover { color: #FFFFFF; text-decoration:underline; }'], wmode: 'transparent' });

    //Puff read more link texts
    sIFR.replace(interstate, { selector: '.h5backgroundwhite', css: ['.sIFR-root { background-color: transparent; color: #009430; font-size:14px; #009430 font-weight:bold;}', 'a { color: #009430; text-decoration:none; }', 'a:hover { color: #009430; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: '.h5backgroundwhitelarge', css: ['.sIFR-root { background-color: transparent; color: #009430; font-size:18px; #009430 font-weight:bold;}', 'a { color: #009430; text-decoration:none; }', 'a:hover { color: #009430; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: '.h5backgroundgreen', css: ['.sIFR-root { background-color: transparent; font-size:14px; color: #FFFFFF; font-weight:bold;}', 'a { color: #FFFFFF; text-decoration:none; }', 'a:hover { color: #FFFFFF; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: '.h5backgroundorange', css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; font-size:14px; #FFFFFF font-weight:bold;}', 'a { color: #FFFFFF; text-decoration:none; }', 'a:hover { color: #FFFFFF; text-decoration:none; }'], wmode: 'transparent' });
    sIFR.replace(interstate, { selector: '.largeText', css: ['.sIFR-root { background-color: transparent; color: #666666; font-size:20px; }', 'a { color: #666666; text-decoration:none; }', 'a:hover { color: #666666; text-decoration:none; }'], wmode: 'transparent' });
}
replaceSIFR();
