//************************************************************************************************************************
// Gestionnaire d'événements
//************************************************************************************************************************
// Au chargement de la page.
window.onload=initialisation;
function initialisation() {
// Gestion du bouton "valider".
document.getElementById("envoi3").onmouseup=function () { eclairer('envoi3'); }
document.getElementById("envoi3").onmousedown=function () { foncer('envoi3'); }
document.getElementById("envoi3").onmouseout= function () { retournormal('envoi3'); }
document.getElementById("envoi3").onmouseover=function () { eclairer('envoi3'); }
document.getElementById("envoi3").onclick=function () { fin(); }
}
function foncer(nom){
document.getElementById(nom).style.background="#0d104a";
document.getElementById(nom).style.border="3px inset yellow";
}
function retournormal(nom){
document.getElementById(nom).style.background="#0d104a";
document.getElementById(nom).style.color="yellow";
document.getElementById(nom).style.border="5px outset yellow";
}
function eclairer(nom){
document.getElementById(nom).style.background="#060d85";
document.getElementById(nom).style.color="yellow";
document.getElementById(nom).style.border="5px outset yellow";
}
function fin(){
window.parent.opener.location.reload();
self.close();
}