corrigerLi = function()
{
  if(document.all&&document.getElementById)
     {
          li = document.getElementById('menu').getElementsByTagName('li');

          for(var i=0; i < li.length; i++)
          {
               li[i].onmouseover = function(){ this.className+=" over"; };
               li[i].onmouseout = function(){ this.className=this.className.replace(" over", ""); };
          }
     }

	 
	 /* Permet de cacher les drops list dans le moteur de recherche */	 
	 if(window.location.href.indexOf("moteurDeRecherche.cfm",0) != -1 || window.location.href.indexOf("moteurDeRecherche_ang.cfm",0) != -1)
	 {
         document.getElementById('realisations').onmouseover = function(){
    		document.getElementById('realisations').className+=" over";
    		document.getElementById('selectCategorie').className=" cacherSelect";
         }
    
         document.getElementById('realisations').onmouseout = function(){
    		document.getElementById('realisations').className="";
            document.getElementById('selectCategorie').className=" voirSelect";
    		
         }	 
	 }  
}   
window.onload=corrigerLi;
