posYmenu = 7;
bgcolor='';
bgcolor2='';
bgcolor3='#DCE6EE';
bgcolor4='#4B6894';
needcenter =false;
if(!needcenter)
	posXmenu = 260;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-75;
	else
		posXmenu = (window.innerWidth/2)-75; 
	}
document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:0; }');
document.write('#topgauche { position:absolute; top:'+posYmenu+'px; left:'+posXmenu+'px; z-index:0; }');
document.write('A.ejsmenu {color:234B27; text-decoration:none;}');
document.write('A:hover.ejsmenu {color:#000000; text-decoration:none;}');
document.write('</style>');
document.write('<DIV class=popper id=topdeck></DIV>'); 
/* LIENS */ 
zlien = new Array; 

zlien[0] = new Array; 
zlien[0][0] = '<A HREF="page.htm" target="mainFrame"  CLASS=ejsmenu >Historique</A>'; 
zlien[0][1] = '<A HREF="page.htm#1"  target="mainFrame" CLASS=ejsmenu >Missions</A>'; 
zlien[0][2] = '<A HREF="page.htm#3"  target="mainFrame" CLASS=ejsmenu >Partenaires</A>'; 
 
zlien[1] = new Array;
/*
zlien[1][0] = '<A HREF="geographie.htm" target="mainFrame" CLASS=ejsmenu >Géographie </A>'; 
zlien[1][1] = '<A HREF="climatologie.htm" target="mainFrame" CLASS=ejsmenu >Climatologie</A>'; 
zlien[1][2] = '<A HREF="qualite_air.htm" target="mainFrame"  CLASS=ejsmenu >Qualité de l\'air</A>'; 
 */
zlien[2] = new Array;
//zlien[2][0] = '<A HREF="enviport.htm" CLASS=ejsmenu target="mainFrame" >Cartographies </A>'; 
zlien[2][1] = '<A HREF="inventaire.htm" CLASS=ejsmenu target="mainFrame" >Méthodologies </A>'; 
zlien[2][2] = '<A HREF="emiprox_frm.htm" target="_top" CLASS=ejsmenu >Consultation</A>'; 
zlien[2][0] = '<A HREF="cartographie_prevision.htm" target="mainFrame" CLASS=ejsmenu >Cartographies</A>'; 

zlien[3] = new Array;
//zlien[3][0] = '<A HREF="cartographie_prevision.htm" target="mainFrame" CLASS=ejsmenu >Cartographies </A>'; 
zlien[3][0] = '<A HREF="aires_frm.htm" target="_top" CLASS=ejsmenu >Cartographies</A>'; 
zlien[3][1] = '<A HREF="prevision_qualite_air.htm" target="mainFrame" CLASS=ejsmenu >Méthodologies</A>';

zlien[4] = new Array;
zlien[4][0] = '<A HREF="energair.htm" target="mainFrame" CLASS=ejsmenu >Méthodologies </A>'; 
zlien[4][1] = '<A HREF="http://www.aires-mediterranee.org/html/energair/" target="_parent"  CLASS=ejsmenu >Consultation</A>';


