posYmenu = 19;
bgcolor='#9993BC';
bgcolor2='#211C43';
needcenter = 1;
if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(788/2);
	else
		posXmenu = (window.innerWidth/2)-(788/2); 
	}
document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3; }')
document.write('#top { position: relative;margin: 0 auto; top:'+posYmenu+'px; center:'+posXmenu+'px; z-index:10; }')
document.write('A:hover.ejsmenu {color:#FD7C02; text-decoration:none;}')
document.write('A.ejsmenu {color:#C6BFEF; text-decoration:none;}')
document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>');
document.write('<DIV class=popper id=sousmenu></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[7] = new Array;

sous_menu = new Array;
sous_menu[0] = new Array;
sous_menu[1] = new Array;
sous_menu[2] = new Array;
sous_menu[3] = new Array;

zlien[1][0] = '<A HREF="../atelier.html" CLASS=ejsmenu>Atelier de Fabrication</A>';
zlien[1][1] = '<A HREF="../exposition.html" CLASS=ejsmenu>Exposition</A>';
zlien[1][2] = '<A HREF="../demonstration.html" CLASS=ejsmenu>Démonstration</A>';
zlien[1][3] = '<A HREF="../projection.html" CLASS=ejsmenu>Projection Vidéo</A>';


var nava = (document.layers);
var dom = (document.getElementById);
var iex = (document.all);
if (nava)
{
 skn = document.topdeck;
 skn2 = document.sousmenu;
}
else if (dom)
{
 skn = document.getElementById("topdeck").style;
 skn2 = document.getElementById("sousmenu").style;
}
else if (iex)
{
 skn = topdeck.style;
 skn2 = sousmenu.style;
}
skn.top = posYmenu+24;


function pop(msg,pos)
{
skn.visibility = "hidden";
skn2.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE WIDTH=150 BORDER=0 CELLPADDING=0 CELLSPACING=0>";
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>";
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 pop2(msg,pos,posY)
{
skn2.top = posYmenu+24+posY;
skn2.visibility = "hidden";
a=true
skn2.left = posXmenu+pos;
var content ="<TABLE WIDTH=100 BORDER=0 CELLPADDING=0 CELLSPACING=0>";
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>";
if (nava)
  {
    skn2.document.write(content);
          skn2.document.close();
          skn2.visibility = "visible";
  }
    else if (dom)
  {
          document.getElementById("sousmenu").innerHTML = content;
          skn2.visibility = "visible";
  }
    else if (iex)
  {
          document.all("sousmenu").innerHTML = content;
          skn2.visibility = "visible";
  }
}


function kill()
{
	skn.visibility = "hidden";
        skn2.visibility = "hidden";
}

document.onclick = kill;
document.write('<DIV ID=top><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=788 HEIGHT=017 align="center"><TR>')
document.write('<TD WIDTH=042><IMG SRC="../images/menu-a.gif" BORDER=0 WIDTH=051 HEIGHT=017></TD>')
document.write('<TD WIDTH=019><IMG SRC="../images/menu-b.gif" BORDER=0 WIDTH=019 HEIGHT=017></TD>')
document.write('<TD WIDTH=039 VALIGN=BOTTOM ALIGN=CENTER onMouseOver="pop(zlien[0],66)"><A onMouseOver="pop(zlien[0],0)" href="../home.html" CLASS=ejsmenu><IMG SRC="../images/menu-home.gif" BORDER=0 WIDTH=039 HEIGHT=017></a></TD>')
document.write('<TD WIDTH=024><IMG SRC="../images/menu-c.gif" BORDER=0 WIDTH=024 HEIGHT=017></TD>')
document.write('<TD WIDTH=078 VALIGN=BOTTOM ALIGN=CENTER onMouseOver="pop(zlien[1],135)"><A onClick="return(false)" onMouseOver="pop(zlien[1],133)" href="#" CLASS=ejsmenu><IMG SRC="../images/menu-activites.gif" BORDER=0 WIDTH=078 HEIGHT=017></a></TD>')
document.write('<TD WIDTH=022><IMG SRC="../images/menu-d.gif" BORDER=0 WIDTH=022 HEIGHT=017></TD>')
document.write('<TD WIDTH=060 VALIGN=BOTTOM ALIGN=CENTER onMouseOver="pop(zlien[2],222)"><A onMouseOver="pop(zlien[2],220)" href="../tournee.html" CLASS=ejsmenu><IMG SRC="../images/menu-tournee.gif" BORDER=0 WIDTH=060 HEIGHT=017></a></TD>')
document.write('<TD WIDTH=022><IMG SRC="../images/menu-e.gif" BORDER=0 WIDTH=022 HEIGHT=017></TD>')
document.write('<TD WIDTH=081 VALIGN=BOTTOM ALIGN=CENTER onMouseOver="pop(zlien[3],308)"><A onMouseOver="pop(zlien[3],305)" href="../photos/photos.php" CLASS=ejsmenu><IMG SRC="../images/menu-photos.gif" BORDER=0 WIDTH=060 HEIGHT=017></a></TD>')
document.write('<TD WIDTH=013><IMG SRC="../images/menu-f.gif" BORDER=0 WIDTH=013 HEIGHT=017></TD>')
document.write('<TD WIDTH=060><IMG SRC="../images/menu-videos-sans.gif" BORDER=0 WIDTH=60 HEIGHT=17></TD>')
document.write('<TD WIDTH=015><IMG SRC="../images/menu-g.gif" BORDER=0 WIDTH=015 HEIGHT=017></TD>')
document.write('<TD WIDTH=080 VALIGN=BOTTOM ALIGN=CENTER onMouseOver="pop(zlien[5],476)"><A onMouseOver="pop(zlien[5],473)" href="../promotion.html" CLASS=ejsmenu><img src="../images/menu-promotion.gif" width="80" height="17" border="0" title="Outils de Promotion"></a></TD>')
document.write('<TD WIDTH=015><IMG SRC="../images/menu-h.gif" BORDER=0 WIDTH=015 HEIGHT=017></TD>')
document.write('<TD WIDTH=078 VALIGN=BOTTOM ALIGN=CENTER onMouseOver="pop(zlien[6],576)"><A onMouseOver="pop(zlien[6],660)" href="../contact.html" CLASS=ejsmenu><IMG SRC="../images/menu-contact.gif" BORDER=0 WIDTH=078 HEIGHT=017></a></TD>')
document.write('<TD WIDTH=14><IMG SRC="../images/menu-i.gif" BORDER=0 WIDTH=014 HEIGHT=017></TD>')
document.write('<TD WIDTH=070><IMG SRC="../images/menu-formation-sans.gif" BORDER=0 WIDTH=070 HEIGHT=017></TD>')
document.write('<TD WIDTH=59><IMG SRC="../images/menu-j.gif" BORDER=0 WIDTH=068 HEIGHT=017></TD>')
document.write('</TR></TABLE></DIV>')
