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(paddingBottom!="") { blnOk=false; }
      if(visibility!="") { blnOk=false; }
	  if(height!="") { blnOk=false; }
	  if(marginLeft!="") { blnOk=false; }
	  if(marginTop!="") { blnOk=false; }
	  if(textAlign!="") { blnOk=false; }
	  if(display!="") { blnOk=false; }
	  if(lineHeight!="") { blnOk=false; }
    }
  }
  else{
  blnOk=false;
  }

  if(blnOk) {
    with(document.body.style) {
    }
      
	with(document.getElementById("grandconteneur").style) {
      marginTop="75px";
	  position="absolute";
      height="30px";
	}
	
	with(document.getElementById("conteneur").style) {
      marginTop="0px";
	  height="2em";
	  textAlign="left";
	}
	
	with(document.getElementById("margemenu").style) {
      backgroundColor="#D9B3FE";
      marginLeft="180px";
	  zIndex="30";
	}
      
    with(document.getElementById("texte").style) {
      backgroundColor="#FFF";
      color="#000";
    }
    
    for(i=1;i<=7;i++) {
      with(document.getElementById("menu"+i).style) {
        position="absolute";
        backgroundColor="#D9B3FE";
      	marginLeft=(((i-1)*100)+0)+"px";
		display="block";
        width="100px";
        height="20px";
        textAlign="center";
        zIndex="30";
		lineHeight="20px";
		}
 }
    
    for(i=1;i<=7;i++) {
      with(document.getElementById("ssmenu"+i).style) {
        position="absolute";
        backgroundColor="#DBA6FF";
      	backgroundImage="url(http://Didier/maquette/final4/IMG/TEST/nav4_17.gif)";
		backgroundRepeat="repeat-x";
		paddingTop="3px";
		paddingBottom="0px";
		marginTop="2.3em";
		marginLeft=(((i-1)*100)+0)+"px";
        zIndex="30";
		textAlign="left";
        
		}
		with(document.getElementById("ssmenu7").style) {
      	width="190px";
		overflow="hidden";
    }		
}
    
    CacherMenus();
  }
}

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

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