/*	sIFR v2.0 RC4
    Copyright 2004 - 2005 Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

    This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/>
*/
function sifrSwitch() {
    var body = document.getElementsByTagName('body').item(0);
    var bodyId = body.id;
    //alert('BodyId: ' + bodyId);
    /* Replacement calls. Please see documentation for more information. */
    sIFR.replaceElement("h6", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#5e106f", sWmode: "transparent"}));
    switch (bodyId){
        case "introduction":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#004090", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                };
            break;

        case "school":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#ad2376", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                    sIFR.replaceElement("h3", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#ff8001", sWmode: "transparent", sCase: "upper", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                    sIFR.replaceElement("h5", named({sFlashSrc: "../css/fonts/din_light.swf", sColor: "#ff8001", sWmode: "transparent", sCase: "upper", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                };
            break;
        case "goals":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#ad2376", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                    sIFR.replaceElement("h3", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#ff8001", sWmode: "transparent", sCase: "upper", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                    sIFR.replaceElement("h5", named({sFlashSrc: "../css/fonts/din_light.swf", sColor: "#ff8001", sWmode: "transparent", sCase: "upper", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                };
            break;
        case "inspiration":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#004090", sWmode: "transparent", sCase: "upper",  nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                 };
            break;
        case "doen":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#82AB07", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                    sIFR.replaceElement("h3", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#ff8001", sWmode: "transparent", sCase: "upper", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                     sIFR.replaceElement("h5", named({sFlashSrc: "../css/fonts/din_light.swf", sColor: "#ff8001", sWmode: "transparent", sCase: "upper", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                };
            break;

        case "millennium":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#5e106f", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                    sIFR.replaceElement("h3", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#ff8001", sWmode: "transparent", sCase: "upper", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                     sIFR.replaceElement("h5", named({sFlashSrc: "../css/fonts/din_light.swf", sColor: "#ff8001", sWmode: "transparent", sCase: "upper", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                };
            break;
        case "atlas":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#004090", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                 };
            break;

        case "resultaten":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#95B62B", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                };
            break;
        case "contact":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#FCCC28", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));
                };
            break;
        case "home":
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#004090", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));

                };
            break;
        default:
            if(typeof sIFR == "function"){
                    // This is the preferred "named argument" syntax
                    sIFR.replaceElement("h1", named({sFlashSrc: "../css/fonts/din_bold.swf", sColor: "#000000", sWmode: "transparent", nPaddingTop:0, nPaddingBottom:0, nPaddingLeft:1, nPaddingRight:0}));

                };
    }
}

