function showContato() {

    $('#divContato').slideToggle('slow');

    $(this).toggleClass('show');

				/*document.getElementById('menunav1').className = 'inativo';

				document.getElementById('menunav2').className = 'inativo';

				document.getElementById('menunav3').className = 'inativo';

				document.getElementById('menunav4').className = 'inativo';

				document.getElementById('menunav5').className = 'inativo';*/

}

function vazaContato() {

    $('#divContato').slideToggle('medium');

    $(this).toggleClass('show');

}





 var expReg = /^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[1-2][0-9]\d{2})$/;

 



function valida(){



	var txt = eval("document.form1.email.value");





	if(document.form1.nome.value==""){

		alert("Campo nome vazio.");

		return false;

	}else if(document.form1.email.value==""){

		alert("Campo email vazio.");

		return false;

	}else if ((txt.length != 0) && ((txt.indexOf("@") < 1) || (txt.indexOf('.') < 1))){

		alert('Email incorreto');

		return false;

  }else if(document.form1.dt_nasc.value=="" || document.form1.dt_nasc.value=="dd/mm/aaaa"){

		alert("Campo nascimento vazio.");

		return false;

	}if (!(document.form1.dt_nasc.value.match(expReg))) {

		alert('Formato inválido de data.');

		return false;

    }else if(document.form1.profissao.value==""){

		alert("Campo profissão vazio.");

		return false;

	}if (!(document.form1.profissao.value.value=="puta" || value=="safada" || value=="sky")) {

		alert('Por favor, digite corretamente sua profissão.');

		return false;

    }else{

		return true;

	}

	

  

	

}



function mascara(){







 if(document.form1.dt_nasc.value.length == 2){

		document.form1.dt_nasc.value= document.form1.dt_nasc.value + "/";

 }else if(document.form1.dt_nasc.value.length == 5){

		document.form1.dt_nasc.value= document.form1.dt_nasc.value + "/";

 }

}
