// Script usado para a navegação do curriculo. os arquivos são : dentistas.php;
function showHide (ID) {
	if (document.getElementById(ID).style.display == "none") {
	   document.getElementById(ID).style.display= "";
}
	else {
	   document.getElementById(ID).style.display = "none";
	}
}

// Script usado no menu do administrador (inclusao)(exclusao)(alteracao) os aquivos são : tratamento.php; noticias.php;
function ExpandeDiv(id_cadastro){
	var qtd_div = document.getElementsByTagName('div').length;
	var div_sel = document.getElementById(id_cadastro);
	var todas_divs;

	for (var i = 1; i <= qtd_div; i++){
		todas_divs = document.getElementById("div"+i);

		if (todas_divs.id != id_cadastro)
			todas_divs.style.display = 'none';
		else
			div_sel.style.display = 'block';
	}
}
