function hover(obj){
//alert("eee");
  if(document.all){
    UL = obj.getElementsByTagName('ul');
    if(UL.length > 0){
      sousMenu = UL[0].style;
      if(sousMenu.display == 'none' || sousMenu.display == ''){
        sousMenu.display = 'block';}else{sousMenu.display = 'none';}
    }
  }
}

function setHover(){
//alert("setHover");
  LI = document.getElementById('menu').getElementsByTagName('li');
  nLI = LI.length;
  for(i=0; i < nLI; i++){
    LI[i].onmouseover = function(){hover(this);}
    LI[i].onmouseout = function(){hover(this);}
  }
}
// Ouvre une fenetre et affiche la capture imgnom.type dedans
function loadpop(nom, type) {
  var fenetreImage;
  contenu="<html>\n<head>\n<title>Image</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=iso-8859-1\">\n</head>\n<body topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" onBlur=\"self.close();\" background=\"Pictures/" + nom + "." + type + "\">\n</body></html>\n";
  fenetreImage = window.open("", "capture", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=970,height=585,screenX=50,screenY=50,top=50,left=50");
fenetreImage.document.open();
fenetreImage.document.write(contenu);
fenetreImage.document.close();
}
function popup(page)  
  {
  window.open(page, '', 'resizable=yes, location=no, width=700, height=500, menubar=no, status=no, scrollbars=yes, menubar=no')
}

function nouvellefenetre() {

    var haut = (screen.height - 100) / 2;
    var gauc = (screen.width - 520) / 2;
    
 mafenetre =
   window.open('etic.htm', 'MyPopupWindow', 'resizable=no,menubar=no,status=no,scrollbars=n­o,menubar=no, width=651, height=100, left='+gauc+', top='+haut+'')
  }

