function ChangeFrame (uri, Framename, lang, flash) {

    if(uri == "http://lexsina.adbw.net/welcome_de.html?flash=yes"){

        uri = "http://lexsina.adbw.net/index.php?id=welcome_de&flash=yes";

    }

    if(uri == "http://lexsina.adbw.net/welcome_en.html?flash=yes"){

        uri = "http://lexsina.adbw.net/index.php?id=welcome_en&flash=yes";

    }

    if(uri == "http://lexsina.adbw.net/welcome_cn.html?flash=yes"){

        uri = "http://lexsina.adbw.net/index.php?id=welcome_cn&flash=yes";

    }    

    if(flash == "yes") {

        strlen = uri.length - 13;
        uri_final = uri.substr(0, strlen) + "_" + lang + "&flash=yes";

    } else {

       strlen = uri.length - 3;
       uri_final = uri.substr(0, strlen) + "_" + lang;

    }

    parent[Framename].location.href = uri_final;

}

function ReloadFrame (uri, Framename) {

    parent[Framename].location.href = uri;

}

function moveLine(id, color) {

   for (i = 1; i<15; i=i+2) {

    document.getElementById('bar').childNodes[i].style.backgroundColor = "transparent";

   }

    document.getElementById(id).style.backgroundColor = color;
}

