posYmenu = 114;
bgcolor='#2A477C';
bgcolor2='#9CC2E0';
needcenter =false;
if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(300/2);
	else
		posXmenu = (window.innerWidth/2)-(300/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:#2E4172; text-decoration:none;}')
document.write('A.ejsmenu {color:#FFFFFF; text-decoration:none;}')
document.write('</style>')
//document.write('<DIV class=popper id=topdeck></DIV>');
/*
SCRIPT EDITE SUR L'EDITEUR JAVACSRIPT
http://www.editeurjavascript.com
*/

/*
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[0][0] = '<A HREF="/locations/location-gestion-bateau-vendee.asp" CLASS=ejsmenu > Voiles</A>';
zlien[0][1] = '<A HREF="/locations/loc_bateauMoteur.asp" CLASS=ejsmenu> Moteurs</A>';
zlien[0][2] = '<A HREF="/locations/conditions.asp" CLASS=ejsmenu> Conditions gιnιrales</A>';
zlien[1][0] = '<A HREF="/permis/permis-bateau-vendee.asp" CLASS=ejsmenu> Choisir son permis</A>';
zlien[1][1] = '<A HREF="/permis/tarifs.asp" CLASS=ejsmenu> Tarifs</A>';
zlien[1][2] = '<A HREF="/permis/date_cession.asp" CLASS=ejsmenu> Dates de cessions</A>';
zlien[1][3] = '<A HREF="/permis/inscription.asp" CLASS=ejsmenu> Inscription</A>';
//zlien[1][4] = '<A HREF="/permis/news.asp" CLASS=ejsmenu> News</A>';
zlien[2][0] = '<A HREF="/occasions/vente-achat-voilier-vendee.asp" CLASS=ejsmenu> Voiles</A>';
zlien[2][1] = '<A HREF="/occasions/vente-achat-moteur-vendee.asp" CLASS=ejsmenu> Moteurs</A>';
zlien[2][2] = '<A HREF="/occasions/vente-achat-pneumatique-vendee.asp" CLASS=ejsmenu> Pneumatiques</A>';
zlien[3][0] = '<A HREF="/contact/bateau-vendee.asp" CLASS=ejsmenu> Contact</A>';
zlien[3][1] = '<A HREF="/contact/occasion.asp?type_b=voilier" CLASS=ejsmenu> Contact vente voiliers</A>';
zlien[3][2] = '<A HREF="/contact/occasion.asp?type_b=bateau ΰ moteur" CLASS=ejsmenu> Contact vente moteurs</A>';
zlien[4][0] = '<A HREF="/neufs/vente-achat-voilier-vendee.asp" CLASS=ejsmenu> Voiles</A>';
zlien[4][1] = '<A HREF="/neufs/vente-achat-moteur-vendee.asp" CLASS=ejsmenu> Moteurs</A>';
zlien[4][2] = '<A HREF="/neufs/vente-achat-pneumatique-vendee.asp" CLASS=ejsmenu> Pneumatiques</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+24;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#2A477C WIDTH=150<TR><TD><TABLE WIDTH=100% BORDER=1 BORDERCOLOR=#2A477C 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=18><FONT SIZE=1 FACE=\"Verdana\">"+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)
  {
	  window.parent.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=#000000 WIDTH=300><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=25><TR>')
document.write('<TD WIDTH=100 ALIGN=center 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><FONT SIZE=1 FACE="Verdana">titre1</FONT></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[1],100)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[1],100)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">titre2</FONT></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[2],200)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[2],200)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">titre3</FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')*/

