var blnOk=true;

function Chargement() {

  if(document.body.style.backgroundColor!="") { blnOk=false; }
  if(document.body.style.color!="") { blnOk=false; }
  if(document.body.style.marginTop!="") { blnOk=false; }
  if(document.getElementById) {
    with(document.getElementById("texte").style) {
      if(position!="") { blnOk=false; }
      if(top!="") { blnOk=false; }
      if(left!="") { blnOk=false; }
      if(width!="") { blnOk=false; }
      if(height!="") { blnOk=false; }
      if(zIndex!="") { blnOk=false; }
      if(margin!="") { blnOk=false; }
      if(padding!="") { blnOk=false; }
      if(visibility!="") { blnOk=false; }
    }
  }
  else
  {
   blnOk=false;
  }

  if(blnOk) {
     
    for(i=1;i<=3;i++) {
      with(document.getElementById("menuproduit"+i).style) {
        position="absolute";
        top=(((i-1)*2)+1.5)+"em";
        left="0";
        width="150px";
        height="27px";
        textAlign="left";
        //zIndex="2";
      }
    }
  
   for(i=1;i<=3;i++) {
      with(document.getElementById("ssmenuproduit"+i).style) {
        position="absolute";
        top=(((i-1)*2)+1.5)+"em";
        left="140px";	
        width="15em";
        lineHeight="11px";
        //zIndex="4";
      }
    }
    
    with(document.getElementById("actualite").style) {
       width="90px";  
	//zIndex="2";
      }
    
    
          
    with(document.getElementById("entreprise").style) {
	width="90px";
	//zIndex="2";
      }
    
    with(document.getElementById("client").style) {
       width="90px";    
	//zIndex="2";
      }
    
      
      
     with(document.getElementById("support").style) {
       width="90px";	
	//zIndex="2";
      }
  
     
  with(document.getElementById("partenaires").style) {
       width="90px"; 
	//zIndex="2";
      }
      
    
 CacherMenus();
  }
}

function MontrerMenu(strMenu) {  
  if(blnOk) {
    CacherMenus();
    
    document.getElementById(strMenu).style.visibility="visible";
  }
}

function CacherMenus() 
{
  if(blnOk)
  {
    for(i=1;i<=3;i++) 
    {
      with(document.getElementById("ssmenuproduit"+i).style)
      {
        visibility="hidden";
      }
    }
    
   
   with(document.getElementById("ssmenuactualite").style)
   {
      visibility="hidden";
   }
   
   with(document.getElementById("ssmenuentreprise").style)
   {
      visibility="hidden";
   }
   
   with(document.getElementById("ssmenuclient").style)
   {
      visibility="hidden";
   }
    
   with(document.getElementById("ssmenusupport").style)
   {
     visibility="hidden";
   }
     
   with(document.getElementById("ssmenupartenaires").style)
   {
     visibility="hidden";
   }
      
  }
    
}
