WS_waitscreen = true;
var lang;

function start(){
    
    WS_waitscreen = false;
    // Window Load
    document.getElementsByClassName('pageCnt')[0].style.visibility="visible"
    /*
    var waitScreen = document.getElementById("waitScreen");
    document.body.removeChild(waitScreen);*/
    document.getElementsByTagName('body')[0].style.opacity="1"
    
    // Recover
    document.getElementById('send').addEventListener("click", function(){
        gotoPage('login','main','')
    });
    
    setLang()
}

function setLang(){
    
    addFooter()
    
    lang = sessionStorage.getItem('lang');
    
    /* inner HTML */
    setWordLanginnerHTML('changepassword','changepassword');
    setWordLanginnerHTML('initialtext','initialtext');
    setWordLanginnerHTML('send','send');
    setWordLanginnerHTML('ts','ts');
    
    //Mostrar HTML cargado
    esconderHTML(false);   
}