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("boitecentre").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) {
    with(document.body.style) {
      color="#000000";
      marginTop="32px";
    }
      
      
    with(document.getElementById("boitecentre").style) {
      margin="auto";
      padding="5px";
      backgroundColor="transparent";

    }
    
    for(i=1;i<=4;i++) {
      with(document.getElementById("menu"+i).style) {
        position="absolute";
        top="-10px";
        left=(((i-0.59)*156)+0.59)+"px";
          /*left=(((i-0.63)*14)+1)+"em";*/
        width="150px";
        height="20px";
        textAlign="center";
        margin="0";
        padding="0";
        zIndex="2";
      }
    }
    
    for(i=1;i<=4;i++) {
      with(document.getElementById("ssmenu"+i).style) {
        position="absolute";
        top="12px";
        left=(((i-0.59)*156)+0.59)+"px";
          /*left=(((i-1.229)*155)+100)+"px";*/  
        width="155px";
        margin="0";
        padding="0";
        zIndex="3";
      }
    }
    
    CacherMenus();
  }
}	


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

function CacherMenus() {
  if(blnOk) {
    for(i=1;i<=4;i++) {
      with(document.getElementById("ssmenu"+i).style) {
        visibility="hidden";
      }
    }
  }
}
    
