$(function(){

	$(":text").labelify();
	$("textarea").labelify();
	$("#msn").labelify();
	
	$(".scrollpane").jScrollPane({showArrows:true, scrollbarWidth: 13, arrowSize: 13});
	
	$("#leftDownCat").hide();
	$("#leftDownCat1").hide();
	$("#leftDownCat2").hide();
	$("#leftDownCat3").hide();
	$("#rightDownCat").hide();
	$("#rightDownCat1").hide();
	$("#rightDownCat2").hide();
	
	
	$(".ol01").hide();
	
	
	$(".ano").click(function(){
		$("div.boxesd").hide("slow");
		$("#leftDownCat").show("slow");
	});
	$(".ano1").click(function(){
		$("div.boxesd").hide("slow");
		$("#leftDownCat1").show("slow");
	});
	$(".ano2").click(function(){
		$("div.boxesd").hide("slow");
		$("#leftDownCat2").show("slow");
	});
	$(".ano3").click(function(){
		$("div.boxesd").hide("slow");
		$("#leftDownCat3").show("slow");
	});
	$(".anoRight").click(function(){
		$("div.boxesd").hide("slow");
		$("#rightDownCat").show("slow");
	});
	$(".anoRight1").click(function(){
		$("div.boxesd").hide("slow");
		$("#rightDownCat1").show("slow");
	});
	$(".anoRight2").click(function(){
		$("div.boxesd").hide("slow");
		$("#rightDownCat2").show("slow");
	});
	$(".perg01").click(function(){
		$(".resp01").toggle("slow");
	});
	$(".perg02").click(function(){
		$(".resp02").toggle("slow");
	});
	$(".perg03").click(function(){
		$(".resp03").toggle("slow");
	});
	$(".perg04").click(function(){
		$(".resp04").toggle("slow");
	});
	$(".perg05").click(function(){
		$(".resp05").toggle("slow");
	});
});

// valida e-mail
var validaEmail = function(s) {
	var regexpEmail = /\w{1,}[@][\w\-]{1,}([.]([\w\-]{1,})){1,3}$/;
	return regexpEmail.test(s);
}; // fim validaEmail