// Mostra e esconde div
antes = "";
function mostraDiv(alvo){
	target = document.getElementById(alvo);
	box = document.getElementById("box"+alvo);
	seta = document.getElementById("seta"+alvo);

	if(target.style.display == "block"){
		target.style.display = "";
		box.style.background = "none";
		seta.src = "http://www.caixaconsorcios.com.br/CaixaConsorcios/Publicidade/lei11795/img/seta_fechado.gif";
	}else{
		target.style.display = "block";
		box.style.background = "#ffffff";
		seta.src = "http://www.caixaconsorcios.com.br/CaixaConsorcios/Publicidade/lei11795/img/seta_aberto.jpg";
	}
	
	if(antes != "" && antes != alvo){
		targetAntes = document.getElementById(antes);	
		boxAntes = document.getElementById("box"+antes);
		setaAntes = document.getElementById("seta"+antes);
		
		targetAntes.style.display = "";
		boxAntes.style.background = "none";
		setaAntes.src = "http://www.caixaconsorcios.com.br/CaixaConsorcios/Publicidade/lei11795/img/seta_fechado.gif";
	}
	
	antes = alvo;
}

//Mouse Over
function over(alvo){
	target = document.getElementById(alvo);
	box = document.getElementById("box"+alvo);	
	box.style.background = "#ffffff";
}

//Mouse Over
function out(alvo){
	target = document.getElementById(alvo);
	box = document.getElementById("box"+alvo);
	
	if(target.style.display == "block"){
		
	}else{
		box.style.background = "none";
	}
}
