	function verificainformativo(){
	    function checa_mail(x){
		  if ( (x.search(/^[a-zA-Z0-9]+[\w\.\_\-\w]*[\w+]@[a-zA-Z0-9]+([\w\_\-\w]*\.[\w\_\-\w]+)+[\w\_\-\w]*$/))!=0 )
			  {return false;}
	      else {return true;}
        }		
        if (((document.informativo.nome.value).length == "") || ((document.informativo.nome.value).length == "Nome...")){
		    document.getElementById("informativoerronome").style.display = 'block';	 
			document.informativo.nome.focus();
			return false;
		}else if (((document.informativo.email.value).length == "") || ((document.informativo.email.value).length == "E-Mail...")){
		    document.getElementById("informativoerroemailvazio").style.display = 'block';	 
			document.informativo.email.focus();
			return false;
		}else if (checa_mail(document.informativo.email.value) == false){
			document.getElementById("informativoerroemail").style.display = 'block';
			document.informativo.email.focus();
			return false;
		}else
            return true;
	}
	function limparerroinfnome(){
        if ((document.informativo.nome.value).length != ""){
		    document.getElementById("informativoerronome").style.display = 'none';	 
			return false;
		}else
            return true;		
	}
	function limparerroinfoemail(){
		if ((document.informativo.email.value).length != ""){
			document.getElementById("informativoerroemail").style.display = 'none';
			document.getElementById("informativoerroemailvazio").style.display = 'none';			
			return false;
		}else
            return true;
	}
	
	//ADICIONAR VALOR NOS CAMPOS NOME E E-MAIL
	function adicionarinputinfnome(){
		document.informativo.nome.value = "Nome...";		
	}	
	function adicionarinputinfemail(){
		document.informativo.email.value = "E-Mail...";		
	}
	
	//LIMPAR VALOR NOS CAMPOS NOME E E-MAIL
	function limparinputinfnome(){
		document.informativo.nome.value = "";		
	}
	function limparinputinfemail(){
		document.informativo.email.value = "";
	}		
	function verificacontato(){
	    function checa_mail(x){
		  if ( (x.search(/^[a-zA-Z0-9]+[\w\.\_\-\w]*[\w+]@[a-zA-Z0-9]+([\w\_\-\w]*\.[\w\_\-\w]+)+[\w\_\-\w]*$/))!=0 )
			  {return false;}
	      else {return true;}
        }		
        if ((document.contato.nome.value).length == ""){
		    document.getElementById("contatoerronome").style.display = 'block';	
			document.contato.nome.focus();
			return false;
		}else if ((document.contato.telefone.value).length == ""){
		    document.getElementById("contatoerrotelefone").style.display = 'block';
			document.contato.telefone.focus();
			return false;
		}else if ((document.contato.email.value).length == ""){
		    document.getElementById("contatoerroemailvazio").style.display = 'block';
			document.contato.email.focus();
			return false;			
		}else if (checa_mail(document.contato.email.value) == false){
		    document.getElementById("contatoerroemail").style.display = 'block';	
			document.contato.email.focus();
			return false;
		}else
            return true;
	}
	function limparerrocontatonome(){
        if ((document.contato.nome.value).length != ""){
		    document.getElementById("contatoerronome").style.display = 'none';	 
			return false;
		}else
            return true;
	}
	
	function limparerrocontatoemail(){
		if ((document.contato.email.value).length != ""){
			document.getElementById("contatoerroemail").style.display = 'none';
			document.getElementById("contatoerroemailvazio").style.display = 'none';
			return false;	
		}else
            return true;
	}	
	function limparerrocontatotelefone(){
		if ((document.contato.telefone.value).length != ""){
			document.getElementById("contatoerrotelefone").style.display = 'none';
			return false;
		}else
            return true;	
	}
	
