//************ Menu Principal ************//
Color0M  = '#844200' //Couleur du texte
Color1M  = '#FFF5F5' //Couleur Arriere
Color2M  = '#FFFAF0' //Couleur Arriere Surbrillance
Color3M  = '#990099' //Couleur Bordure ????
PosY     = -17       //Distance entre le haut de l'ecran et le menu
PosX     = 375       // 110 * 7 / 2
LargeurM = 111       //Largeur
HauteurM =  30       // Hauteur
AlignM   = 'center'  //'center','right','left'
FontM    = 'Verdana' //Police
SizeM    =  13       //Taille de la Police
WeightM  = 'bold'    //Epaisseur de la Police
CursorM  = 'hand' //Curseur: default,hand...

menu = new Array
i=0
//--------[Texte/Html]------------------[ Adresse ]--------------------------//
menu[i++]='Sommaire'   	;menu[i++]='index.html'
menu[i++]='Promotion' 	;menu[i++]='deco-promotion.html'
menu[i++]='Art' 		;menu[i++]='art-artistes.html'
menu[i++]='D&eacute;coration'  ;menu[i++]='decoration.html'
menu[i++]='Les Objets'  ;menu[i++]='decoration.html'
menu[i++]='Contact' 	;menu[i++]='contact.html'
//menu[i++]='Votre Caddie';menu[i++]='caddie.html'

//************ Sous-Menus ************//
Color0S  = '#FFDDFF' //Couleur du texte
Color1S  = '#554455' //Couleur Arriere
Color2S  = '#880011' //Couleur Arriere Surbrillance
Color3S  = '#FFFF00' //Couleur Bordure
EnLigne  =   0       //1:pour ranger sur une seule ligne  0:en colonne
LargeurS = 150       //Largeur
HauteurS =  20       //Hauteur
AlignS   = 'center'  //'center','right','left'
FontS    = 'Verdana' //Police
SizeS    =  11       //Taille de la Police
WeightS  = 'bold'    //Epaisseur de la Police
FonduS   =  1      //1:Fondu, 0:aucun
CursorS  = 'hand' //Curseur: default,hand...

k=-1; zlien=new Array

i=0; zlien[++k]=new Array // Sommaire
i=0; zlien[++k]=new Array // Promotions
zlien[k][i++]='Les Oeuvres en Promo'	;zlien[k][i++]='art-promotion.html'
zlien[k][i++]='Les Objets en Promo'     ;zlien[k][i++]='deco-promotion.html'

i=0; zlien[++k]=new Array  // Art
zlien[k][i++]='Les Artistes'	;zlien[k][i++]='art-artistes.html'
zlien[k][i++]='Les Oeuvres'    ;zlien[k][i++]= 'art-tableaux.html' //'art-tableaux.html'

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

i=0; zlien[++k]=new Array // Les Objets
zlien[k][i++]='Les Chats'     			;zlien[k][i++]='deco-chats.html'
zlien[k][i++]='Les Oiseaux'    			;zlien[k][i++]='deco-oiseaux.html'
zlien[k][i++]='Les Girafes'    			;zlien[k][i++]='deco-girafes.html'
zlien[k][i++]='Les El&eacute;phants'  	;zlien[k][i++]='deco-elephants.html'
zlien[k][i++]='Les Autres Animaux'  	;zlien[k][i++]='deco-animaux.html'
zlien[k][i++]='Les Carillons'     		;zlien[k][i++]='deco-carillons.html'
zlien[k][i++]='Les Masques'     		;zlien[k][i++]='deco-masques.html'
zlien[k][i++]='Les Boites et Encens'	;zlien[k][i++]='deco-boites.html'
zlien[k][i++]='Les Porte-Cd'  			;zlien[k][i++]='deco-porte-cd.html'
zlien[k][i++]='Les Objets Divers'  		;zlien[k][i++]='deco-divers.html'

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

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


//************ Fin des parametres, Debut du programme ************//
if(document.getElementById) {

document.write('<style>')
document.write('.ejmenu  {background:'+Color1M+';text-align:'+AlignM+';font:'+WeightM+' '+SizeM+' '+FontM+';color:'+Color0M+';text-decoration:none;cursor:'+CursorM+'}')
document.write('.ejsmenu {background:'+Color1S+';text-align:'+AlignS+';font:'+WeightS+' '+SizeS+' '+FontS+';color:'+Color0S+';text-decoration:none;cursor:'+CursorS+'}')
document.write('</style>')


function fadeIn(obj)
{ obj.style.filter="blendTrans(duration=0.3)"
  if(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() { dgt.top=document.body.scrollTop+PosY; dgt.visibility='visible' } //; dgt.left=(document.body.clientWidth/2)-PosX }
window.onscroll      = function() { dgt.visibility=skn.visibility='hidden' }

function pop(msg,pos)
{ skn.visibility="hidden"
  skn.top=document.body.scrollTop+PosY+HauteurM
  if(!msg.length) return
  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>"
    for(pass=0;pass<msg.length;pass+=2) content+="<TD onMouseDown='location.href=\""+msg[pass+1]+"\"' onMouseOver=\"this.style.background='"+Color2S+"'\" onMouseOut=\"this.style.background='"+Color1S+"'\" HEIGHT="+HauteurS+" CLASS=ejsmenu>"+msg[pass]+"</TD>"
  } 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>"    
    for(pass=0;pass<msg.length;pass+=2) content+="<TR><TD WIDTH="+LargeurS+" onMouseDown='location.href=\""+msg[pass+1]+"\"' onMouseOver=\"this.style.background='"+Color2S+"'\" onMouseOut=\"this.style.background='"+Color1S+"'\" HEIGHT="+HauteurS+" CLASS=ejsmenu>"+msg[pass]+"</TD></TR>"
  }
  document.getElementById("topdeck").innerHTML=content+"</TR></TABLE></TD></TR></TABLE>"
  if(document.all && FonduS)  fadeIn(topdeck); else skn.visibility="visible";
}

document.write('<DIV style="position:relative"><DIV style="POSITION:absolute;VISIBILITY:hidden;z-index:15" 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
dgt=document.getElementById('topmenu').style
for(pass=0;pass<menu.length/2;pass++) document.write("<TD WIDTH="+LargeurM+" 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>")
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')
dgt.top=document.body.scrollTop+PosY
//dgt.left=(document.body.clientWidth/2)-PosX
}
