//couleur de tous les modules de la barre du haut avant cliquage
bgcolor='#006699';
//couleur de tous les modules de la barre du haut pendant cliquage
bgcolor0='#006699'; 
bgcolor1='#006699';
bgcolor2='#006699';
bgcolor3='#006699';
bgcolor4='#006699';
bgcolor5='#006699';
bgcolor6='#006699';
bgcolor7='#006699';
bgcolor8='#006699';
bgcolor9='#006699';
bgcolor10='#006699';
bgcolor11='#006699';
//couleur de tous les sous-modules pendant cliquage
zgcolor = new Array;
zgcolor[0] = '#cc3333';
zgcolor[1] = '#cc3333'; 
zgcolor[2] = '#cc3333';
zgcolor[3] = '#cc3333';
zgcolor[4] = '#cc3333';
zgcolor[5] = '#cc3333';
zgcolor[6] = '#cc3333';
zgcolor[7] = '#cc3333';
zgcolor[8] = '#cc3333';
zgcolor[9] = '#cc3333'; 
zgcolor[10] = '#cc3333';
zgcolor[11] = '#cc3333';
//couleur et police et position du texte
document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3; }')
document.write('#topgauche { position:absolute; 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 style="position:relative;height:25"><DIV class=popper id=topdeck></DIV>');
//les 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[7] = new Array;
zlien[8] = new Array;
zlien[9] = new Array;
zlien[10] = new Array;

zlien[0][0] = '<A HREF="france/EDF.htm" CLASS=ejsmenu>Equipe de France</A>';
zlien[0][1] = '<A HREF="france/goulding.htm" CLASS=ejsmenu>Ere Goulding</A>';
zlien[0][2] = '<A HREF="france/monie.htm" CLASS=ejsmenu>Ere Monie</A>';
zlien[0][3] = '<A HREF="france/scores.htm" CLASS=ejsmenu>Scores</A>';
zlien[0][4] = '<A HREF="france/vs_ang.htm" CLASS=ejsmenu>vs ANG</A>';
zlien[0][5] = '<A HREF="france/vs_aus.htm" CLASS=ejsmenu>vs AUS</A>';
zlien[0][6] = '<A HREF="france/vs_nz.htm" CLASS=ejsmenu>vs NZ</A>';

zlien[1][0] = '<A HREF="hexagone/catalans/scores.htm" CLASS=ejsmenu>Dragons Catalans</A>';
zlien[1][1] = '<A HREF="hexagone/toxiii/to13.htm" CLASS=ejsmenu>Toulouse Olympique</A>';
zlien[1][2] = '<A HREF="hexagone/elite/scores.htm" CLASS=ejsmenu>Scores Elite</A>';
zlien[1][3] = '<A HREF="hexagone/elite/equipes.htm" CLASS=ejsmenu>Equipes Elite</A>';
zlien[1][4] = '<A HREF="hexagone/elite/palmares.htm" CLASS=ejsmenu>Palmarès Elite</A>';
zlien[1][5] = '<A HREF="hexagone/elite/finales.htm" CLASS=ejsmenu>Finales Elite</A>';
zlien[1][6] = '<A HREF="hexagone/coupe/scores.htm" CLASS=ejsmenu>Score Coupe de France</A>';
zlien[1][7] = '<A HREF="hexagone/coupe/palmares.htm" CLASS=ejsmenu>Palmarès de la Coupe</A>';
zlien[1][8] = '<A HREF="hexagone/elite2/scores.htm" CLASS=ejsmenu>Elite 2</A>';
zlien[1][9] = '<A HREF="hexagone/national/scores.htm" CLASS=ejsmenu>National</A>';
zlien[1][10] = '<A HREF="hexagone/national/coupe.htm" CLASS=ejsmenu>Coupe Paul Dejean</A>';

zlien[2][0] = '<A HREF="english/SL_teams.htm" CLASS=ejsmenu>Equipes Super League</A>';
zlien[2][1] = '<A HREF="english/SL_finales.htm" CLASS=ejsmenu>Finales Super League</A>';
zlien[2][2] = '<A HREF="english/cup_scores.htm" CLASS=ejsmenu>Scores de la Cup</A>';
zlien[2][3] = '<A HREF="english/cup_palmares.htm" CLASS=ejsmenu>Palmarès de la Cup</A>';
zlien[2][4] = '<A HREF="english/NL1.htm" CLASS=ejsmenu>Championship</A>';
zlien[2][5] = '<A HREF="english/NL2.htm" CLASS=ejsmenu>Championship 1</A>';
zlien[2][6] = '<A HREF="english/WCC.htm" CLASS=ejsmenu>World Club Challenge</A>';

zlien[3][0] = '<A HREF="australie/teams.htm" CLASS=ejsmenu>Equipes NRL</A>';
zlien[3][1] = '<A HREF="australie/finales.htm" CLASS=ejsmenu>Finales NRL</A>';
zlien[3][2] = '<A HREF="australie/soo.htm" CLASS=ejsmenu>State of Origin</A>';

