posYmenu = 189;
bgcolor='#E9EAE9';
bgcolor1='#F8CF9B';
bgcolor2='#AFE099';
needcenter =true;
if(!needcenter)
	posXmenu = 15;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(700/2);
	else
		posXmenu = (window.innerWidth/2)-(700/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:#4B4A43; text-decoration:none; font-size:10px;}')
document.write('A.ejsmenu {color:#29Ad08; text-decoration:none; font-size:10px;}')
document.write('</style>')
document.write('<div class=popper id=topdeck></div>');
/*
********************************SCRIPT MODIFIE AVEC IMAGE DE FOND / background="images/menu_fond.gif"
*/
/*
SCRIPT EDITE SUR L'EDITEUR JAVACSRIPT
http://www.editeurjavascript.com
*/

/*
LIENS
*/
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;

zlien[0][0] = '<A HREF="presentation.htm" CLASS=ejsmenu>presentation&nbsp;&nbsp;&nbsp;</A>';
zlien[0][1] = '<A HREF="form_contact.htm" CLASS=ejsmenu>obtenir un devis&nbsp;</A>';
zlien[1][0] = '<A HREF="devis_auto.htm" CLASS=ejsmenu>AUTO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</A>';
zlien[1][1] = '<A HREF="devis_autotempo.htm" CLASS=ejsmenu>AUTO TEMPORAIRE - NOUVEAU ! </A>';
zlien[1][2] = '<A HREF="devis_campingcar.htm" CLASS=ejsmenu>CAMPING CAR - NOUVEAU ! &nbsp;</A>';
zlien[1][3] = '<A HREF="devis_moto.htm" CLASS=ejsmenu>MOTO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</A>';
zlien[1][4] = '<A HREF="devis_scooter.htm" CLASS=ejsmenu>SCOOTER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</A>';
zlien[1][5] = '<A HREF="devis_habitation.htm" CLASS=ejsmenu>HABITATION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</A>';
zlien[1][6] = '<A HREF="devis_animaux.htm" CLASS=ejsmenu>CHIENS ET CHATS - NOUVEAU ! &nbsp;</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+27;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 BGCOLOR=#F8CF9B CELLPADDING=0 CELLSPACING=0 WIDTH=200px><TR><TD><TABLE WIDTH=100% BGCOLOR=#FFFFFF BORDER=0 CELLPADDING=0 CELLSPACING=1>";
pass = 0
while (pass < msg.length)
	{
	content += "<TR><TD BGCOLOR="+bgcolor1+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor1+"'\" HEIGHT=15><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=700px><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT=25" style="font-family: Verdana; font-size: 10px;"><TR>')
document.write('<TD WIDTH=100px ALIGN=center BACKGROUND='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor1+'\';pop(zlien[0],20)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[0],0)" href=# CLASS=ejsmenu>Le cabinet</a></TD>')
document.write('<TD WIDTH=100px ALIGN=center BACKGROUND='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor1+'\';kill(zlien[5],100)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(true)" href="offres_assurance.htm" CLASS=ejsmenu>Nos offres</a></TD>')
document.write('<TD WIDTH=300px ALIGN=center BACKGROUND='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor1+'\';pop(zlien[1],230)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],230)" href=# CLASS=ejsmenu>Calculez et souscrivez en ligne vos devis...</a></TD>')
document.write('<TD WIDTH=100px ALIGN=center BACKGROUND='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor1+'\';kill(zlien[3],300)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(true)" href="partenaires.htm" CLASS=ejsmenu>Nos partenaires</a></TD>')
document.write('<TD WIDTH=100px ALIGN=center BACKGROUND='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor1+'\';kill(zlien[4])" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(true)" href="acces.htm" CLASS=ejsmenu>Nous contacter</a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')


									//	function clignotement(){
									//		if (document.getElementById("MonElement").style.display=="block")
									//			document.getElementById("MonElement").style.display="none";
									//		else
									//			document.getElementById("MonElement").style.display="block";
									//	}
									//	function clignotement2(){
									//		document.getElementById("MonElement").style.display="block";
									//		}
										// mise en place de l appel régulier de la fonction toutes les 0.5 secondes
									//	Periode = setInterval("clignotement()", 500);
										
										// pour arrêter le clignotement, il faut rajouter ca sur le lien ou le bouton :
										//onClick="clearInterval(Periode);"
										
										
										