{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 New RomanTimes New Roman;}}
{\colortbl ;\red0\green0\blue0;}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\cf1\lang1040\b\f0\fs18 var error="";\par
e_regex = /^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w\{2,\})+$/;\par
nullo=FALSE;\par
function Checkit(theform) \{\par
 var privacy=theform.privacy;\tab\par
\tab if(theform.nomef.value=="") \{\par
     alert("Il campo NOME \'e8 obbligatorio\\n");\par
\tab\tab theform.nomef.focus();\par
          return false;\par
\tab\}\par
\tab if(theform.email.value=="") \{\par
\tab  alert("Il campo E-MAIL \'e8 obbligatorio\\n");\par
\tab\} else if(!e_regex.test(theform.email.value)) \{\par
\tab\tab  alert("Inserire una MAIL valida");\par
\tab\}\par
\tab if(theform.testo.value=="") \{\par
     alert("Il campo delle NOTE \'e8 Obbligatorio\\n");\par
\tab\tab theform.testo.focus();\par
          return false;\par
\tab\tab\tab\}\par
\tab if(theform.conoscenza.value=="") \{\par
     alert("Immettere nel campo, come si \'e8 venuti a conoscenza di questo sito\\n");\par
\tab\tab theform.conoscenza.focus();\par
          return false;\par
\tab\}\tab\tab  \par
\tab if(error) \{\par
\tab\tab alert('**Il FOrM contiene i seguenti errori: **\\n\\n' + error);\par
\tab\tab error="";\par
\tab\tab return false;\par
\tab\} else \{\par
\tab\tab return true;\par
\tab\}\par
\}\b0\fs22\par
}
 