zlien[4][0] = '<A HREF="nations/tri_series.htm" CLASS=ejsmenu>Four Nations</A>';
zlien[4][1] = '<A HREF="nations/europe.htm" CLASS=ejsmenu>Europe</A>';
zlien[4][2] = '<A HREF="nations/pacific_cup.htm" CLASS=ejsmenu>Pacific Cup</A>';
zlien[4][3] = '<A HREF="nations/WRLC.htm" CLASS=ejsmenu>Coupe du Monde</A>';

zlien[5][0] = '<A HREF="regles/regles.htm" CLASS=ejsmenu>Regles</A>';
zlien[5][1] = '<A HREF="regles/postes.htm" CLASS=ejsmenu>Postes</A>';
zlien[5][2] = '<A HREF="regles/arbitres.htm" CLASS=ejsmenu>Arbitres</A>';

zlien[6][0] = '<A HREF="histoire/histoire.htm" CLASS=ejsmenu>Histoire du XIII</A>';
zlien[6][1] = '<A HREF="histoire/13vs15.htm" CLASS=ejsmenu>XIII vs XV</A>';
zlien[6][2] = '<A HREF="histoire/affiche.htm" CLASS=ejsmenu>Affiches de matchs</A>';

zlien[7][0] = '<A HREF="media/photos.htm" CLASS=ejsmenu>Photos</A>';
zlien[7][1] = '<A HREF="media/video.htm" CLASS=ejsmenu>Videos</A>';
zlien[7][2] = '<A HREF="media/audio.htm" CLASS=ejsmenu>Audio</A>';

zlien[8][0] = '<A HREF="liens/france.htm" CLASS=ejsmenu>En France</A>';
zlien[8][1] = '<A HREF="liens/monde.htm" CLASS=ejsmenu>Dans le Monde</A>';
zlien[8][2] = '<A HREF="liens/librairie.htm" CLASS=ejsmenu>Librairie</A>';
zlien[8][2] = '<A HREF="liens/shop.htm" CLASS=ejsmenu>Librairie du XIII</A>';

zlien[9][0] = '<A HREF="opinions/forum.htm" CLASS=ejsmenu>Forum</A>';
zlien[9][1] = '<A HREF="opinions/contributions.htm" CLASS=ejsmenu>Contributions</A>';
zlien[9][2] = '<A HREF="opinions/sondages.htm" CLASS=ejsmenu>Sondages</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 }
//distance haut de la barre et haut des sous-modules (cf les HEIGHT)
skn.top = 25;

function pop(msg,pos)
{
	skn.visibility = "hidden";
	a=true
	skn.left = pos;
//longueur des sous-modules et encadrement: border=bord, ccellpadding=ecart bord-texte, cellspacing=epaisseur bordure, 
	var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#ffffff WIDTH=160><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=3 CELLSPACING=1>";
	pass = 0
	while (pass < msg.length)
		{
			content += "<TR><TD BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+zgcolor[pass]+"'\" onMouseOut=\"this.style.background='"+bgcolor+"'\" HEIGHT=25><FONT SIZE=2 FACE=\"arial\"><strong>  "+msg[pass]+"</strong></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;

//barre du haut (champs, longueur,...)
document.write('<DIV><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#006699><TR><TD><TABLE CELLPADING=0 CELLSPACING=0 BORDER=0 WIDTH=100% HEIGHT=25><TR>')
//modules par modules (zlien= distance de gauche pour les modules)
document.write('<TD WIDTH=80 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor2+'\';pop(zlien[0],0)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[0],0)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>FRANCE<strong></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor3+'\';pop(zlien[1],80)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[1],80)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>HEXAGONE</strong></FONT></a></TD>')
document.write('<TD WIDTH=110 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor4+'\';pop(zlien[2],170)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[2],170)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>ANGLETERRE</strong></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor5+'\';pop(zlien[3],280)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[3],280)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>AUSTRALIE</strong></FONT></a></TD>')
document.write('<TD WIDTH=80 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor6+'\';pop(zlien[4],370)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[4],370)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>NATIONS</strong></FONT></a></TD>')
document.write('<TD WIDTH=70 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor7+'\';pop(zlien[5],450)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[5],450)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>REGLES</strong></FONT></a></TD>')
document.write('<TD WIDTH=80 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor8+'\';pop(zlien[6],520)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[6],520)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>HISTOIRE</strong></FONT></a></TD>')
document.write('<TD WIDTH=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor9+'\';pop(zlien[7],600)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[7],600)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>MULTIMEDIA</strong></FONT></a></TD>')
document.write('<TD WIDTH=60 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor10+'\';pop(zlien[8],680)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[8],680)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>LIENS</strong></FONT></a></TD>')
document.write('<TD WIDTH=80 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor11+'\';pop(zlien[9],680)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[9],680)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>OPINIONS</strong></FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV></div>')