function checkform(theForm) {

	if (!theForm.etichetta.value) {
		alert("Non hai specificato il nome espositore!");
		theForm.etichetta.focus();
		return (false);
	}

	if (!theForm.nome.value) {
		alert("Non hai inserito il tuo nome!");
		theForm.nome.focus();
		return (false);
	}

	if (!theForm.cognome.value) {
		alert("Non hai inserito il tuo cognome!");
		theForm.cognome.focus();
		return (false);
	}

	if (!theForm.residenza.value) {
		alert("Non hai specificato la residenza!");
		theForm.residenza.focus();
		return (false);
	}
	
	if (!theForm.citta.value) {
		alert("Non hai specificato la cittā!");
		theForm.citta.focus();
		return (false);
	}
	
	if (!theForm.provincia.value) {
		alert("Non hai specificato la provincia!");
		theForm.provincia.focus();
		return (false);
	}

	if (!theForm.cap.value) {
		alert("Non hai specificato il CAP!");
		theForm.cap.focus();
		return (false);
	}
	
	if (!theForm.codicefiscale.value) {
		alert("Non hai specificato il codice fiscale!");
		theForm.codicefiscale.focus();
		return (false);
	}

	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	if (!filter.test(theForm.email.value))
	{
		alert("L'indirizzo e-mail non č valido!");
		theForm.email.focus();
		return (false);
	}

	if (!theForm.telefono.value) {
		alert("Non hai specificato il numero di telefono!");
		theForm.telefono.focus();
		return (false);
	}

	if ( (!theForm.pagamento[0].checked) && (!theForm.pagamento[1].checked) && (!theForm.pagamento[2].checked) ) {
		alert("Il metodo di pagamento non č stato specificato!");
		return (false);
	}

}
