posYmenu = 110;
bgcolor='#CC3300';
bgcolor2='#6E6CA3';
needcenter =false;
if(!needcenter)
	posXmenu = 160;
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:#FF9900; text-decoration:none;}')
document.write('A.ejsmenu {color:#FFFFFF; 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[6] = new Array; 
zlien[7] = new Array; 
zlien[8] = new Array; 

/*SOUS-MENU ACTUALITES_________________________*/
zlien[0][0] = '<A HREF="actualites.htm" CLASS=ejsmenu>Actualités</A>'; 
zlien[0][1] = '<A HREF="archives.htm" CLASS=ejsmenu>Archives</A>'; 
zlien[0][2] = '<A HREF="bouge.htm" CLASS=ejsmenu>Ca bouge autour de nous</A>'; 


/*SOUS-MENU TRAIN__________________________*/
zlien[1][0] = '<A HREF="train_mayenne_laval.htm" CLASS=ejsmenu>Train Mayenne-Laval</A>'; 
zlien[1][1] = '<A HREF="train_laval_angers.htm" CLASS=ejsmenu>Train Laval-Angers</A>'; 
zlien[1][2] = '<A HREF="horaires_bus_car_train_mayenne.htm" CLASS=ejsmenu>Horaires</A>';
zlien[1][3] = '<A HREF="phototheque.htm" CLASS=ejsmenu>Photothèque</A>';

/*SOUS-MENU BUS ET CARS__________________________*/
zlien[2][0] = '<A HREF="bus_mayenne.htm" CLASS=ejsmenu>Bus de Mayenne</A>'; 
zlien[2][1] = '<A HREF="reseau_pegase_car_mayenne.htm" CLASS=ejsmenu>Réseau Pégase</A>'; 
zlien[2][2] = '<A HREF="petit_pegase.htm" CLASS=ejsmenu>Petit Pégase</A>'; 
zlien[2][3] = '<A HREF="autocars_reg.htm" CLASS=ejsmenu>Autocars régionaux</A>'; 
zlien[2][4] = '<A HREF="horaires_bus_car_train_mayenne.htm" CLASS=ejsmenu>Horaires</A>';
zlien[2][5] = '<A HREF="phototheque.htm" CLASS=ejsmenu>Photothèque</A>';

/*SOUS-MENU ENJEUX__________________________*/
zlien[3][0] = '<A HREF="gare_mayenne.htm" CLASS=ejsmenu>Gare de Mayenne</A>'; 
zlien[3][1] = '<A HREF="deviation_contournement_mayenne.htm" CLASS=ejsmenu>Déviation de Mayenne</A>'; 
zlien[3][2] = '<A HREF="plu.htm" CLASS=ejsmenu>PLU de Mayenne</A>'; 
zlien[3][2] = '<A HREF="plu.htm" CLASS=ejsmenu>PLU de Mayenne</A>'; 
zlien[3][2] = '<A HREF="plu.htm" CLASS=ejsmenu>PLU de Mayenne</A>'; 

/*SOUS-MENU ENJEUX__________________________*/
zlien[4][0] = '<A HREF="situation.htm" CLASS=ejsmenu>Fracture territoriale</A>'; 
zlien[4][1] = '<A HREF="jeunes.htm" CLASS=ejsmenu>Mobilité des jeunes</A>'; 
zlien[4][2] = '<A HREF="interet.htm" CLASS=ejsmenu>Transports publics ++</A>'; 

/*SOUS-MENU PRATIQUE__________________________*/
zlien[5][0] = '<A HREF="covoiturage_mayenne.htm" CLASS=ejsmenu>Co-voiturage</A>'; 
zlien[5][1] = '<A HREF="voyagez_malin.htm" CLASS=ejsmenu>Voyagez malin</A>'; 
zlien[5][2] = '<A HREF="horaires_bus_car_train_mayenne.htm" CLASS=ejsmenu>Horaires</A>';
zlien[5][3] = '<A HREF="mayenne_velo.htm" CLASS=ejsmenu>La Mayenne à vélo</A>';

/*SOUS-MENU CURIOSITE__________________________*/
zlien[6][0] = '<A HREF="historique.htm" CLASS=ejsmenu>Historique</A>'; 
zlien[6][1] = '<A HREF="visite_virtuelle.htm" CLASS=ejsmenu>Visite virtuelle</A>';
zlien[6][2] = '<A HREF="livres.htm" CLASS=ejsmenu>Un peu de lecture</A>';
zlien[6][3] = '<A HREF="phototheque.htm" CLASS=ejsmenu>Photothèque</A>';

/*SOUS-MENU TRACES__________________________*/
zlien[7][0] = '<A HREF="asso_traces.htm" CLASS=ejsmenu>Association Tracés</A>'; 
zlien[7][1] = '<A HREF="adherer.htm" CLASS=ejsmenu>Adhérer</A>'; 
zlien[7][2] = '<A HREF="nos_liens.htm" CLASS=ejsmenu>Liens</A>'; 

/*SOUS-MENU CONTACT__________________________*/
zlien[8][0] = '<A HREF="formulaire.htm" CLASS=ejsmenu>E-mail</A>'; 
zlien[8][1] = '<A HREF="contact_poste.htm" CLASS=ejsmenu>Poste</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=#FFFFFF WIDTH=130><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=1 FACE=\"verdana\"><B>  "+msg[pass]+"</B></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;

/*TITRE MENU__________________________*/
document.write('<DIV ID=topgauche><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#231F73 WIDTH=700><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=15><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"><B>ACTUALITES</B></FONT></a></TD>')

document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[1],85)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[1],85)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>TRAIN</B></FONT></a></TD>')

document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[2],152)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[2],152)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>BUS ET CARS</B></FONT></a></TD>')

document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[3],215)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[3],215)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>URBANISME</B></FONT></a></TD>')

document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[4],300)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[4],300)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>ENJEUX</B></FONT></a></TD>')

document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[5],380)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[5],380)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>TOUT POUR VOYAGER</B></FONT></a></TD>')

document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[6],460)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[6],460)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>CURIOSITE</B></FONT></a></TD>')

document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[7],540)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[7],540)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>NOUS CONNAÎTRE</B></FONT></a></TD>')

document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[8],625)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[8],625)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>CONTACT</B></FONT></a></TD>')

document.write('</TR></TABLE></TD></TR></TABLE></DIV>')