posYmenu = 58;
bgcolor='#339049';
bgcolor2='#ffffff';
needcenter =false;

/*
    Utiliser avec ejs_menu.js les fichier ejs_menu_*****
    pour les couleurs du menus
    
    ejs_menu => pour changer les liens et les libell�s des liens
*/
if(!needcenter)
	posXmenu = 0;
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('<!--');
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('#topgauche A{ color:#ffffff; text-decoration:none; }');
document.write('#topgauche A:hover{ color:#009933; text-decoration:none; }');
document.write('#topgauche A:visited{ color:#ffffff; text-decoration:none; }');
document.write('#topgauche A:visited:hover{ color:#009933; text-decoration:none; }');

document.write('.ejsmenu{ color:#fffff; text-decoration:none; }');
document.write('.ejsmenu a{ color:#fffff; text-decoration:none; }');
document.write('.ejsmenu:hover{ color:#009933; text-decoration:none; }');
document.write('.ejsmenu:visited{ color:#ffffff; text-decoration:none; }');
document.write('.ejsmenu:visited:hover{ color:#009933; text-decoration:none; }');
*/
document.write('-->');
document.write('</style>');
document.write('<DIV class=popper id=topdeck></DIV>');
/*
SCRIPT EDITE SUR L'EDITEUR JAVACSRIPT
http://www.editeurjavascript.com
*/

/*
LIENS
*/
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
zlien[2] = new Array;
zlien[3] = new Array;
zlien[4] = new Array;

// menu vvad
zlien[1][0] = '<a HREF="Agence.php" CLASS="ejsmenu">Agence Economique</A>';
zlien[1][1] = '<a HREF="Aides.php" CLASS="ejsmenu">Les aides &aacute; la cr&eacute;ation</A>';
zlien[1][2] = '<a HREF="Formulaire_Projet.php" CLASS="ejsmenu">Votre projet en ligne !</A>';
zlien[1][3] = '<a HREF="Situation.php" CLASS="ejsmenu">Acc&egrave;s</A>';
//menu za
zlien[2][0] = '<a HREF="Zones_Activites.php" CLASS="ejsmenu">- Localisation g&eacute;ographique des zones d\'activit&eacute;s.</A>';
zlien[2][1] = '<a HREF="zonelesbats.php" CLASS="ejsmenu">Les Bats / ZI l\'A&eacute;roport.</A>';
zlien[2][2] = '<a HREF="lesancises.php" CLASS="ejsmenu">Les Ancises.</A>';
zlien[2][3] = '<a HREF="zoneboisjarraux.php" CLASS="ejsmenu">Le Bois des Jarraux</A>';
zlien[2][4] = '<a HREF="zonelescombes.php" CLASS="ejsmenu">Les Combes.</A>';
zlien[2][5] = '<a HREF="zonelaboucharde.php" CLASS="ejsmenu">La Boucharde.</A>';
zlien[2][6] = '<a HREF="zonefondvilain.php" CLASS="ejsmenu">La Contr&eacute;e des Fonds Vilains.</A>';
zlien[2][7] = '<a HREF="gauvin.php" CLASS="ejsmenu">La Contr&eacute;e de Gauvin.</A>';
zlien[2][8] = '<a HREF="zonechampcourt.php" CLASS="ejsmenu">Champcourt.</A>';
zlien[2][9] = '<a HREF="zonelatour.php" CLASS="ejsmenu">La Tour.</A>';
zlien[2][10] = '<a HREF="Bioparc2.php" CLASS="ejsmenu">Bioparc Vichy-Hauterive.</A>';
zlien[2][11] = '<a HREF="lecoquet.php" CLASS="ejsmenu">Le Coquet.</A>';
zlien[2][12] = '<a HREF="vichyrhue.php" CLASS="ejsmenu">Vichy-Rhue</A>';
zlien[2][13] = '<a HREF="zadavayat.php" CLASS="ejsmenu">Davayat</A>';
zlien[2][14] = '<a HREF="croixsaintmartin.php" CLASS="ejsmenu">La Croix Saint-Martin</A>';
zlien[2][15] = '<a HREF="atrium.php" CLASS="ejsmenu">L\'Atrium Vichy</A>';
zlien[2][16] = '<a HREF="RechercheLocaux.php" CLASS="ejsmenu">- Les locaux disponibles sur l\'agglom&eacute;ration de Vichy</A>';
//menu annuaire economique
zlien[3][0] = '<a HREF="Annuaire_Economique.php" CLASS="ejsmenu">Moteur de Recherche</A>';
zlien[3][1] = '<a HREF="ListeAnnuaireEconomie.php?categorie=industrie" CLASS="ejsmenu">Industries</A>';
zlien[3][2] = '<a HREF="ListeAnnuaireEconomie.php?categorie=tourisme" CLASS="ejsmenu">Culture/Thermalisme/Sport/Tourisme</A>';
zlien[3][3] = '<a HREF="ListeAnnuaireEconomie.php?categorie=enseignement" CLASS="ejsmenu">Enseignement/Formation</A>';
zlien[3][4] = '<a HREF="ListeAnnuaireEconomie.php?categorie=services" CLASS="ejsmenu">Services aux entreprises</A>';
zlien[3][5] = '<a HREF="ListeAnnuaireEconomie.php?categorie=adresses" CLASS="ejsmenu">Adresses Utiles</A>';
//zlien[3][5] = '<a HREF="Institutionnels.php" CLASS="ejsmenu">Adresses Utiles</A>';
//menu news
zlien[4][0] = '<a HREF="Liens.php" CLASS="ejsmenu">Liens</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=#000000 WIDTH=200><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>&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 BGCOLOR=#000000 WIDTH=500><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT=10><TR>')

document.write('<TD class="ejsmenu" WIDTH=200 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],0)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],0)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"><B>Vichy Val d\'Allier D&eacute;veloppement</B></FONT></a></TD>')

document.write('<TD class="ejsmenu" WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],136)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],150)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"><B>Zones d\'activit&eacute;s</B></FONT></a></TD>')

document.write('<TD class="ejsmenu" WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],220)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],100)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana"><B>Annuaire &eacute;conomique</B></FONT></a></TD>')

document.write('<TD class="ejsmenu" WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\';"><FONT SIZE=1 FACE="Verdana"><B><A HREF="Liens.php">Liens</a></B></FONT></TD>')

document.write('<TD class="ejsmenu" WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\';"><FONT SIZE=1 FACE="Verdana"><B><A HREF="synthese-economique.php">Synth&egrave;se &eacute;conomique</a></B></FONT></TD>')

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