// JavaScript Document

function CamposEmBranco()
{
	if (form_contato.nome.value=="")
		{
			alert("Por favor digite seu nome completo.");
			return false;
		}

	if (form_contato.assunto.value=="")
		{
			alert("Por favor digite o assunto de seu interesse.");
			return false;
		}
	
	if (form_contato.texto.value=="")
		{
			alert("O campo texto está vazio.");
			return false;
		}
	return true;
}


function critica_email() {
	var email = document.form_contato.email.value;
	if (email.length == 0) {
		window.alert("Por favor digite seu E-mail.");
		return false; }
	if (email.indexOf("@",0) == -1) {
		window.alert("Email invalido.");
		return false; }
	return true;
	}

