
 /*function popupcentree(page,largeur,hauteur,options) {    
  var top=(screen.height-hauteur)/2;   
  var left=(screen.width-largeur)/2;  window.open("contact.htm","","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options); }*/

posYmenu = 175;
bgcolor='images/b_bgcolor.gif';
bgcolor2='images/b_bgcolor.gif';
bgcolor3='#F3F3F3';
needcenter =true;
if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(250/2);
	else
		posXmenu = (window.innerWidth/2)-(400/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('#txt {color:#585858; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10 px; font-weight: bold}')
document.write('#txt1 {color:#585858; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11 px}')
document.write('A:hover.ejsmenu {color:#585858; text-decoration:underline; font-size: 10 px}')
document.write('A.ejsmenu {color:#585858; text-decoration:none;}')
document.write('</style>')

document.write('<DIV class=popper id=topdeck></DIV>');

zlien = new Array;
zlien[1] = new Array;
zlien[1][0] = '';
/*zlien[1][1] = '<A HREF="index.php"><font ID=txt1"> Page accueil</font></A>';
zlien[1][2] = '<A HREF="addagent.php" target="new" onClick="window.open(this.href,"new","width=530,height=650,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");"><font ID=txt1"> Inscription</font></A>';
zlien[1][3] = '<A href="contact.htm" target="_blank"><font ID=txt1"> Contact</font></A>';
zlien[1][4] = '<A HREF="./?id=plan"><font ID=txt1"> Plan du site</font></A>';
zlien[1][5] = '<A HREF="partenaire.php"><font ID=txt1"> Devenez partenaire</font></A>';
zlien[1][6] = '<A HREF="about.php"><font ID=txt1"> Qui sommes nous</font></A>';*/
zlien[2] = new Array;
zlien[2][1] = '<A HREF="carview.php?sort=id%20DESC"><font ID=txt1"> Petites annonces</font></A>';
zlien[2][2] = '<A HREF="browse.php"><font ID=txt1"> Recherche avancée</font></A>';

zlien[3] = new Array;
/*zlien[3][1] = '<A HREF="guide.php"><font ID=txt1"> Guide d\'entretien</font></A>';
zlien[3][2] = '<A HREF="conseils.php"><font ID=txt1"> Conseils pratiques</font></A>';
zlien[3][3] = '<A HREF="./?id=assurance"><font ID=txt1"> Assurances</font></A>';
zlien[3][4] = '<A HREF="./?id=vignette"><font ID=txt1"> Vignette</font></A>';
zlien[3][5] = '<A HREF="./?id=financement"><font ID=txt1"> Financement</font></A>';*/
zlien[4] = new Array;
/*zlien[4][1] = '<A HREF="agentadmin.php"><font ID=txt1"> Identification</font></A>';
zlien[4][2] = '<A HREF="accountedit.php"><font ID=txt1"> Mon profil</font></A>';
zlien[4][3] = '<A HREF="agentadmin.php?action=addlisting"><font ID=txt1"> Déposer annonce</font></A>';
zlien[4][4] = '<A HREF="agentadmin.php"><font ID=txt1"> Gérer annonces</font></A>';
zlien[4][5] = '<A HREF="#"><font ID=txt1"> Carnet d\'entretien</font></A>';*/
zlien[5] = new Array;
zlien[5][1] = '<A HREF="./?detail=proshop&rayon=PROMOTIONS"><font ID=txt1"> La promo</font></A>';
zlien[5][2] = '<A HREF="./?detail=proshop"><font ID=txt1"> Les rayons</font></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+30;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#EBEBEB WIDTH=125><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=1>";
pass = 0
while (pass < msg.length)
	{
	if(pass!=0){
	content += "<TR><TD background="+bgcolor3+" onMouseOver=\"this.style.background='"+bgcolor3+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=15><FONT ID=txt1> "+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=500><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT=6><TR>');
document.write('<TD WIDTH=100 HEIGHT=1 ALIGN=center background='+bgcolor+' onmouseover="this.style.background='+bgcolor2+'; pop(zlien[1],0)" onmouseout="this.style.background='+bgcolor+'"><a href="index.php"><font ID=txt>:: Accueil</font></a></TD>');
document.write('<TD WIDTH=100 HEIGHT=1  ALIGN=center background='+bgcolor+' onmouseover="this.style.background='+bgcolor2+'; pop(zlien[2],90)" onmouseout="this.style.background='+bgcolor+'"><A onclick="return(false)" onmouseover="pop(zlien[2],90)" href=# CLASS=ejsmenu><font ID=txt>:: Occasion</font></a></TD>');
document.write('<TD WIDTH=100 HEIGHT=1  ALIGN=center background='+bgcolor+' onmouseover="this.style.background='+bgcolor2+'; pop(zlien[3],190)" onmouseout="this.style.background='+bgcolor+'"><a href="banioles.php"><font ID=txt>:: L\'Argus</font></a></TD>');
document.write('<TD WIDTH=100  HEIGHT=1  ALIGN=center background='+bgcolor+' onmouseover="this.style.background='+bgcolor2+'; pop(zlien[4],190)" onmouseout="this.style.background='+bgcolor+'"><a href="pub.php"><font ID=txt>:: Pub</font></a></TD>');
document.write('<TD WIDTH=100  HEIGHT=1 ALIGN=center background='+bgcolor+' onmouseover="this.style.background='+bgcolor2+'; pop(zlien[5],395)" onmouseout="this.style.background='+bgcolor+'"><A onclick="return(false)" onmouseover="pop(zlien[5],395)" href=# CLASS=ejsmenu><font ID=txt>:: Boutique</font></a></TD>');
document.write('</TR></TABLE></TD></TR><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=25><TR>');
document.write('</TR></TABLE></TD></TR></TABLE></DIV>');