//zlien[7] = new Array; 

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=#9AB5D0 WIDTH=100><TR><TD><TABLE WIDTH=100 BORDER=0 CELLPADDING=0 CELLSPACING=1>";
	pass = 0;
	while (pass < msg.length)
	{
	content += "<TR><TD BGCOLOR="+bgcolor3+" onMouseOver=\"this.style.background='"+bgcolor4+"'\" onmouseOut=\"this.style.background='"+bgcolor3+"'\" HEIGHT=20><FONT SIZE=1 FACE=\"Verdana\"><B>&nbsp;&nbsp;"+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;
document.write('<DIV ID=topgauche><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0  WIDTH=600><TR>')
document.write('<td><TABLE WIDTH=80 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><TR><td></td><TD ALIGN=center   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 color="#000000" FACE="Verdana"><B>Présentation</B></FONT></a></TD></TR></TABLE></td>');
document.write('<td><TABLE WIDTH=11 CELLPADING=0 CELLSPACING=0 BORDER=0 HEIGHT=21><TD  >&nbsp;</TD></TR></TABLE></td>');
document.write('<td><TABLE WIDTH=90 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><td> </td><TD ALIGN=left   onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],90)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="pop(zlien[1],290)" href=page_etude.htm target="mainFrame" CLASS=ejsmenu><FONT SIZE=1 color="#000000" FACE="Verdana"><B>Zone d\' étude</B></FONT></a></TD></TR></TABLE></td>');
document.write('<td><TABLE WIDTH=9 CELLPADING=0 CELLSPACING=0 BORDER=0 HEIGHT=21><TD  >&nbsp;</TD></TR></TABLE></td>');
document.write('<td><TABLE WIDTH=140 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><td> </td><TD ALIGN=left   onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],195)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onMouseOver="pop(zlien[2],250)" href=# CLASS=ejsmenu><FONT SIZE=1 color="#000000" FACE="Verdana"><B>Inventaire d\'émissions</B></FONT></a></TD></TR></TABLE></td>');
document.write('<td><TABLE WIDTH=16 CELLPADING=0 CELLSPACING=0 BORDER=0 HEIGHT=21><TD  >&nbsp;</TD></TR></TABLE></td>');
document.write('<td><TABLE WIDTH=180 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><td> </td><TD ALIGN=left   onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],350)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onMouseOver="pop(zlien[3],820)" href=# CLASS=ejsmenu><FONT SIZE=1 color="#000000" FACE="Verdana"><B>Prévision de la qualité de l\'air</B></FONT></a></TD></TR></TABLE></td>');
document.write('<td><TABLE WIDTH=1 CELLPADING=0 CELLSPACING=0 BORDER=0 HEIGHT=21><TD  >&nbsp;</TD></TR></TABLE></td>');
//document.write('<td><TABLE WIDTH=180 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><td> </td><TD ALIGN=left   onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[7],350)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onMouseOver="pop(zlien[7],820)" href=enviport.htm target="mainFrame" CLASS=ejsmenu><FONT SIZE=1 color="#000000" FACE="Verdana"><B>Statistiques et validations</B></FONT></a></TD></TR></TABLE></td>');
//document.write('<td><TABLE WIDTH=1 CELLPADING=0 CELLSPACING=0 BORDER=0 HEIGHT=21><TD  >&nbsp;</TD></TR></TABLE></td>');
document.write('<td><TABLE WIDTH=150 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><td> </td><TD ALIGN=left   onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],540)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onMouseOver="pop(zlien[4],220)" href=contact.htm CLASS=ejsmenu><FONT SIZE=1 color="#000000" FACE="Verdana"><B>Inventaire énergétique</B></FONT></a></TD></TR></TABLE></td>');
	
/*
document.write('<td><TABLE WIDTH=110 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><TD ALIGN=center   onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],190)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A  onMouseOver="pop(zlien[3],320)" href=faq.htm CLASS=ejsmenu><FONT SIZE=1 color="#FFFFFF" FACE="Verdana"><B>Carte virtuelle</B></FONT></a></TD></TR></TABLE></td>');


document.write('<td><TABLE WIDTH=110 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><TD ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],290)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A  onMouseOver="pop(zlien[4],220)" href=# CLASS=ejsmenu><FONT SIZE=1 color="#FFFFFF" FACE="Verdana"><B>TARIFS</B></FONT></a></TD></TR></TABLE></td>');

document.write('<td><TABLE WIDTH=100 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><TD ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[5],290)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onMouseOver="pop(zlien[5],220)" href=# CLASS=ejsmenu><FONT SIZE=1 color="#FFFFFF" FACE="Verdana"><B>CONTACT</B></FONT></a></TD></TR></TABLE></td>');

document.write('<td><TABLE WIDTH=120 CELLPADING=0 CELLSPACING=1 BORDER=0 HEIGHT=21><TD ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[6],290)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onMouseOver="pop(zlien[6],350)" href=# CLASS=ejsmenu><FONT SIZE=1 color="#FFFFFF" FACE="Verdana"><B>REFERENCES</B></FONT></a></TD></TR></TABLE></td>');  */
document.write('<td><TABLE WIDTH=100 CELLPADING=0 CELLSPACING=0 BORDER=0 HEIGHT=21><TD  >&nbsp;</TD></TR></TABLE></td>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>');