//reprndre les couleurs dsn le php
bgcolor='#99CD00';
bgcolor2='#79BD00';
document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:2; }')
document.write('A:hover.menu {color:#FFFFFF; text-decoration:none;}')
document.write('A:visited.menu {color:#FFFFFF; text-decoration:none;}')
document.write('A.menu {color:#FFFFFF; text-decoration:none;}')
document.write('</style>')
document.write('<div style="position:relative;height:24;z-index:2;"><DIV class=popper id=topdeck></DIV>');

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 = 23;

function pop(msg,pos,largeur)
{
skn.visibility = "hidden";
a=true
skn.left = pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#878A8B WIDTH="+largeur+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=1>";
pass = 0
while (pass < msg.length)
	{
	//test pour le menu sur 2 lignes
	height="20";
	if ((pass==1) && (pos=="22")) 
		{
		height="33";
		}
	content += "<TR><TD BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT="+height+"><FONT class='menu'>&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;