//couleur de tous les modules de la barre du haut avant cliquage
bgcolor='#000000';
//couleur de tous les modules de la barre du haut pendant cliquage
bgcolor0='#000000'; 
bgcolor1='#000000';
bgcolor2='#000000';
bgcolor3='#000000';
bgcolor4='#000000';
bgcolor5='#000000';
bgcolor6='#000000';
bgcolor7='#000000';
bgcolor8='#000000';
bgcolor9='#000000';
bgcolor10='#00000';
//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';
//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[0][0] = '<A HREF="../france/clubs_division_1.htm" CLASS=ejsmenu>Clubs du Top 14</A>';
zlien[0][1] = '<A HREF="../france/division_1.htm" CLASS=ejsmenu>Finales TOP 14</A>';
zlien[0][2] = '<A HREF="../france/clubs_division_2.htm" CLASS=ejsmenu>Clubs de Pro D2</A>';
zlien[0][3] = '<A HREF="../france/division_2.htm" CLASS=ejsmenu>Finales Pro D2</A>';
zlien[0][4] = '<A HREF="../france/federale_1.htm" CLASS=ejsmenu>Féderale 1</A>';
zlien[0][5] = '<A HREF="../france/promus.htm" CLASS=ejsmenu>Montees/Descentes</A>';

zlien[1][0] = '<A HREF="../angleterre/division_1.htm" CLASS=ejsmenu>Premiership</A>';
zlien[1][1] = '<A HREF="../angleterre/division_2.htm" CLASS=ejsmenu>Championship</A>';
zlien[1][2] = '<A HREF="../angleterre/cup.htm" CLASS=ejsmenu>Coupe Angleterre</A>';

zlien[2][0] = '<A HREF="../celtes/ligue_celte.htm" CLASS=ejsmenu>Celtic League</A>';

zlien[3][0] = '<A HREF="../europe/coupe.htm" CLASS=ejsmenu>Heineken Cup</A>';
zlien[3][1] = '<A HREF="../europe/challenge.htm" CLASS=ejsmenu>European Challenge</A>';

zlien[4][0] = '<A HREF="../super14/super14.htm" CLASS=ejsmenu>Super 14</A>';

zlien[5][0] = '<A HREF="../nations/six_nations.htm" CLASS=ejsmenu>Six Nations</A>';
zlien[5][1] = '<A HREF="../nations/tri_nations.htm" CLASS=ejsmenu>Tri Nations</A>';
zlien[5][2] = '<A HREF="../nations/worldcup.htm" CLASS=ejsmenu>World Cup</A>';

zlien[6][0] = '<A HREF="../pays/NZ.htm" CLASS=ejsmenu>New Zealand Cup</A>';
zlien[6][1] = '<A HREF="../pays/AFS.htm" CLASS=ejsmenu>Currie Cup</A>';

zlien[7][0] = '<A HREF="../rugby/histoire_du_rugby.htm" CLASS=ejsmenu>Histoire</A>';
zlien[7][1] = '<A HREF="../rugby/yves_dumanoir.htm" CLASS=ejsmenu>Le Dumanoir</A>';
zlien[7][2] = '<A HREF="../rugby/hymnes_rugby.htm" CLASS=ejsmenu>Hymnes</A>';
zlien[7][3] = '<A HREF="../rugby/chanson_rugby.htm" CLASS=ejsmenu>Chansons</A>';
zlien[7][4] = '<A HREF="../rugby/haka_rugby.htm" CLASS=ejsmenu>Le Haka</A>';

zlien[8][0] = '<A HREF="../divers/contact.htm" CLASS=ejsmenu>Contact</A>';
zlien[8][1] = '<A HREF="../divers/librairie.htm" CLASS=ejsmenu>Librairie</A>';
zlien[8][2] = '<A HREF="../divers/liens.htm" CLASS=ejsmenu>Liens</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=100 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor3+'\';pop(zlien[1],85)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[1],80)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>ANGLETERRE</strong></FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor4+'\';pop(zlien[2],195)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[2],180)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>LIGUE CELTE</strong></FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor5+'\';pop(zlien[3],305)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[3],300)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>COUPE EUROPE</strong></FONT></a></TD>')
document.write('<TD WIDTH=90 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor6+'\';pop(zlien[4],430)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[4],420)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>SUPER 14</strong></FONT></a></TD>')
document.write('<TD WIDTH=120 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor7+'\';pop(zlien[5],510)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[5],510)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>INTERNATIONAL</strong></FONT></a></TD>')
document.write('<TD WIDTH=60 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor8+'\';pop(zlien[6],635)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[6],630)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>PAYS</strong></FONT></a></TD>')
document.write('<TD WIDTH=80 ALIGN=center BGCOLOR='+bgcolor+' onmouseover="this.style.background=\''+bgcolor9+'\';pop(zlien[7],680)" onmouseout="this.style.background=\''+bgcolor+'\'"><A onclick="return(false)" onmouseover="pop(zlien[7],680)" href=# CLASS=ejsmenu><FONT SIZE=2 FACE="arial"><strong>LE RUGBY</strong></FONT></a></TD>')
document.write('<TD WIDTH=70 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>DIVERS</strong></FONT></a></TD>')
document.write('</TR></TABLE></TD></TR></TABLE></DIV></div>')
