 <!--
  function Modulo() {
     // Variabili associate ai campi del modulo
     var nome = document.form1.nome.value;
     var email = document.form1.mail.value;
     var indirizzo = document.form1.indirizzo.value;
     var citta = document.form1.citta.value;
     var telefono = document.form1.telefono.value;
     var codart1 = document.form1.codart1.value;
     var colore1 = document.form1.colore1.value;	
     var codtac1 = document.form1.codtac1.value;
     var misura1 = document.form1.misura1.value;	
	// Espressione regolare dell'email
     var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
        //Effettua il controllo sul campo NOME
        if ((nome == "") || (nome == "undefined")) {
           alert("Fill the form.");
           document.form1.nome.focus();
           return false;
        }
        else if (!email_reg_exp.test(email) || (email == "") || (email == "undefined")) {
           alert("Fill the form.");
           document.form1.mail.select();
           return false;
        }
        else if ((indirizzo == "") || (indirizzo == "undefined")) {
           alert("Fill the form.");
           document.form1.indirizzo.focus();
           return false;
        }      	
        else if ((citta == "") || (citta == "undefined")) {
           alert("Fill the form..");
           document.form1.citta.focus();
           return false;
        }      	
        else if ((telefono == "") || (telefono == "undefined")) {
           alert("Fill the form.");
           document.form1.telefono.focus();
           return false;
        }      	

        else if ((codart1 == "") || (codart1 == "undefined")) {
           alert("Fill the form.");
           document.form1.codart1.focus();
           return false;
        }      	
        else if ((colore1 == "") || (colore1 == "undefined")) {
           alert("Fill the form.");
           document.form1.colore1.focus();
           return false;
        }	
        else if ((codtac1 == "") || (codtac1 == "undefined")) {
           alert("Fill the form.");
           document.form1.codtac1.focus();
           return false;
        }	
        else if ((misura1 == "") || (misura1 == "undefined")) {
           alert("Fill the form.");
           document.form1.misura1.focus();
           return false;
        }	
	//INVIA IL MODULO
        else {
           document.form1.action = "inviaordineng.php";
           document.form1.submit();
        }
  }
  
// Apertura di una nuova finestra in base ai parametri passati
function ApriWin(Url,name,wdt,hgt,scroll) {
		window.open(Url,name,"width=" + wdt + ",height=" + hgt + ",scrollbars=" + scroll + ",toolbars=no,menubars=no,directories=no,left=" + (screen.width-wdt)/2 + ",top=" + (screen.height-hgt)/2);
	}
 //-->