//************ Menu Principal ************//

Color0M  = '#fda100' // Couleur du texte

Color1M  = '#000000' // Couleur Arrière

Color2M  = '#31366d' // Couleur Arrière Surbrillance

Color3M  = '#000000' // Couleur Bordure ????

PosY     = 0       // Distance entre le haut de l'écran et le menu

LargeurM = 133       // Largeur

HauteurM =  30       // Hauteur

AlignM   = 'center'  //'center','right','left'

FontM    = 'Verdana' // Police

SizeM    =  14       // Taille de la Police

WeightM  = 'bold'    // Epaisseur de la Police

CursorM  = 'pointer' // Curseur-> default,hand...



menu = new Array

i=0

menu[i++] = 'Accueil'  // <-- Titre

menu[i++] = 'index.php?guest=accueil'         // <-- Adresse (ici aucune)

menu[i++] = 'Dépannage'

menu[i++] = 'index.php?guest=depannage'

menu[i++] = 'Matériel'

menu[i++] = 'index.php?guest=materiel'

menu[i++] = 'Création Web'

menu[i++] = 'index.php?guest=web'

//menu[i++] = 'Accès clients'

//menu[i++] = 'index.php?guest=clients'

menu[i++] = 'Contact'

menu[i++] = 'index.php?guest=contact'

//menu[i++] = 'Langue'

//menu[i++] = 'index.php'



//************ Sous-Menus ************//

Color0S  = '#fda100' // Couleur du texte

Color1S  = '#344791' // Couleur Arrière

Color2S  = '#2c74f8' // Couleur Arrière Surbrillance

Color3S  = '#232641' // Couleur Bordure

EnLigne  =   0       // 1:pour ranger sur une seule ligne  0:en colonne

LargeurS = 133       // Largeur

HauteurS =  20       // Hauteur

AlignS   = 'center'  //'center','right','left'

FontS    = 'Verdana' // Police

SizeS    =  10       // Taille de la Police

WeightS  = 'bold'    // Epaisseur de la Police

FonduS   =   1       // 1:Fondu, 0:aucun

CursorS  = 'pointer' // Curseur-> default,hand...



k=-1; zlien = new Array



i=0; zlien[++k] = new Array  //   Rubrique Accueil

//zlien[k][i++] = '...'

//zlien[k][i++] = 'http://'

i=0; zlien[++k] = new Array  //   Rubrique Ddepannagepannage

zlien[k][i++] = 'Forfait mise en route'

zlien[k][i++] = 'index.php?guest=mise_en_route' 

zlien[k][i++] = 'Initiation informatique'

zlien[k][i++] = 'index.php?guest=initiation'

zlien[k][i++] = 'Dépannage et maintenance'

zlien[k][i++] = 'index.php?guest=maintenance'

zlien[k][i++] = 'Forfait sauvegarde'

zlien[k][i++] = 'index.php?guest=sauvegarde'

zlien[k][i++] = 'Forfait sécurité'

zlien[k][i++] = 'index.php?guest=securite'

i=0; zlien[++k] = new Array  //   Rubrique Matériel

zlien[k][i++] = 'Upgrade matériel'

zlien[k][i++] = 'index.php?guest=upgrade'

zlien[k][i++] = 'Petite fourniture'

zlien[k][i++] = 'index.php?guest=fourniture' 


i=0; zlien[++k] = new Array  //  Créations Web

zlien[k][i++] = 'Catalogue'

zlien[k][i++] = 'index.php?guest=catalogue' 

zlien[k][i++] = 'Tarifs'

zlien[k][i++] = 'index.php?guest=tarifs'

i=0; zlien[++k] = new Array  //	  Accès clients

i=0; zlien[++k] = new Array  //	  Contact	



//************ Fin des paramètres, Début du programme ************//

