// <![CDATA[

$(document).ready(function() {
	
	$("#menu_lateral li").click(function() {
			url = $("> a", this).attr("href");
			window.location = url;
	});
	
	$(".agenda").change(function() {
			url = $("#link_onchange").val()+$(this).val();
			window.location = url;
	});
	
	$(".faq_pergunta").click(function() {
			for (i = 1; i <= 99; i++)
			{
				$("#r"+i).hide('fast');
			}
			resposta_id = $(this).attr("id");
			div_resposta = "#r"+resposta_id;
			$(div_resposta).show('slow');
	});

	$(".faq_fechar").click(function() {
			resposta_id = $(this).attr("id");
			div_resposta = "#r"+resposta_id;
			$(div_resposta).hide('fast');
	});
	
	/*
	jQuery('#mycarousel').jcarousel({
        vertical: true,
		auto: 4, //Segundos até o próximo scroll
		wrap: 'both',
		animation: 'slow',
		buttonNextHTML: null,
		buttonPrevHTML: null,
        scroll: 1
    });
    */

});

// ]]>