posYmenu = 120;
posXmenu = 216;
bgcolor='#333333';
bgcolor2='#000080';
//needcenter =false;
//if(!needcenter)
//	posXmenu = 0;
//else
//	{	if (document.all)
//		posXmenu = (document.body.clientWidth/2)-(200/2);
//	else
//		posXmenu = (window.innerWidth/2)-(200/2); 
//	}


function popupcentree(page,largeur,hauteur,options)
{
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
var w=window.open(page,"information","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
w.focus();
}

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:#FFFFFF; text-decoration:none;}')// color=couleur survol barre principale +smenus
document.write('A.ejsmenu {color:#FFFFFF; text-decoration:none;}')// color=couleur STATIQUE barre principale +smenus
document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>'); 
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[0][0] = '<A HREF="notrestructure.htm" CLASS=ejsmenu>Notre structure</A>'; 
zlien[0][1] = '<A HREF="zoneaction.htm" CLASS=ejsmenu>Zone d\'action</A>'; 

zlien[1][0] = '<A HREF="gaz_partenaires.htm" CLASS=ejsmenu>Nos partenaires</A>'; 
//zlien[1][1] = '<A HREF="gaz_reseau.htm" CLASS=ejsmenu>Le réseau national</A>'; 
zlien[1][1] = '<A HREF="http://www.reseaux-gaz.com/index.asp?nomste=CARDOT" target="_blank" CLASS=ejsmenu>Tous nos produits</A>'; 

zlien[2][0] = '<A HREF="electricite_partenaires.htm" CLASS=ejsmenu>Nos partenaires</A>'; 

zlien[3][0] = '<A HREF="industries.htm" CLASS=ejsmenu>Nos partenaires</A>'; 

zlien[4][0] = '<A HREF="eclairage_public.htm" CLASS=ejsmenu>Nos partenaires</A>'; 

zlien[5][0] = '<A HREF="mobilier_urbain.htm" CLASS=ejsmenu>Nos partenaires</A>';

zlien[6][0] = '<A HREF="contact_form.htm" CLASS=ejsmenu>Formulaire</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+25 // pos verticale sous menus

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#FFFFF WIDTH=124><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=1>"; // largeurs des sous menus
pass = 0
while (pass < msg.length)
	{
	content += "<TR><TD ALIGN=center BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=20><FONT SIZE=1 FACE=\"Arial\">  "+msg[pass]+"</FONT></TD></TR>";// hauteurs des sous menus
	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=804><TR><TD><TABLE CELLPADING=0 CELLSPACING=3 BORDER=0 WIDTH=100% HEIGHT=25><TR>')// bgcolor=bordure menu barre principale

document.write('<TD WIDTH=114 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>Présentation</a></TD>')

document.write('<TD WIDTH=114 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],114)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],114)" href=# CLASS=ejsmenu>Les réseaux Gaz</a></TD>')

document.write('<TD WIDTH=114 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],228)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],228)" href=# CLASS=ejsmenu>Les réseaux Elec</a></TD>')

document.write('<TD WIDTH=114 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],342)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],342)" href=# CLASS=ejsmenu>Elec Industries</a></TD>')

document.write('<TD WIDTH=114 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],456)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[4],456)" href=# CLASS=ejsmenu>Eclairage public</a></TD>')

document.write('<TD WIDTH=114 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[5],570)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[5],570)" href=# CLASS=ejsmenu>Mobilier urbain</a></TD>')

document.write('<TD WIDTH=114 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[6],684)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[6],600)" href=# CLASS=ejsmenu>Contact</a></TD>')

document.write('</TR></TABLE></TD></TR></TABLE></DIV>')