window.onload=montre_h;

var chrono;

function montre_h(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';
	  clearTimeout(chrono);
     }
}

function fini_h(id)
{
     var d = document.getElementById(id);
     
     if (d)
     {
	  chrono=setTimeout("montre_h('')",5000); 	
     }
}
