/* auteur: S.C.A. PMU Belge */
/* Date de création: 6/11/2003 */
var AdrSitAct="www.pmutechnics.be";
var AdrSitPas="www.pmu.be";

if(document.getElementById)
	document.write('<DIV class=popper id=topdeck></DIV>');
posYmenu = -1;
bgcolor='#cccccc';//'#888888';
bgcolor2='#EF3E34';//'#CC0000';
needcenter =true;
if(!needcenter)
	posXmenu = 0;
else
	{	if (document.all)
		{
		posXmenu = (document.body.clientWidth/2)-(600/2);
		}
	else
		{
		posXmenu = (window.innerWidth/2)-(600/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('.ejs {font-family:  arial; font-size: 13px;color:#000000;text-decoration:none;}')
document.write('A:hover.ejsmenu {color:#000000; text-decoration:none;}')
document.write('A.ejsmenu {font-family:  arial; font-size: 13px;color:#FF8282;text-decoration:none;}')
document.write('A.link {color: white}')
document.write('A.visited {color: white}')
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[4] = new Array;
zlien[0][0] = 'Consultation';
zlien[0][1] = 'Approvisionnement';
zlien[0][2] = 'Transfert';
zlien[0][3] = 'Annulation d\'un jeu';
zlien[0][4] = 'http://'+AdrSitPas+'/contenu/DemVisuMouv.shtml';
zlien[0][5] = 'http://'+AdrSitPas+'/contenu/ApproFr.shtml';
zlien[0][6] = 'http://'+AdrSitAct+'/Tisapi.dll?GetFoModF&Docu=2&Version=0.0&Lang=0&sit=p';
zlien[0][7] = 'http://'+AdrSitPas+'/contenu/DemAnnuFr.shtml';

zlien[1][0] = 'Modifier';
zlien[1][1] = 'Identification';
zlien[1][2] = 'Inscription';
zlien[1][3] = 'http://'+AdrSitAct+'/Tisapi.dll?GetFoModF?Docu=1&Version=0.0&Lang=0&sit=p';
zlien[1][4] = 'http://'+AdrSitPas+'/contenu/FormuIdentif.html';
zlien[1][5] = 'http://'+AdrSitPas+'/contenu/FormuEnreg.shtml';

zlien[3][0] = 'Condit. générales';
zlien[3][1] = 'Réglement';
zlien[3][2] = 'Comment jouer';
zlien[3][3] = 'Où jouer';
zlien[3][4] = 'http://'+AdrSitPas+'/contenu/FRCondit.shtml';
zlien[3][5] = 'http://'+AdrSitPas+'/contenu/FRreglement.shtml';
zlien[3][6] = 'http://'+AdrSitPas+'/contenu/InformationsFR.shtml';
zlien[3][7] = 'http://www.pmu.be/contenu/PointsDeVenteFR.shtml';

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+24;

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.left = /*posXmenu*/(document.body.clientWidth/2)-(600/2)+pos;
var content ="<TABLE background=\"http://www.pmu.be/contenu/jpeg/fond2.jpg\" BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=140><TR><TD><TABLE CLASS=ejs style=\"color:#000000;cursor: hand\" WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>";
pass = 0
lim=msg.length/2;
while (pass < lim)
	{
//	content += "<TR><TD BGCOLOR="+bgcolor+" onClick=\"location=\'"+msg[pass+lim]+"\'\" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=20><FONT SIZE=2 FACE=\"Arial\">&nbsp;&nbsp;<b>"+msg[pass]+"</b></FONT></TD></TR>";
//	content += "<TR ><TD style=\"font-weight: normal\" onClick=\"navigate(\'"+msg[pass+lim]+"\')\" onMouseOver=\"this.style.fontWeight='bold'\" onMouseOut=\"this.style.fontWeight='normal'\" HEIGHT=20><FONT SIZE=2 FACE=\"Arial\">&nbsp;&nbsp;"+msg[pass]+"</FONT></TD></TR>";
	content += "<TR ><TD style=\"font-weight: normal\" onClick=\"location=\'"+msg[pass+lim]+"\'\" onMouseOver=\"this.style.fontWeight='bold'\" onMouseOut=\"this.style.fontWeight='normal'\" 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";
}
function MyResize()
{
kill();
document.getElementById('topgauche').style.left=(document.body.clientWidth/2)-(600/2);
}
document.onclick = kill;
document.write('<DIV class=topgauche ID=topgauche ><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=600><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT=25><TR>')
document.write('<TD WIDTH=100 ALIGN=center  pop(zlien[0],0)"><A onClick="return(false)" onMouseOver="pop(zlien[0],0)" href=# CLASS=ejsmenu><b>Mon compte</b></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center ><A onClick="return(false)" onMouseOver="pop(zlien[1],120)" href=# CLASS=ejsmenu><b>Mes données</b></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center onMouseOver="this.style.fontWeight=\'bold\';kill()" onMouseOut="this.style.fontWeight=\'normal\'"><A onMouseOver="kill()" HREF="http://'+AdrSitPas+'/contenu/MagazineFr.shtml" CLASS=ejsmenu>Magazine</a></TD>')
document.write('<TD WIDTH=100 ALIGN=center onMouseOver="pop(zlien[3],360)" ><A onClick="return(false)" onMouseOver="pop(zlien[3],360)" href=# CLASS=ejsmenu><b>Renseignements</b></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center onMouseOver="this.style.fontWeight=\'bold\';kill()" onMouseOut="this.style.fontWeight=\'normal\'"><A onMouseOver="kill()" HREF="http://'+AdrSitPas+'/contenu/ResultatsFr.shtml" CLASS=ejsmenu>Archives</a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV>');
window.onresize=MyResize;
