
function Choix_ligue(choix)
{
nb_of_checkbox=4;
if (choix==0) {
	for (i=1;i<=nb_of_checkbox;i++) { document.ChoixRace.elements[i].checked=false;	}
	document.ChoixRace.elements[i].checked=true;
}
else {
	document.ChoixRace.elements[0].checked=false;
}
return(true);
}


var urlstring=String(window.location);
document.writeln('<TABLE border=0 cellpadding="2" cellspacing="0" bgcolor=#EEEEEE>');
document.writeln('<TR><TD>');
document.writeln('<TABLE WIDTH=100% align=center border=0 cellpadding="2" cellspacing="0">');
document.writeln('<FORM NAME="ChoixRace" ACTION="/php/choix_races_list.php" METHOD=POST ENCTYPE="application/x-www-form-urlencoded">');
document.writeln('<TR><TD rowspan=2><b>Races reconnues par :</b></TD>');
document.writeln('<TD><INPUT TYPE="checkbox" NAME="LIGUE0" value="ALL" onClick="Choix_ligue(0);" CHECKED><i>Indifférent</i></TD>');
document.writeln('<TD></TD>');
document.writeln('<TD></TD>');
document.writeln('</TR><TR>');
document.writeln('<TD><INPUT TYPE="checkbox" NAME="LIGUE1" value="LOOF" onClick="Choix_ligue(1);">Par le LOOF</TD>');
document.writeln('<TD><INPUT TYPE="checkbox" NAME="LIGUE2" value="TICA" onClick="Choix_ligue(2);">Par la TICA</TD>');
document.writeln('<TD><INPUT TYPE="checkbox" NAME="LIGUE3" value="FIFE" onClick="Choix_ligue(3);">Par la FIFE</TD>');
document.writeln('</TR>');
document.writeln('<TR><TD><b>Nom/Surnom:</b> &nbsp;</TD><TD><INPUT TYPE="text" NAME="NOM" SIZE=20 MAXLENGTH=40></TD>');
document.writeln('<TD><b>Pays d\'origine:</b> </TD><TD><INPUT TYPE="text" NAME="NOM_ORIGINE" SIZE=20 MAXLENGTH=40></TD></TR>');
document.writeln('<TR><TD colspan=4 align=center><INPUT TYPE="submit" VALUE="Races correspondantes" class="button"></TD></TR>');
document.writeln('<INPUT TYPE="hidden" NAME="ORIGINE" VALUE="'+window.location+'">');
document.writeln('</FORM>');
document.writeln('</TABLE>');
document.writeln('</TD></TR>');
document.writeln('</TABLE>');
