function date()
{
	datecourante = new Date();
	// tableau de moi pour avoir la date en francais
	var moi = new Array("janvier","fevrier","mars","avril","mai","juin","juillet","aout","septembre","octobre","novembre","decembre");
	// composition de la date
	date = datecourante.getDate() +' '+ moi[datecourante.getMonth()] + ' ' + (datecourante.getFullYear());
	// mise en gras
	date = '<b>'+date+'</b>'; 
	// écriture de la date dans la page
	//document.writeln(date);

}

function menu()
{
// récuperation de la date
date();
 
// mise en forme du tableau de menu
menu = '<table border="0" CELLSPACING="0" CELLPADDING="0">';
menu = menu +'	<tr height="34">';
menu = menu +'				<td width="240"></td>';
menu = menu +'				<td width="90"><a href="index.htm">&nbsp;</a></td>';
menu = menu +'				<td width="90"><a href="club.htm">&nbsp;</a></td>';
menu = menu +'				<td width="90"><a href="courses.htm">&nbsp;</a></td>';
menu = menu +'				<td width="90"><a href="liens.htm">&nbsp;</a></td>';
menu = menu +'			</tr>	';
menu = menu +'			<tr height="21" align="center">';
menu = menu +'				<td>';
menu = menu +date;
menu = menu +'					</td>';
menu = menu +'				<td colspan="3"></td>';
menu = menu +'			</tr>';
menu = menu +'		</table>';

document.writeln(menu);

}

function menu_courses()
{

// mise en forme du tableau de menu
menucourse = '<table >';
menucourse = menucourse +' <tr>';
menucourse = menucourse +'<td class="BOUTTON"><a href="cf2008.htm">CF Elite 4 et 5 Oct 2008</a></td>';
menucourse = menucourse +'<td class="BOUTTON"><a href="open2008.htm">Open 2 Mars 2008</a></td>';
menucourse = menucourse +'</tr>';
menucourse = menucourse +'</table>';

document.writeln(menucourse);

}
function menu_open_promo_2009()
{

// mise en forme du tableau de menu
menucf = '<table >';
menucf = menucf +' <tr>';
menucf = menucf +'<td width="150" class="BOUTTON"><a href="ligue_2009_result_promo_4_2.htm">Résultat 4*2 Promo</a></td>';
menucf = menucf +'<td width="150" class="BOUTTON"><a href="ligue_2009_result_promo_4_4.htm">Résultat 4*4 Promo</a></td>';
menucf = menucf +'<td width="150" class="BOUTTON"><a href="ligue_2009_result_open_4_2.htm">Résultat 4*2 Open</a></td>';
menucf = menucf +'<td width="150" class="BOUTTON"><a href="ligue_2009_result_open_4_4.htm">Résultat 4*4 Open</a></td>';
menucf = menucf +'</tr>';
menucf = menucf +'</table>';

document.writeln(menucf);

}

function menu_cf2008()
{

// mise en forme du tableau de menu
menucf = '<table >';
menucf = menucf +' <tr>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="cf2008.htm">Accueil CF</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="cf2008_inscrits.htm">Inscrits</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="cf2008_series.htm">Séries</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="cf2008_resultats.htm">Résultats</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="cf2008_reportage.asp">Reportage</a></td>';
menucf = menucf +'</tr>';
menucf = menucf +'</table>';

document.writeln(menucf);

}

function menu_gp2010()
{

// mise en forme du tableau de menu
menucf = '<table >';
menucf = menucf +' <tr>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="GP4x2_2010.htm">Accueil GP 4x2</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="GP4x2_2010_infos.htm">Infos pratiques</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="GP4x2_2010_inscrits.htm">Inscrits</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="GP4x2_2010_planning.htm">Planning</a></td>';
/*menucf = menucf +'<td width="100" class="BOUTTON"><a href="GP4x2_2010_series.htm">Séries</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="GP4x2_2010_resultats.htm">Résultats</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="GP4x2_2010_reportage.asp">Reportage</a></td>';*/
menucf = menucf +'</tr>';
menucf = menucf +'</table>';

document.writeln(menucf);

}

function menu_open2008()
{

// mise en forme du tableau de menu
menucf = '<table >';
menucf = menucf +' <tr>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="open2008.htm">Accueil</a></td>';
//menucf = menucf +'<td width="100" class="BOUTTON"><a href="open2008_inscrits.htm">Inscrits</a></td>';
//menucf = menucf +'<td width="100" class="BOUTTON"><a href="open2008_resultats.htm">Résultats</a></td>';
menucf = menucf +'<td width="100" class="BOUTTON"><a href="open2008_reportage.htm">Reportage</a></td>';
menucf = menucf +'</tr>';
menucf = menucf +'</table>';

document.writeln(menucf);

}

