// JavaScript Document by Lidianne Albernaz

// Apenas_numeros
function soNumero(e) {
if(window.event) {
// for IE, e.keyCode or window.event.keyCode can be used
key = e.keyCode;
}
else if(e.which) {
// netscape
key = e.which;
}
if (key!=8 || key < 48 || key > 57) return (((key > 47) && (key < 58)) || (key==8));
{
    return true;
  }
}


function verificacontato()
{
 nome=document.contato.nome.value;
 mail=document.contato.mail.value;
 desc=document.contato.desc.value;
 
if (nome=="" || mail=="" || desc=="")
{
alert ("Todos os dados obrigatorios(*) precisam ser informados.");
return false;
}else{
	document.contato.submit();
}
}


function email()
{
if(email.indexOf('@')==-1) 

{
alert("E-mail incorreto. Verifique e tente novamente.");
return false;
}
}