Ancora ti ostini... ma hai provato ad usare la tua funzione originale ed il mio suggerimento?
function submitIt(theform)
{
if (!theform.nome.value.length)
{
alert("Il campo nome è obbligatorio!");
theform.nome.focus();
return false;
}
// Abilita l'invio del FORM
return true;
}
...
<form method="POST" action="Insert.asp" target="_blank" onsubmit="return submitIt(this);">
ciao