//............................................................................................................................
// FUNÇÃO FORM CONTATO
function contato(theForm)
{
	if (theForm.nome.value == "")
	{
		alert("O campo \"Nome\" está em branco.");
		theForm.nome.focus();
		return (false);
	}
	if (theForm.cidade.value == "")
	{
		alert("O campo \"Cidade\" está em branco.");
		theForm.cidade.focus();
		return (false);
	}
	if (theForm.pais.value == "")
	{
		alert("O campo \"País\" está em branco.");
		theForm.pais.focus();
		return (false);
	}
	if (theForm.ddd.value == "")
	{
		alert("O campo \"DDD\" está em branco.");
		theForm.ddd.focus();
		return (false);
	}
	if (theForm.telefone.value == "")
	{
		alert("O campo \"Telefone\" está em branco.");
		theForm.telefone.focus();
		return (false);
	}
	if (theForm.email.value == "")
	{
		alert("O campo \"E-mail\" está em branco.");
		theForm.email.focus();
		return (false);
	}
	if (theForm.email.value.length < 5)
	{
		alert("Preencha corretamente o campo \"E-mail\".");
		theForm.email.focus();
		return (false);
	}
	if (theForm.email.value.indexOf ('@',0) == -1 || theForm.email.value.indexOf ('.',0) == -1)
	{
		alert("Preencha corretamente o campo \"E-mail\".");
		theForm.email.focus();
		return (false);
	}
	if (theForm.mensagem.value == "")
	{
		alert("O campo \"Mensagem\" está em branco.");
		theForm.mensagem.focus();
		return (false);
	}
return (true);
}