function OuvrirFenetre(url) {
    window.open(url);
    return false;
}

function DoSubmit(inputSubmit) {
    inputSubmit.disabled=true;
    inputSubmit.value= 'Patientez Svp'; 
    inputSubmit.form.submit();
}

function Rediriger(url) {
    window.location.replace(url);
}

function AfficherMoisCalendrier(mois) {
    document.getElementById('tabcal' + mois).className = "visible";
}

function MasquerMoisCalendrier(mois) {
    document.getElementById('tabcal' + mois).className = "hidden";
}

function AfficherBlock(blockname) {
    if(document.getElementById(blockname).style.display == "none"){
        document.getElementById(blockname).style.display = "";
    }
    else {
        document.getElementById(blockname).style.display = "none";
    }
}
