// JavaScript Document

	function validaForumlario()
	{
		conf = "";
		
		if((document.getElementById("seu_nome").value=="") || (document.getElementById("seu_nome").value.substring(0,1)==" "))
		{
			conf+="\n- O campo Seu nome deve ser preenchido !";
		}
		if((document.getElementById("seu_email").value=="") || (document.getElementById("seu_email").value.substring(0,1)==" "))
		{
			conf+="\n- O campo Seu e-mail deve ser preenchido !";
		}else{
			email   = document.getElementById("seu_email").value;
			apos    = email.indexOf("@");
			pontopos= email.lastIndexOf(".");	
		  if (apos<1||pontopos-apos<2) 
			{
				conf+="\n- Preencher Seu e-mail corretamente!";
			}
		}		
		if((document.getElementById("dest_nome").value=="") || (document.getElementById("dest_nome").value.substring(0,1)==" "))
		{
			conf+="\n- O campo Destinatário deve ser preenchido !";
		}
		if((document.getElementById("dest_email").value=="") || (document.getElementById("dest_email").value.substring(0,1)==" "))
		{
			conf+="\n- O campo Destinatário e-mail deve ser preenchido !";
		}else{
			email   = document.getElementById("dest_email").value;
			apos    = email.indexOf("@");
			pontopos= email.lastIndexOf(".");	
		  if (apos<1||pontopos-apos<2) 
			{
				conf+="\n- Preencher Destinatário e-mail corretamente!";
			}
		}
		if((document.getElementById("comentario").value=="") || (document.getElementById("comentario").value.substring(0,1)==" "))
		{
			conf+="\n- O campo Comentário deve ser preenchido !";
		}
		if (conf != "") 
		{
			alert(conf);
 			conf="";
  		    return false;
		}
		else 
		{
			return true;
		}
	}
