function checkformcontact_it()
{
	nomeForm=document.contact.nome.value;
	emailForm=document.contact.email.value;
	messageForm=document.contact.commenti.value;

	if (nomeForm.length<2)
	{
	messaggio= 'Si prega indicare il proprio nome'
	alert(messaggio);
	document.contact.nome.focus();
	document.contact.nome.select();
	return false
	}
	else if (((emailForm.length<7) | (emailForm.indexOf("@")==-1) | (emailForm.indexOf(".")==-1)))
	{
	messaggio= 'L\'indirizzo email '+ emailForm +' non risulta essere un indirizzo valido.\nSi prega verificare.'
	alert(messaggio);
	document.contact.email.focus();
	document.contact.email.select();
	return false
	}
	else if (messageForm.length<1)
	{
	messaggio= 'Nessun messaggio è stato scritto nel box Domande e Commenti.\nSi prega verificare.'
	alert(messaggio);
	document.contact.commenti.focus();
	document.contact.commenti.select();
	return false
	}
	else
	{
	return true
	}
}

function checkformcontact_en()
{
	nomeForm=document.contact.nome.value;
	emailForm=document.contact.email.value;
	messageForm=document.contact.commenti.value;

	if (nomeForm.length<2)
	{
	messaggio= 'Please write your first name.'
	alert(messaggio);
	document.contact.nome.focus();
	document.contact.nome.select();
	return false
	}
	else if (((emailForm.length<7) | (emailForm.indexOf("@")==-1) | (emailForm.indexOf(".")==-1)))
	{
	messaggio= 'The email address '+ emailForm +' does not seem to be a valid one.\nPlease verify.'
	alert(messaggio);
	document.contact.email.focus();
	document.contact.email.select();
	return false
	}
	else if (messageForm.length<1)
	{
	messaggio= 'No message is in the message box.\nPlase verify.'
	alert(messaggio);
	document.contact.commenti.focus();
	document.contact.commenti.select();
	return false
	}
	else
	{
	return true
	}
}

function checkformcontact_de()
{
	nomeForm=document.contact.nome.value;
	emailForm=document.contact.email.value;
	messageForm=document.contact.commenti.value;

	if (nomeForm.length<2)
	{
	messaggio= 'Please write your first name.'
	alert(messaggio);
	document.contact.nome.focus();
	document.contact.nome.select();
	return false
	}
	else if (((emailForm.length<7) | (emailForm.indexOf("@")==-1) | (emailForm.indexOf(".")==-1)))
	{
	messaggio= 'The email address '+ emailForm +' does not seem to be a valid one.\nPlease verify.'
	alert(messaggio);
	document.contact.email.focus();
	document.contact.email.select();
	return false
	}
	else if (messageForm.length<1)
	{
	messaggio= 'No message is in the message box.\nPlase verify.'
	alert(messaggio);
	document.contact.commenti.focus();
	document.contact.commenti.select();
	return false
	}
	else
	{
	return true
	}
}

