
posYmenu = 300;
bgcolor='#003366';
bgcolor2='#FF6342';
needcenter =true;
if(!needcenter)
posXmenu =0;
else
{ if (document.all)
posXmenu = (document.body.clientWidth/2)-(650/2);
else
posXmenu = (window.innerWidth/2)-(650/2); 
}
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;}')
document.write('A.ejsmenu {color:#ffffff; text-decoration:none;}')
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;
zlien[5] = new Array;
zlien[6] = new Array;



zlien[0][0] = '<A HREF="http://www.academiepeinture.com/index.html" CLASS=ejsmenu>Accueil</A>';
zlien[0][1] = '<A HREF="http://www.academiepeinture.com/nouveautes.html" CLASS=ejsmenu>Nouveautés</A';
zlien[0][2] = '<A HREF="http://www.academiepeinture.com/cimaise.html" CLASS=ejsmenu>Cimaise</A';
zlien[1][0] = '<A HREF="http://www.academiepeinture.com/association.html" CLASS=ejsmenu>Association</A>';
zlien[2][0] = '<A HREF="http://www.academiepeinture.com/repertoire.html" CLASS=ejsmenu>Répertoire</A>';
zlien[2][1] = '<A HREF="http://www.academiepeinture.com/galerie.html" CLASS=ejsmenu>Galerie</A>';
zlien[2][2] = '<A HREF="http://www.academiepeinture.com/inscription.html" CLASS=ejsmenu>Inscription</A>';
zlien[3][0] = '<A HREF="http://www.academiepeinture.com/actualites.html" CLASS=ejsmenu>Actualites Culturelles</A>';
zlien[3][1] = '<A HREF="http://www.academiepeinture.com/agenda.html" CLASS=ejsmenu>Agenda courant</A>';
zlien[3][2] = '<A HREF="http://www.academiepeinture.com/expositions.html" CLASS=ejsmenu>Expositions</A>';
zlien[3][3] = '<A HREF="http://www.academiepeinture.com/stages.html" CLASS=ejsmenu>Stages</A>';
zlien[3][4] = '<A HREF="http://www.academiepeinture.com/archives.html" CLASS=ejsmenu>Archives</A>';
zlien[4][0] = '<A HREF="http://www.academiepeinture.com/recherche.html" CLASS=ejsmenu>Recherche</A>';
zlien[4][1] = '<A HREF="http://www.academiepeinture.com/memo.html" CLASS=ejsmenu>Mémento</A>';
zlien[4][2] = '<A HREF="http://www.academiepeinture.com/partenaires.html" CLASS=ejsmenu>Partenaires</A>';
zlien[4][3] = '<A HREF="http://www.academiepeinture.com/liens.html" CLASS=ejsmenu>Liens</A>';
zlien[5][0] = '<A HREF="http://www.academiepeinture.com/contact.html" CLASS=ejsmenu>Contact</A>';
zlien[5][1] = '<A HREF="http://www.academiepeinture.com/formulaires.html" CLASS=ejsmenu>Formulaires</A>';
zlien[6][0] = '<A HREF="http://www.academiepeinture.com/espace.html" CLASS=ejsmenu>Espace adhérents</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+20;

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=90><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=\"Courrier\">  "+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=630><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=25><TR>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[0],00)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[0],00)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="arial"><B>Accueil</B></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[1],90)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[1],90)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="arial"><B>Qui sommes-nous?</B></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[2],180)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[2],180)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="arial"><B>Galerie</B></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[3],270)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[3],270)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="arial"><B>Evenements</B></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[4],360)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[4],360)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="arial"><B>Services</B></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[5],450)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[5],450)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="arial"><B>Contact</B></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[6],540)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[6],540)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="arial"><B>Adhérents</B></FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')



