// JavaScript Document
							function checkForm(){
					firstName=document.formChecked.firstName.value
					lastName=document.formChecked.lastName.value
					email=document.formChecked.email.value
					
					/*if(firstName == "" || firstName == "nome*" || firstName == null || !isNaN(firstName) || firstName.charAt(0) == ' ') {
						alert('Inserire il nome');
						return false;
					}
					else*/ if(lastName == "" || lastName == "cognome*" || lastName == null || !isNaN(lastName) || lastName.charAt(0) == ' '){
						alert('Inserire il cognome');
						return false;
					}
					else if(!indirizzoEmailValido(email)){
						alert('Indirizzo email non valido');
						return false;
					}
					else if(document.formChecked.privacy.checked==false){
						alert('Per procedere con l\'invio del modulo e\' necessario accettare le condizioni presenti nell\'informativa.');
						return false;
					}
					else{
						return true;
					} 
				}

				function indirizzoEmailValido(indirizzo) {
				  if (window.RegExp) {
					var nonvalido = "(@.*@)|(\\.\\.)|(@\\.)|(\\.@)|(^\\.)";
					var valido = "^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$";
					var regnv = new RegExp(nonvalido);
					var regv = new RegExp(valido);
					if (!regnv.test(indirizzo) && regv.test(indirizzo))
					  return true;
					return false;
					}
				  else {
					if(indirizzo.indexOf("@") >= 0)
					  return true;
					return false;
					}
				  };
				  function asd(){
				  	var uno = document.getElementById('hide')
					if(uno.style.display=='none'){
						uno.style.display='block'
					} else{
						uno.style.display='none'
					}
				  }