sfHover = function() 
{
  var sfEls = document.getElementById("menu").getElementsByTagName("LI");
  for (var i=0; i<sfEls.length; i++)
  {
    sfEls[i].onmouseover=function()
    {
      this.className+=" sfhover";
    }
    sfEls[i].onmouseout=function()
    {
      this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
    }
  }
}

if (window.attachEvent) window.attachEvent("onload", sfHover);

function afficheMaxi(chemin) 
{ 
  i1 = new Image(); 
  i1.src = chemin; 
  popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0, width=500, height=375, left=250, top=125'); 
  popupImage.document.open(); 
  popupImage.document.write(html); 
  popupImage.document.close() ;
} 
    
function TabClick( nTab )
{
  if( document.getElementsByName("Contentonglet").length > 0 )
  {
    Col = document.getElementsByName("Contentonglet");
    for (i = 0; i < document.getElementsByName("Contentonglet").length; i++)
    {
      document.getElementsByName("tabs")[i].className = "TabBorderBottom TabCommon TabOff";
      document.getElementsByName("Contentonglet")[i].style.display = "none";
    }
    document.getElementsByName("Contentonglet")[nTab].style.display = "block";	
    document.getElementsByName("tabs")[nTab].className = "TabCommon TabOn TabActiveBackground TabActiveBorderLeftRight";
  }
}