//Fonction qui affiche ou non le tableau pou rplus de détails.
//Travaille sur la propriété display:______ de l'élément.
// x : boîte combo qui déclenche l'affichage
// y : option de la boîte qui déclenche
// z : élément à être affiché ou caché.
function afficherDetails(x,y,z){
	if(x.selectedIndex == y){
		afficher(z);
	}
	else{
		cacher(z);
	}
}

// Cette fonction alterne les états affichés et cachés.
function allerRetour(whichEl){
    whichEl.style.display = (whichEl.style.display == "none" ) ? "" : "none";
}

// Ce fonction affiche l'élément whichEl, indépendemment de son état précédent.
function afficher(whichEl){
    whichEl.style.display = "";
}

// Ce fonction cache l'élément whichEl, indépendemment de son état précédent.
function cacher(whichEl){
    whichEl.style.display = "none";
}
