posYmenu = 105;
bgcolor='#F2D380';
bgcolor2='#FFEB9C';
needcenter =false;
if(!needcenter)
	posXmenu = 400;
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('.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:#FF7D3C; text-decoration:none;}')
document.write('A.ejsmenu {color:#3163AD; text-decoration:none;}')
document.write('</style>')
document.write('<DIV class=popper id=topdeck></DIV>');

/*
LIENS
*/
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
zlien[2] = new Array;
zlien[3] = new Array;
zlien[3][0] = '<A HREF="https://courrier.atilf.fr/" CLASS=ejsmenu TARGET="_blank">Courriel</A>';
zlien[3][1] = '<A HREF="http://www.atilf.fr/intranet2/" CLASS=ejsmenu TARGET="_top">Intranet</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+23;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = posXmenu+pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#ECCB6E WIDTH=89><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><CENTER><FONT SIZE=1 FACE=\"verdana\"><B>&nbsp;&nbsp;"+msg[pass]+"</B></FONT></CENTER></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=#ECCB6E WIDTH=330><TR><TD><TABLE CELLPADING=0 CELLSPACING=2 BORDER=0 WIDTH=100% HEIGHT=25><TR>')
document.write('<TD WIDTH=80 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[0],0)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A href=accueil.htm target="texte" CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>Accueil</B></FONT></a></TD>')
document.write('<TD WIDTH=80 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[1],80)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A href=annuaire/annuaire.htm target="texte" CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>Annuaire</B></FONT></a></TD>')
document.write('<TD WIDTH=80 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[2],160)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A href=liens.htm target="texte" CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>Autres sites</B></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onMouseOver="this.style.background=\''+bgcolor2+'\';pop(zlien[3],240)" onMouseOut="this.style.background=\''+bgcolor+'\'"><A onClick="return(false)" onMouseOver="pop(zlien[3],240)" href=# CLASS=ejsmenu><FONT SIZE=1 FACE="verdana"><B>Accès réservé</B></FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>')
