// JavaScript Document

//FONCTION POPUP
function popup(nom_de_la_page)
{
window.open (nom_de_la_page, '', 'width=400, height=300, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no');
}

//FONCTION CHANGE CLASS MENU
function change_class_on() {
this.className= "menu-on";
}
function change_class_out() {
this.className= "menu-out";
}




//////////////////////////////////////////////////////////////////////
//FONCTION INUTISEE
function changeClass(laCible,nouvelleClass)
 {laCible.className=nouvelleClass;}


<!--
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}
//-->



function display(num)
{
 // Boolen reconnaissant le navigateur (vu en partie 2)
  isIE = (document.all);
  isNN6 = (!isIE) && (document.getElementById);
	//if (isIE) alert('internet explorer');
	//if (isNN6) alert('firefox');

  if (isIE) menu = document.all[num];
  if (isNN6) menu = document.getElementById(num);

   if (menu.style.display == "none"){
    // Cas ou le tableau est cach
    menu.style.display = "";
  } else {
    // On le cache
    menu.style.display = "none";
   }

}
function undisplay(num)
{
 // Boolen reconnaissant le navigateur (vu en partie 2)
  isIE = (document.all);
  isNN6 = (!isIE) && (document.getElementById);
	//if (isIE) alert('internet explorer');
	//if (isNN6) alert('firefox');

  if (isIE) menu = document.all[num];
  if (isNN6) menu = document.getElementById(num);

    menu.style.display = "none";
}
