// JavaScript Document
function validaForm(){

var Email=0;
var Nome=0;
var Cognome=0;
var oggetto=0;
var stringaAlert='';

if(document.invio_contatto.Email.value!=''){
Email=1;
}
if(document.invio_contatto.Nome.value!=''){
Nome=1;
}
if(document.invio_contatto.Cognome.value!=''){
Cognome=1;
}
if(document.invio_contatto.oggetto.value!='scegli'){
oggetto=1;
}


if((Email==0)||(Nome==0)||(Cognome==0)||(oggetto==0)){
	if(Email==0){stringaAlert+='- E-mail - campo obbligatorio \n'}
	if(Nome==0){stringaAlert+='- Nome - campo obbligatorio \n'}
	if(Cognome==0){stringaAlert+='- Cognome - campo obbligatorio \n'}
	if(oggetto==0){stringaAlert+='- Ruolo ricoperto - campo obbligatorio \n'}

alert(stringaAlert);
return false;
}
return true;


}
