//// carrega flash
function flash(caminho,largura,altura){
	document.write('<object type="application/x-shockwave-flash" data="'+caminho+'" width="'+largura+'" height="'+altura+'"> \n');
	document.write('<param name="movie" value="'+caminho+'"/>');
	document.write('<param name="wmode" value="transparent"/>');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('</object>');
}

$(document).ready(function() {
	$('.galeria li a').lightBox();
	$('.atuacao dd').hide();
	$(".atuacao dt a").toggle(
		function(){
			$(this).css('color','#999999');
			$(this).parent().next().slideDown("slow");
		}, function(){
			$(this).css('color','#000000');
			$(this).parent().next().slideUp("slow");			
		});
	$("#casos dd").hide();
	$("#casos dt a").toggle(
		function(){
			$(this).css('color','#999999');
			$(this).parent().next().slideDown("slow");
		}, function(){
			$(this).css('color','#000000');
			$(this).parent().next().slideUp("slow");			
		});
	$('#tooltip a').hover(function(){
		$(this).next().show("slow");
	},function(){
		$(this).next().hide("slow");
	});
	$('#tooltip a').click(function(){
		return false;
	});
});
