// JavaScript Documentfunction contact_validate(theForm){  if (theForm.nome.value == "")  {    alert("Inserisci un volore per il campo \"NOME\".");    theForm.nome.focus();    return (false);  }    if (theForm.cognome.value == "")  {    alert("Inserisci un volore per il campo \"COGNOME\".");    theForm.cognome.focus();    return (false);  }    if (theForm.azienda.value == "")  {    alert("Inserisci un volore per il campo \"AZIENDA\".");    theForm.azienda.focus();    return (false);  }    if (theForm.email.value == "")  {    alert("Inserisci un volore per il campo \"E-MAIL\".");    theForm.email.focus();    return (false);  }    if (!theForm.privacy[0].checked)  {    alert("Per poter inviare il form devi acconsentire al trattamento dei dati personali.");    return (false);  }  return (true);}function contact_validate_en(theForm){  if (theForm.nome.value == "")  {    alert("Insert a value for field \"NAME\".");    theForm.nome.focus();    return (false);  }    if (theForm.cognome.value == "")  {    alert("Insert a value for field \"SURNAME\".");    theForm.cognome.focus();    return (false);  }    if (theForm.azienda.value == "")  {    alert("Insert a value for field  \"COMPANY\".");    theForm.azienda.focus();    return (false);  }    if (theForm.email.value == "")  {    alert("IInsert a value for field \"E-MAIL\".");    theForm.email.focus();    return (false);  }    if (!theForm.privacy[0].checked)  {    alert("To send the form you must agree on the personal data agreement.");    return (false);  }  return (true);}