var index = -1;
function Ativar(i){
	i = parseInt(i);
	if (index == -1){
		//alert("div[ind='"+i+"']");
		//alert(index);
		$("#caixa_" + i).show("slow");
		index = i;
	}
	else if (i == index){
		$("#caixa_" + i).hide("slow");
		index = -1;
	}
	else if (i != index){
		$("#caixa_" + index).hide("slow", function(){
			$("#caixa_"+i).show("slow");
			index = i;
		});
	}
	

}