//............................................................................................................................
// FUNÇÃO FORM CONTATO
function contato(theForm)
{
	if (theForm.nome.value == "")
	{
		alert("The \"Name\" field is blank.");
		theForm.nome.focus();
		return (false);
	}
	if (theForm.cidade.value == "")
	{
		alert("The \"City\" field is blank.");
		theForm.cidade.focus();
		return (false);
	}
	if (theForm.pais.value == "")
	{
		alert("The \"Country\" field is blank.");
		theForm.pais.focus();
		return (false);
	}
	if (theForm.ddd.value == "")
	{
		alert("The \"Area code-Phone\" field is blank.");
		theForm.ddd.focus();
		return (false);
	}
	if (theForm.telefone.value == "")
	{
		alert("The \"Phone\" field is blank.");
		theForm.telefone.focus();
		return (false);
	}
	if (theForm.email.value == "")
	{
		alert("The \"E-mail\" field is blank.");
		theForm.email.focus();
		return (false);
	}
	if (theForm.email.value.length < 5)
	{
		alert("Fill in the \"E-mail\" correctly.");
		theForm.email.focus();
		return (false);
	}
	if (theForm.email.value.indexOf ('@',0) == -1 || theForm.email.value.indexOf ('.',0) == -1)
	{
		alert("Fill in the \"E-mail\" correctly.");
		theForm.email.focus();
		return (false);
	}
	if (theForm.mensagem.value == "")
	{
		alert("The \"Message\" field is blank.");
		theForm.mensagem.focus();
		return (false);
	}
return (true);
}