Navigateur = navigator.appName;
if (Navigateur == 'Netscape')
{ 
posYmenu = 99;
}
if (Navigateur == 'Microsoft Internet Explorer')
{
posYmenu = 105;
}




bgcolor='#528BC5';
bgcolor2='#999999';
bgcolor3='#336699';
needcenter =true;
if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(728/2);
	else
		posXmenu = (window.innerWidth/2)-(728/2); 
	}

document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3; }')
document.write('#topgauche { top:'+posYmenu+'px; left:'+posXmenu+'px; z-index:10; }')
document.write('A:hover.ejsmenu {color:#000000; text-decoration:none;}')
document.write('A.ejsmenu {color:#FFFFFF; text-decoration:none;}')
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="rechercher.php" CLASS=ejsmenu>Recherche Rapide</A> ::';


zlien[1][0] = ':: <A HREF="spectacles.php?sid_discipline=1&over=24" CLASS=ejsmenu>Chanson</A> ::';
zlien[1][1] = ':: <A HREF="spectacles.php?sid_discipline=2&over=24" CLASS=ejsmenu>Clown</A> ::';
zlien[1][2] = ':: <A HREF="spectacles.php?sid_discipline=3&over=24" CLASS=ejsmenu>Conte</A> ::';
zlien[1][3] = ':: <A HREF="spectacles.php?sid_discipline=4&over=24" CLASS=ejsmenu>Danse</A> ::';
zlien[1][4] = ':: <A HREF="spectacles.php?sid_discipline=5&over=24" CLASS=ejsmenu>Magie</A> ::';
zlien[1][5] = ':: <A HREF="spectacles.php?sid_discipline=6&over=24" CLASS=ejsmenu>Marionnette</A> ::';
zlien[1][6] = ':: <A HREF="spectacles.php?sid_discipline=7&over=24" CLASS=ejsmenu>Théâtre</A> ::';
zlien[1][7] = ':: <A HREF="spectacles.php?sid_discipline=8&over=24" CLASS=ejsmenu>Théâtre d\'\objet</A> ::';
zlien[1][8] = ':: <A HREF="spectacles.php?sid_discipline=9&over=24" CLASS=ejsmenu>Spectacle de Rue</A> ::';

zlien[2][0] = ':: <A HREF="toutes_compagnies" CLASS=ejsmenu>Toutes</A> ::';
zlien[2][1] = ':: <A HREF="departement_compagnies" CLASS=ejsmenu>Par département</A> ::';

zlien[3][0] = ':: <A HREF="" CLASS=ejsmenu>Fermé</A> ::';

zlien[5][0] = ':: <A HREF="site_enfant" CLASS=ejsmenu>Sites pour enfants</A> ::';
zlien[5][1] = ':: <A HREF="site_information" CLASS=ejsmenu>Sites d\'\information</A> ::';

zlien[6][0] = ':: <A HREF="phplogin/index.php" CLASS=ejsmenu>Entrer</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=150><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\">&nbsp;&nbsp;"+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 BGCOLOR=#000000 WIDTH=728><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=25><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">:: Rechercher ::</FONT></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],103)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[1],100)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">:: Spectacles ::</FONT></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],208)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[2],200)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">:: Compagnies ::</FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],312)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],300)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">:: Forum ::</FONT></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[4],412)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[4],400)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">:: Festivals ::</FONT></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[5],509)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[5],500)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">:: Liens Utiles ::</FONT></a></TD>')
document.write('<TD WIDTH=110 ALIGN=center BGCOLOR='+bgcolor3+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[6],612)" onMouseOut="this.style.background=\''+bgcolor3+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[6],600)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="Verdana">Membres/Inscription</FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')