function menu_club()
{

// mise en forme du tableau de menu
menuclub = '<table >';
menuclub = menuclub +' <tr >';
menuclub = menuclub +'<td width="100" class="BOUTTON"><a href="club.htm">Accueil</a></td>';
menuclub = menuclub +'<td width="100" class="BOUTTON"><a href="club_histoire.htm">Histoire</a></td>';
menuclub = menuclub +'<td width="100" class="BOUTTON"><a href="club_bureau.htm">Le Bureau</a></td>';
menuclub = menuclub +'<td width="100" class="BOUTTON"><a href="club_acces.htm">Accès</a></td>';
menuclub = menuclub +'<td width="100" class="BOUTTON"><a href="club_hebergement.htm">Hébergements</a></td>';
menuclub = menuclub +'<td width="100" class="BOUTTON"><a href="club_docs.htm">Adhésion</a></td>';
menuclub = menuclub +'<td width="100" class="BOUTTON"><a href="club_contact.htm">Contact</a></td>';
menuclub = menuclub +'</tr>';
menuclub = menuclub +'</table>';

document.writeln(menuclub);

}	

function page_droite()
{

// mise en forme

// menu
txt_page_droite = '<center><table cellspacing=10>';
txt_page_droite = txt_page_droite +' <tr>';
txt_page_droite = txt_page_droite +'<td width="100" class="BOUTTON"><a href="telechargement.htm">Téléchargement</a></td>';
txt_page_droite = txt_page_droite +'</tr>';
txt_page_droite = txt_page_droite +' <tr>';
txt_page_droite = txt_page_droite +'<td width="100" class="BOUTTON"><a href="sondage.asp">Sondage</a></td>';
txt_page_droite = txt_page_droite +'</tr>';
txt_page_droite = txt_page_droite +' <tr>';
txt_page_droite = txt_page_droite +'<td width="100" </td>';
txt_page_droite = txt_page_droite +'</table><br /><br /></center>';

//News
txt_page_droite = txt_page_droite +'<table border="1" cellpadding="0" cellspacing="0" style="border: 1px solid #FFC000">'; 
txt_page_droite = txt_page_droite +'<tr>';
txt_page_droite = txt_page_droite +'<td>';
txt_page_droite = txt_page_droite +'<center><marquee behavior="scroll" scrollamount="2" direction="up" bgcolor="#803702" width="208" bordercolor="#FFC000" border="0" height="132">';
txt_page_droite = txt_page_droite +'<p class=titre>';
txt_page_droite = txt_page_droite +'<u><b>Hot News !!!!</b></u><br><br>'; 
txt_page_droite = txt_page_droite +'<p class=texte>';
txt_page_droite = txt_page_droite +'- 03/12/2011 Mise en ligne  des bulletins d adhésion 2012.<br><br>';
txt_page_droite = txt_page_droite +'- <br><br>';
txt_page_droite = txt_page_droite +'</td>';
txt_page_droite = txt_page_droite +'</tr>';
txt_page_droite = txt_page_droite +'</marquee></center>';
txt_page_droite = txt_page_droite +'</table>';
txt_page_droite = txt_page_droite +'<br />';

// chiffres
txt_page_droite = txt_page_droite +'<b>&nbsp;Club en chiffres :</b><br />';
txt_page_droite = txt_page_droite +'<b>&nbsp;Nombre d\'adhérents : 123</b><br />';
txt_page_droite = txt_page_droite +'<b>&nbsp;Nombre de pilotes : 86</b><br />';
txt_page_droite = txt_page_droite +'<b>&nbsp;Nombre d\'accompagnateurs : 32</b><br />';
txt_page_droite = txt_page_droite +'<b>&nbsp;Nombre d\'organisateurs : 7</b><br />';
txt_page_droite = txt_page_droite +'<b>&nbsp;Longueur de piste : 293 m</b><br />';
txt_page_droite = txt_page_droite +'<b>&nbsp;Largeur de piste : 4 m</b><br />';
txt_page_droite = txt_page_droite +'<b>&nbsp;Place dans les stands : 120</b><br />';
txt_page_droite = txt_page_droite +'<b>&nbsp;Naissance de GTBBC : 13/03/2004</b><br />';
txt_page_droite = txt_page_droite +'<br />';
//Contact
txt_page_droite = txt_page_droite +'<table width="212" height="115" bgcolor="#803702" border="1" cellpadding="0" cellspacing="0" style="border: 1px solid #FFC000">'; 
txt_page_droite = txt_page_droite +'<tr>';
txt_page_droite = txt_page_droite +'<td>';
txt_page_droite = txt_page_droite +'<center>';
txt_page_droite = txt_page_droite +'<p class=titre>';
txt_page_droite = txt_page_droite +'<b>Contact</b>';
txt_page_droite = txt_page_droite +'<p class=texte>';
txt_page_droite = txt_page_droite +'<a href="mailto:contact@gtbbc.fr">Bureau du club</a><br /><br />';
txt_page_droite = txt_page_droite +'<a href="mailto:journee.decouverte@gtbbc.fr">Journée Découverte</a><br /><br />';
txt_page_droite = txt_page_droite +'<a href="mailto:webmaster@gtbbc.fr">Webmaster</a><br /><br />';
txt_page_droite = txt_page_droite +'</center>';
txt_page_droite = txt_page_droite +'</td>';
txt_page_droite = txt_page_droite +'</tr>';
txt_page_droite = txt_page_droite +'</table>';
document.writeln(txt_page_droite);

}	
function CheckVote()
// Permet de verifier que l'internaute a choisi une proposition avant de soumettre son vote
{
	if (!(poll.SondageChoix[0].checked || poll.SondageChoix[1].checked || poll.SondageChoix[2].checked))
	{
		alert ("Vous devez choisir une proposition.")
		return(false)
	}
}