if(document.getElementById) {



document.write('<style type="text/css">')

document.write('.popper {POSITION:absolute; VISIBILITY:hidden; z-index:15;}')

document.write('.ejmenu  {font-family:'+FontM+'; font-size:'+SizeM+'; font-weight:'+WeightM+'; color:'+Color0M+'; text-decoration:none; cursor:'+CursorM+';}')

document.write('.ejsmenu {font-family:'+FontS+'; font-size:'+SizeS+'; font-weight:'+WeightS+'; color:'+Color0S+'; text-decoration:none; cursor:'+CursorS+';}')

document.write('</style>')



function fadeIn(obj)

{ obj.style.filter="blendTrans(duration=1)"

  if(obj.visibility!="visible" && obj.filters.blendTrans.status!=1)

  { obj.filters.blendTrans.Apply()

    obj.style.visibility="visible"

    obj.filters.blendTrans.Play()

  }

}



document.onclick     = function() { skn.visibility="hidden" }

document.onmousemove = function()

{  document.getElementById('topmenu').style.top=document.body.scrollTop+PosY   

   document.getElementById('topmenu').style.visibility='visible'    

}



window.onscroll = function()

{  document.getElementById('topmenu').style.visibility='hidden'

   skn.visibility = "hidden"

}



function pop(msg,pos)

{ skn.visibility="hidden"

  skn.top=document.body.scrollTop+PosY+HauteurM

  if(msg.length==0) return

  pass=0

  if(EnLigne)

  { content="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="+Color3S+" WIDTH="+LargeurM*menu.length/2+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=1><TR>"

    while(pass<msg.length)

    { content+="<TD align="+AlignS+" BGCOLOR="+Color1S+" onMouseDown='location.href=\""+msg[pass+1]+"\"' onMouseOver=\"this.style.background='"+Color2S+"'\" onMouseOut=\"this.style.background='"+Color1S+"'\" HEIGHT="+HauteurS+" CLASS=ejsmenu>"+msg[pass]+"</TD>"

      pass+=2

    }

    content+="</TR>"

  } else

  { skn.left=pos-1

    content="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="+Color3S+" WIDTH="+LargeurS+"><TR><TD><TABLE WIDTH="+LargeurS+" BORDER=0 CELLPADDING=0 CELLSPACING=1>"

    while(pass<msg.length)

    { content+="<TR><TD align="+AlignS+" WIDTH="+LargeurS+" BGCOLOR="+Color1S+" onMouseDown='location.href=\""+msg[pass+1]+"\"' onMouseOver=\"this.style.background='"+Color2S+"'\" onMouseOut=\"this.style.background='"+Color1S+"'\" HEIGHT="+HauteurS+" CLASS=ejsmenu> "+msg[pass]+"</TD></TR>"

      pass+=2

    }      

  }

  document.getElementById("topdeck").innerHTML=content+"</TABLE></TD></TR></TABLE>"

  if(navigator.appName.substring(0,3)=="Net" || !FonduS) skn.visibility="visible"; else fadeIn(topdeck);

}



document.write('<DIV style="position:relative;"><DIV class=popper id=topdeck></DIV><TABLE style="position:absolute;" ID=topmenu BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR='+Color3M+' WIDTH='+LargeurM*menu.length/2 +' HEIGHT='+HauteurM+'><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=100%><tr>')

skn=document.getElementById("topdeck").style

pass=0

while(pass<menu.length/2)                                        

{ document.write("<TD WIDTH="+LargeurM+" align="+AlignM+" BGCOLOR="+Color1M+" onMouseDown='location.href=\""+menu[pass*2+1]+"\"' onMouseOver='this.style.background=\""+Color2M+"\";pop(zlien["+pass+"],this.offsetLeft)' onMouseOut='this.style.background=\""+Color1M+"\"' CLASS=ejmenu>"+menu[pass*2]+"</TD>")

  pass++

}

document.write('</TR></TABLE></TD></TR></TABLE></DIV>')

document.getElementById('topmenu').style.top=document.body.scrollTop+PosY

}


