$(document).ready(function() {
    if (typeof (sIFR) == "function") {
        sIFR.replaceElement("h1.headerSmallh1", "/meta_normal.swf", named({ sColor: "#CD000D", sBgColor: "#f0ebe4", sWmode: "transparent" }));
        sIFR.replaceElement("h1.headerSmallh1MF", "/meta_normal.swf", named({ sColor: "#607EA7", sBgColor: "#f0ebe4", sWmode: "transparent" }));
        sIFR.replaceElement("h1.headerSmallh1MFBlack", "/meta_normal.swf", named({ sColor: "#111111", sBgColor: "#f0ebe4", sWmode: "transparent" }));
        sIFR.replaceElement("h1.headerSmallh1MFWhite", "/meta_normal.swf", named({ sColor: "#FFFFFF", sBgColor: "#f0ebe4", sWmode: "transparent" }));
        sIFR.replaceElement("h3.headerFrontRed", "/meta_bold.swf", named({ sColor: "#f0ebe4", sBgColor: "#CD000D", sWmode: "transparent" }));
        sIFR.replaceElement("h3.headerFrontWhite", "/meta_normal.swf", named({ sColor: "#CD000D", sBgColor: "#f0ebe4", sWmode: "transparent" }));
        sIFR.replaceElement("span.sifrNormal", "/meta_normal.swf", named({ sColor: "#000000", sBgColor: "#ffffff", sWmode: "transparent" }));
    }
    if (typeof (Nifty) == "function") {
        Nifty("div.WhiteBoxFrontMF", "small transparent");
        Nifty("div.BlueBoxContentMF", "small transparent");
        Nifty("div.NewsSmallMF", "small transparent");
    }

    $("html").removeClass("sIFR-hasFlash");
});
