/*
SCRIPT FORM EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

/* A REGLER MANUELLEMENT SI LE CADRE EST TROP PETIT */
hauteurcadre = 25;

xmenu = new Array;
xlien = new Array;










xmenu[0] = '<A HREF="index.php">Accueil</A>';
xmenu[1] = 'Le Club';
xmenu[2] = 'Equipes';
xmenu[3] = 'Tournois';
xmenu[4] = 'Ecole de Tennis';
xmenu[5] = '<A HREF="index.php#sponsors">Sponsors</A>';



xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[5] = ''



xlien[1] += '<A HREF="install.php">Installations</A>'
xlien[1] += ' | '
xlien[1] += '<A HREF="bureau.php">Bureau</A>'
xlien[1] += ' | '
xlien[1] += '<A HREF="contacts.php">Contacts</A>'
xlien[1] += ' | '
xlien[1] += '<A HREF="tarifs.php">Tarifs</A>'
xlien[1] += ' | '


xlien[1] += '<a href="#" onclick="maFenetre = window.open(\'pre-inscription.php\',\'tableau\', \'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=1,resizable=no,width=570,height=500,left=01,top=01\');">Pr&eacute;-Inscription</A>'
xlien[1] += ' | '


xlien[1] += '<A HREF="album-photos.php">Album Photos</A>'
xlien[1] += ' | '
xlien[1] += '<A HREF="videos.php">Vid&eacute;os</A>'



xlien[2] += '<A HREF="equipes-automne.php">Championnats d\'Automne</A>'
xlien[2] += ' | '
xlien[2] += '<A HREF="equipes-printemps.php">Championnats de Printemps</A>'


xlien[3] += '<A HREF="tournoi-open.php">Tounoi Open - Jeunes et Adultes</A>'
xlien[3] += ' | '
xlien[3] += '<A HREF="tournoi-interne.php">Tounoi Interne</A>'
xlien[3] += ' | '
xlien[3] += '<A HREF="tournoi-ntc.php">National Tennis Cup</A>'
xlien[3] += ' | '


xlien[4] += '<A HREF="ecole.php">Ecole de Tennis</A>'
xlien[4] += ' | '
xlien[4] += '<A HREF="stages.php">Stages de Tennis</A>'




document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#000000; text-decoration:none;}\nA:hover.menudyn3 {color:#000000;text-decoration:none;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xlien.length*100)+' BGCOLOR=#3399FF>  <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=795px>  <TR>');

for(i=0;i<xlien.length;i++)

{
	document.write('<TD BGCOLOR=#000000 onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=3 FACE="Arial"><B><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></B></FONT></TD>');
	}
document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#FFFFFF HEIGHT='+hauteurcadre+' VALIGN=top><ilayer id="dynamenu31" width=100% height='+hauteurcadre+'><layer id="dynamenu32" width=100% height='+hauteurcadre+'><div id="dynamenu33">&nbsp;</div></layer></ilayer></TD>  </TR></TABLE></TD></TR></TABLE>');

function colorIt(tditem)
	{
	if(document.all)
		{
			document.all.td0.style.background='#3399FF';
	document.all.td1.style.background='#3399FF';
	document.all.td2.style.background='#3399FF';
	document.all.td3.style.background='#3399FF';
	document.all.td4.style.background='#3399FF';
	document.all.td5.style.background='#3399FF';
	document.all.td6.style.background='#3399FF';
	document.all.td7.style.background='#3399FF';
		tditem.style.background='#3399FF';
		}
else if(document.getElementById)
	{
	document.getElementById("td0").style.background='#FFFFFF';
	document.getElementById("td1").style.background='#FFFFFF';
	document.getElementById("td2").style.background='#FFFFFF';
	document.getElementById("td3").style.background='#FFFFFF';
	document.getElementById("td4").style.background='#FFFFFF';
	document.getElementById("td5").style.background='#FFFFFF';
	document.getElementById("td6").style.background='#FFFFFF';
	document.getElementById("td7").style.background='#FFFFFF';
tditem.style.background='#3399FF';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=3 FACE="Arial"><B>'+which+'</B></FONT>')
	document.dynamenu31.document.dynamenu32.document.close()
	}
else if (document.getElementById)
			{
			document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=3 FACE="Verdana, Arial"><B>'+which+'</B></FONT></CENTER>';
			}
else 	if (document.all){
	dynamenu33.innerHTML='&nbsp;'
	dynamenu33.innerHTML='<FONT SIZE=3 FACE="Arial"><B>'+which+'</B></FONT>';
	}
}
if (document.getElementById)
	colorIt(document.getElementById("td0"));
else if (document.all){
	colorIt(document.all.td0);
	}
MajMenu(0);

