function checkData(frm)

	{

	if(!checkTextField(frm.elements['data[Dati anagrafici][Nome]'], 'Occorre specificare il nome', 'Il nome non è corretto', 'checkName'))

		return false;

	if(!checkTextField(frm.elements['data[Dati anagrafici][Cognome]'], 'Occorre specificare il cognome', 'Il Cognome non è corretto', 'checkName'))

		return false;

	if(!checkTextField(frm.elements['data[Dati anagrafici][E-mail]'], 'Occorre specificare l\'indirizzo e-mail', 'L\'indirizzo e-mail non è corretto', 'checkMailAddress'))

		return false;



	if(!checkTextField(frm.elements['data[Messaggio]'], 'Occorre specificare il messaggio', 'Il messaggio non è corretta', 'checkCustom', /.+/))

		return false;



	if(!frm.elements['data[Privacy]'].checked)

		{

		alert('Occorre approvare il trattamento dei dati personali');

		return false;

		}



	return true;

	}






