posYmenu = 80;
bgcolor='#CDDEF8';
bgcolor2='#A4C3F1';
bgcolor3='#8FBC8F';
bgcolor4='#FF0253';
needcenter =true;
if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(330/2);
	else
		posXmenu = (window.innerWidth/2)-(330/2); 
	}
document.write('<style type="text/css">');
document.write('.popper { position: absolute; visibility: hidden; z-index:9; }')
document.write('#topgauche { position:absolute; top:'+posYmenu+'px; left:'+posXmenu+'px; z-index:10; }')
document.write('A:hover.ejsmenu {color:#000000; text-decoration:none; font size=10px;}')
document.write('A.ejsmenu {color:#000000; text-decoration:none; font size=10px;}')
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[0][0] = '<a href="historique" target="_parent" class="ejsmenu">historique&nbsp;&nbsp;&nbsp;</a>';
zlien[0][1] = '<a href="contact" target="_parent" class="ejsmenu">nous contacter&nbsp;&nbsp;&nbsp;</a>';
zlien[0][2] = '<a href="form-contact" target="_parent" class="ejsmenu">un devis&nbsp;&nbsp;&nbsp;</a>';
zlien[1][0] = '<a href="form-auto" target="_parent" class="ejsmenu">auto</a>';
zlien[1][1] = '<a href="assurance-auto" target="_parent" class="ejsmenu">r&eacute;sili&eacute; auto</a>';
zlien[1][2] = '<a href="form-habitat" target="_parent" class="ejsmenu">multirisque habitation</a>';
zlien[1][3] = '<a href="protection-bailleur-grl" target="_parent" class="ejsmenu">protection bailleur GRL de DAS</a>';
zlien[1][4] = '<a href="complementaire-sante" target="_parent" class="ejsmenu">sant&eacute; - pr&eacute;voyance</a>';
zlien[1][5] = '<a href="capital-retraite" target="_parent" class="ejsmenu">retraite - placements</a>';
zlien[1][6] = '<a href="protection-juridique" target="_parent" class="ejsmenu">protection juridique</a>';
zlien[1][7] = '<a href="assurances-professionnels" target="_parent" class="ejsmenu">assurances pour professionnels</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+18 + 'px';

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos + 'px';
var content ="<TABLE BORDER=0 BGCOLOR=#FFFFFF CELLPADDING=0 CELLSPACING=0 WIDTH=190><TR><TD><TABLE WIDTH=100% BGCOLOR=#FFFFFF 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=14><FONT SIZE=1 FACE=\"Verdana\">&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 WIDTH=550><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT=12 style="font-family: Arial; font-size: 10px"><TR>')
document.write('<TD WIDTH=75 ALIGN=center BACKGROUND='+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 FACE="Verdana">Notre cabinet</FONT></a></TD>')
document.write('<TD WIDTH=60 ALIGN=center BACKGROUND='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],94)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],100)" href=# class="ejsmenu"><FONT FACE="Verdana">Nos offres</FONT></a></TD>')
document.write('<TD WIDTH=18 bgcolor="#1167CD"><img border="0" src="images/anim_white.gif" width="18" height="14"></TD>')
document.write('<TD WIDTH=200 ALIGN=center bgcolor="#FF0253" onMouseOver="this.style.background=\''+bgcolor2+'\';kill(zlien[2],0)" onMouseOut="this.style.background=\''+bgcolor4+'\'"><A onClick="return(true)" href="tarification-directe" target="_parent" class="ejsmenu"><FONT FACE="Verdana">TARIFEZ ET SOUSCRIVEZ EN LIGNE !</FONT></a></TD>')
/*document.write('<TD WIDTH=278 ALIGN=center BACKGROUND='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';kill(zlien[2],140)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(true)" href="devis" target="_parent" class="ejsmenu"><FONT FACE="Verdana">Calculez et souscrivez en ligne votre devis MOTO</FONT></a></TD>')*/
document.write('<TD WIDTH=90 ALIGN=center BACKGROUND='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';kill(zlien[3],0)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(true)" href="partenaires-assurances" target="_parent" class="ejsmenu"><FONT FACE="Verdana">Nos partenaires</FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')
