function valida_dados_contato(frm){
if(!carac_invalidos(frm)){
return false;}
if(frm.nome1.value==""){
if(idi==0)
alert("Preencha o campo 'Nome'.");
else
alert("Please fill your Name into this box.");
frm.nome1.focus();
return false;}
if(!valida_email(frm.mail1))
return false;
if(frm.assunto.value==""){
if(idi==0)
alert("Preencha o campo 'Assunto'.");
else
alert("Please fill the subject into this box.");
frm.assunto.focus();
return false;}
if(frm.mensagem.value==""){
if(idi==0)
alert("Preencha o campo 'Mensagem'.");
else
alert("Please write down your message into this box.");
frm.mensagem.focus();
return false;}
else
return true;}
