posYmenu = 20;
bgcolor='#DDFFF0';
bgcolor2='white';
needcenter =true;
if(!needcenter)
posXmenu = 0;
else
{ if (document.all)
posXmenu = (document.body.clientWidth/2)-(240/2);
else
posXmenu = (window.innerWidth/2)-(240/2); 
}
document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3; }')
document.write('#topgauche { position:absolute; top:'+posYmenu+'px; left:'+posXmenu+'px; z-index:10; }')
document.write('A:hover.ejsmenu {color:#00005A; text-decoration:none;}')
document.write('A.ejsmenu {color:#00005A; text-decoration:none;}')
document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>');

/*
LIENS
*/
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
zlien[2] = new Array;
zlien[3] = new Array;
zlien[4] = new Array;
zlien[5] = new Array;
zlien[0][0] = '<A HREF="ski.htm" CLASS=ejsmenu>- Ski Alpin</A>';
zlien[0][1] = '<A HREF="skifondrando.htm" CLASS=ejsmenu>- Ski de fond et Randonnée</A>';
zlien[0][2] = '<A HREF="surf.htm" CLASS=ejsmenu>- Surf et Nouvelle glisse</A>';
zlien[0][3] = '<A HREF="raquetteluge.htm" CLASS=ejsmenu>- Accessoires Montagne<br>&nbsp;&nbsp;- Raquettes et Luges</A>';

zlien[1][0] = '<A HREF="velos.htm" CLASS=ejsmenu>- Vélos de Course</A>';
zlien[1][1] = '<A HREF="velos.htm#VTT" CLASS=ejsmenu>- VTC, VTT, Roller</A>';
zlien[1][2] = '<A HREF="canyon.htm" CLASS=ejsmenu>- Equipement Canyoning<br>&nbsp;&nbsp;- Randonnées Escalade</A>';

zlien[2][0] = '<A target="_blank" HREF="http://www.saint-lary-guide.com" CLASS=ejsmenu>Avec notre partenaire<br>&nbsp;&nbsp;Maison de la Montagne</A>';

zlien[3][0] = '<A target="_blank" HREF="enter.html" CLASS=ejsmenu>- Boutique en ligne</A>';
zlien[3][1] = '<A HREF="alex.htm" CLASS=ejsmenu>- Surface de vente</A>';
zlien[3][2] = '<A HREF="acces.htm" CLASS=ejsmenu>- Accès au magasin</A>';
zlien[3][3] = '<A HREF="catalogue_des_marques.htm" CLASS=ejsmenu>- Catalogue des marques</A>';

zlien[4][0] = '<A HREF="reservation.html" CLASS=ejsmenu>- Réservez votre Matériel</A>';
zlien[4][1] = '<A HREF="contact.htm" CLASS=ejsmenu>- Ecrivez-nous</A>';
zlien[4][2] = '<A HREF="liens.htm" CLASS=ejsmenu>- Nos liens amis</A>';

var nava = (document.layers);
var dom = (document.getElementById);
var iex = (document.all);
if (nava) { skn = document.topdeck }
else if (dom) { skn = document.getElementById("topdeck").style }
else if (iex) { skn = topdeck.style }
skn.top = posYmenu+40;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#006600 WIDTH=180 ><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=1 >";
pass = 0
while (pass < msg.length)
{
content += "<TR><TD BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=20 ><FONT SIZE=2 FACE=\"Arial\">&nbsp;&nbsp;"+msg[pass]+"</FONT></TD></TR>";
pass++;
}
content += "</TABLE></TD></TR></TABLE>";
if (nava)
{
skn.document.write(content);
skn.document.close();
skn.visibility = "visible";
}
else if (dom)
{
document.getElementById("topdeck").innerHTML = content;
skn.visibility = "visible";
}
else if (iex)
{
document.all("topdeck").innerHTML = content;
skn.visibility = "visible";
}
}
function kill()
{
skn.visibility = "hidden";
}
document.onclick = kill;
document.write('<DIV ID=topgauche><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#00005A WIDTH=450 ><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT=25 ><TR>')
document.write('<TD WIDTH=100 ALIGN=left BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[0],0)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[0],0)" href=# CLASS=ejsmenu><b><FONT SIZE=2 FACE="Arial">Locations<br>Hiver</FONT></b></a></TD>')
document.write('<TD WIDTH=100 ALIGN=left BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],90)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],100)" href=# CLASS=ejsmenu><b><FONT SIZE=2 FACE="Arial">Locations<br>Eté</FONT></b></a></TD>')
document.write('<TD WIDTH=100 ALIGN=left BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],165)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],200)" href=# CLASS=ejsmenu><b><FONT SIZE=2 FACE="Arial">Séjours<br>Sportifs</FONT></b></a></TD>')
document.write('<TD WIDTH=100 ALIGN=left BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],258)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],300)" href=# CLASS=ejsmenu><b><FONT SIZE=2 FACE="Arial">Boutique<br>Magasin</FONT></b></a></TD>')
document.write('<TD WIDTH=120 ALIGN=left BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],342)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[4],400)" href=# CLASS=ejsmenu><b><FONT SIZE=2 FACE="Arial">Réservations<br>Contacts - Liens</FONT></b></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')


