

function Chargement() {
var haut=0.6;
var gauche=14.75;
var largeur=13.5;
var epaisseur=2.6;

    for(i=1;i<=4;i++) {
      with(document.getElementById("menu"+i).style) {
        position="absolute";
        top=haut+"em";
        left=(((i-1)*largeur)+1)+gauche+"em";
        width=largeur+"em";
        /* height=epaisseur+"em"; */
        textAlign="center";
        margin="0";
        padding="0";
        /* zIndex="1"; */
      }
    }
    
    for(i=1;i<=4;i++) {
      with(document.getElementById("ssmenu"+i).style) {
        position="absolute";
        top=haut+epaisseur+"em";
        left=(((i-1)*largeur)+1)+gauche+"em";
        width=largeur+"em";
        margin="0";
        padding="0";
        /* zIndex="1"; */
      }
    }
   
     CacherMenus();

}

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

function MontrerMenuOver(strMenu) {
    document.getElementById(strMenu).style.backgroundImage=URL('logoKris4.gif');
}

function CacherMenus() {

    for(i=1;i<=6;i++) {
      with(document.getElementById("ssmenu"+i).style) {
        visibility="hidden";
      }
    }
}

function redir() {
	document.forms[0].elements[0].value=document.forms[0].elements[0].value-1;
	if (document.forms[0].elements[0].value==0) 
		{	if (navigator.appName.substring(0,3)=="Mic") window.location="/index.php"
			else if (navigator.appName.substring(0,3)=="Net") window.location="/index.php"
			else window.location="/index.php";
		}
	else setTimeout("redir()",1000);
}