codice:
function controllo() {
	valore = null;
	fn = document.form_attuale.numero;
	if(fn.length) {
		for (i = 0; i < fn.length; i++){
			if ( fn[i].checked ) { valore = fn[i].value; }
		}
	} else {
		if ( fn.checked ) { valore = fn.value; }
	}
	if (valore==null) {
		alert("seleziona almeno un radio");
		return false;
	}
	return true;
}
</script>