function AbrirDivFac(campo)
{
	NVarAlvo = document.getElementById(campo);
	NVarAlvo.style.display = "block";
}

function FecharDivFac(campo)
{
	NVarAlvo = document.getElementById(campo);
	NVarAlvo.style.display = "none";
}

function AutoDivDisplay(id)
{
	NVarAlvo = document.getElementById(id);
	
	if(NVarAlvo.style.display == "none")
	{
		NVarAlvo.style.display = "block";
	}else{
		NVarAlvo.style.display = "none";
	}
	
}

function AutoDivDisplayCEP(id)
{
	NVarAlvo = (id);
	if(NVarAlvo == "Alvo0")
	{
		Alvo0.style.display = "block";
		Alvo1.style.display = "none";		
	}
	else if(NVarAlvo == "Alvo1")
	{
		Alvo1.style.display = "block";
		Alvo0.style.display = "none";		
	}
}
