Well, I'm getting an error. Here is the function, what, according to FF's consolde is generating the error.

Code JavaScript:
function citizen3()
{
	if (document.ededfil.nationalite[0].checked == true) {
	document.ededfil.pays_origine[0].checked = true;
	document.ededfil.pays_origine[0].disabled = true;
	document.ededfil.pays_origine[1].disabled = true;
	document.ededfil.pays_origine[2].disabled = true;
	} else if (document.ededfil.nationalite[1].checked == true) {
	document.ededfil.pays_origine[0].checked = false;
	document.ededfil.pays_origine[0].disabled = false;
	document.ededfil.pays_origine[1].disabled = false;
	document.ededfil.pays_origine[2].disabled = false;
	}
}

The line getting selected by the FF console is
Code JavaScript:
if (document.ededfil.nationalite[0].checked == true) {

The line that's calling the function is -

Code PHP:
<input type="radio" name="nationalite" <? If ($nationalite == "Française") { ?> checked <? }?> value="Française" onClick="citizen3();">&nbsp;&nbsp;&nbsp;Autre&nbsp;&nbsp;&nbsp;<input type="radio" name="nationalite" <? If ($nationalite == "Autre") { ?> checked <? }?> value="Autre" onClick="citizen3();">

Can anyone see what's the problem?

The error is - document.ededfil has no properties.

Thanks.