Perchè questo codice restituisce errore:
codice:
<html>
<head>
	<title>Dati del cliente</title>

<script language="JavaScript"> 
<!-- 
function submitIt(theform) { 

if (theform.nome.value == "") { 
alert("Atencion: falta tu nombre..."); 
theform.nome.focus(); 
return false; 
} 
if (theform.cognome.value == "") { 
alert("Atencion: falta tu apellido..."); 
theform.cognome.focus(); 
return false; 
} 

if ((theform.email.value =="")||

       (theform.email.value.indexOf("@") == -1) || 
       (theform.email.value.indexOf(".") == -1) || 
       (theform.email.value.length < 7))
	{
		alert("Atencion: falta tu email...");
		theform.email.focus();
		return false;
	}
} 
--> 
    </script>

</head>

<body OnLoad="Javascript:document.frm_cliente.nome.focus();">

<form ACTION="controlla.asp" name="frm_cliente" method="post" onSubmit="return submitIt(this)">
restituisce errore su
codice:
document.frm_cliente.nome
è nullo o non è un oggetto...