posYmenu = 111;
bgcolor='#fcfddf';
bgcolor2='#FBEbbb';
needcenter =true;

if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		posXmenu = (document.body.clientWidth/2)-(780/2);
	else
		posXmenu = (window.innerWidth/2)-(780/2); 
	}

document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3; }')
document.write('.killer { POSITION: absolute; TOP: 0; LEFT: 0; WIDTH: 1000; HEIGHT: 1000; VISIBILITY: visible; z-index:-1;}')
document.write('#topgauche { position:absolute; top:'+posYmenu+'px; left:'+posXmenu+'px; z-index:10;}')
document.write('A:hover.menu {color:#ED0000; text-decoration:none;}')
document.write('A.menu {color:#660000; text-decoration:none; font-family: "times new roman"; font-weight: bold;}')
document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>');
document.write('<DIV class=killer onmouseover="kill();"></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;
zlien[8] = new Array;
zlien[9] = new Array;
zlien[10] = new Array;
zlien[11] = new Array;


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+22;

function pop(msg,pos) {
	skn.visibility = "hidden";
	a=true;
	skn.left = posXmenu + pos;
	var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#ffffec><TR><TD><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>&nbsp;&nbsp;"+msg[pass]+"</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=#fcfddf WIDTH=774><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BGCOLOR=#FBEAAE BORDER=0 WIDTH=100% HEIGHT=25><TR>')
document.write('<TD WIDTH=65 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="index.htm" CLASS=menu>Accueil</a></TD>')
document.write('<TD WIDTH=65 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="jour.htm" CLASS=menu>Almanach</a></TD>')
document.write('<TD WIDTH=58 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="chrono.htm" CLASS=menu>Frises</a></TD>')
document.write('<TD WIDTH=65 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="citations/index.htm" CLASS=menu>Citations</a></TD>')
document.write('<TD WIDTH=65 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="texte.htm" CLASS=menu>&nbsp;Documents&nbsp;</a></TD>')
document.write('<TD WIDTH=59 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="medias.htm" CLASS=menu>M&eacute;dias</a></TD>')
document.write('<TD WIDTH=59 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="forum.htm" CLASS=menu>Forum</a></TD>')
document.write('<TD WIDTH=78 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="sc.htm" CLASS=menu>&Eacute;ducation</a></TD>') 
document.write('<TD WIDTH=59 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="Boutique/boutique.htm" CLASS=menu>Boutique&nbsp;</a></TD>') 
document.write('<TD WIDTH=65 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="indx.htm" CLASS=menu>Recherche</a></TD>')
document.write('<TD WIDTH=53 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor+'\'"><A onClick href="contact.htm" CLASS=menu>Contacts</a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')


