function desenvolvimento () {
	
	alert ("Em breve");
	
}

function zeracampod() {

document.getElementById('de').value = "" ; 
}

function zeracampop() {

document.getElementById('para').value = "" ; 
}

function zeracampoe() {

document.getElementById('mail').value = "" ; 
}






//Specify affected tags. Add or remove from list:
var tgs = new Array( 'div' );

//Specify spectrum of different font sizes:
var szs = new Array( 'xx-small','x-small','small','medium','large','x-large','xx-large' );
var startSz = 2;

function ts( trgt,inc ) {
if (!document.getElementById) return
var d = document,cEl = null,sz = startSz,i,j,cTags;
sz += inc;
if ( sz < 0 ) sz = 0;
if ( sz > 6 ) sz = 6;
startSz = sz;
if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

cEl.style.fontSize = szs[ sz ];

for ( i = 0; i < tgs.length; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0; j < cTags.length; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
}

function f_valida_login() {

	if (document.form1.email.value == "") {
		alert("Prencha o campo Email");
		document.form1.email.select();
		return;
				}
  
	
				
	else {		
		     document.form1.submit();
			 
}			 				
}

				//função que valida o e-mail, impedindo erros comuns e caracteres inválidos
				function valida_mail(valor) {
				prim = valor.indexOf("@")
				if(prim < 2) return false;
				if(valor.indexOf("@",prim + 1) != -1) return false;
				if(valor.indexOf(".") < 1) return false;
				if(valor.indexOf("zipmail.com") > 0 && valor.indexOf("zipmail.com.br") == -1) return false;
				if(valor.indexOf("zipmeil.com") > 0) return false;
				if(valor.indexOf("hotmail.com.br") > 0) return false;
				if(valor.indexOf("hotmeil.com") > 0) return false;
 				if(valor.indexOf("hotemail.com") > 0) return false;
				if(valor.indexOf("terrra.com.br") > 0) return false;
				if(valor.indexOf(".@") > 0) return false;
				if(valor.indexOf("@.") > 0) return false;
				if(valor.indexOf(".com.br.") > 0) return false;
				if(valor.indexOf("/") > 0) return false;
				if(valor.indexOf("[") > 0) return false;
				if(valor.indexOf("]") > 0) return false;
				if(valor.indexOf("(") > 0) return false;
				if(valor.indexOf(")") > 0) return false;
				if(valor.indexOf("..") > 0) return false;
				return true;
			    }

		//funcao que vai verificar a validade de postagem do formulário
		function f_valida(){

		        //checa se o valor do campo Nome esta vazio
				if (document.form1.nome.value == "") {
				            alert("Por favor, preencha o campo nome.");
				            document.form1.nome.select();
				            return false;
				}

		        
				
				//checa se o valor do campo e-mail é vazio
				if (document.form1.email1.value == "") {
							alert ("Por favor, preencha o campo e-mail");
							document.form1.email1.focus();
							return false;
				}
				
				//posta o valor do campo e-mail para a função valida_mail e requisita o valor de return (true ou false)
				if (!valida_mail(document.form1.email1.value)) {
							alert ("Por favor, digite o email corretamente.");
							document.form1.email1.focus();

							return false;
				}
				
				if (document.form1.email2.value == "") {
							alert ("Por favor, preencha o campo e-mail");
							document.form1.email2.focus();
							return false;
				}
				
				if (!valida_mail(document.form1.email2.value)) {
							alert ("Por favor, digite o email corretamente.");
							document.form1.email2.focus();
							return false;
				}
				
				if (document.form1.email1.value != document.form1.email2.value) {
				alert("Emails diferentes. Preencha corretamente os dois campos.");
				return false;
				}
								
				
				
				if (document.form1.cidade.value == "") {
							alert ("Por favor, preencha o campo cidade.");
							document.form1.cidade.focus();
							return false;
				}
						     		        
		        //se todas as verificações retornaram false, posta o formulário
				else {		
		     document.form1.submit();
			 }
				 }
				 
				 
				 
				 
function f_valida_contato(){

		        //checa se o valor do campo Nome esta vazio
				if (document.form1.nome.value == "") {
				            alert("Por favor, preencha o campo nome.");
				            document.form1.nome.select();
				            return false;
				}

		        
				
				//checa se o valor do campo e-mail é vazio
				if (document.form1.email1.value == "") {
							alert ("Por favor, preencha o campo e-mail");
							document.form1.email1.focus();
							return false;
				}
				
				//posta o valor do campo e-mail para a função valida_mail e requisita o valor de return (true ou false)
				if (!valida_mail(document.form1.email1.value)) {
							alert ("Por favor, digite o email corretamente.");
							document.form1.email1.focus();

							return false;
				}
				
				if (document.form1.email2.value == "") {
							alert ("Por favor, preencha o campo e-mail");
							document.form1.email2.focus();
							return false;
				}
				
				if (!valida_mail(document.form1.email2.value)) {
							alert ("Por favor, digite o email corretamente.");
							document.form1.email2.focus();
							return false;
				}
				
				if (document.form1.email1.value != document.form1.email2.value) {
				alert("Emails diferentes. Preencha corretamente os dois campos.");
				return false;
				}
								
				
				
				if (document.form1.assunto.value == "") {
							alert ("Por favor, preencha o campo assunto.");
							document.form1.assunto.focus();
							return false;
				}
				
				if (document.form1.msg.value == "") {
							alert ("Por favor, preencha o campo mensagem.");
							document.form1.msg.focus();
							return false;
				}				
						     		        
		        //se todas as verificações retornaram false, posta o formulário
				else {		
		     document.form1.submit();
			 }
				 }
				 
				 
				 

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
	
	
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}	
				 