// JavaScript Document by Lidianne Albernaz - lidianne.albernaz@gmail.com - 9413-9406
// 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 vcontato()
{
 nome=document.contato.nome.value;
 mail=document.contato.mail.value;
 maild=document.contato.msg.value;
 tel=document.contato.tel.value;
 
if (nome=="" || mail=="" || maild=="" || tel=="")
{
alert ("Todos os dados obrigatorios(*) precisam ser informados.");
return false;
}else{
	document.contato.submit();
}
}
