// JavaScript Document
function checkRadio(Nomebottone) {
	checkvalue = ""
	for (i=0, n=Nomebottone.length; i<n; i++) {
	   if (Nomebottone[i].checked) {
		     checkvalue = Nomebottone[i].value;
	 	     break;
		}
	}
    return checkvalue;    
}

function verify() {

	// da qui inizia il controllo degli altri campi - 

	var themessage = "I seguenti dati devono essere completati:\n";
	

	if (document.modulo.cognome.value=="") {
		alert("Completare il campo Cognome");
		document.modulo.cognome.focus();
		return false;
	}
		if (document.modulo.nome.value=="") {
		alert("Completare il campo Nome");
		document.modulo.nome.focus();
		return false;
	}
	if (document.modulo.email.value=="") {
		alert("Completare il campo Email");
		document.modulo.email.focus();
		return false;
	}
	if (document.modulo.telefono.value=="") {
		alert("Completare il campo Telefono");
		document.modulo.telefono.focus();
		return false;
	}
	if (document.modulo.moto.value=="") {
		alert("Completare il campo Moto");
		document.modulo.moto.focus();
		return false;
	}
	if (document.modulo.anno.value=="") {
		alert("Completare il campo Anno");
		document.modulo.anno.focus();
		return false;
	}
	if (document.modulo.tagliando.value=="") {
		alert("Completare il campo Tagliando'");
		document.modulo.tagliando.focus();
		return false;
	}
	
return true;

}

