<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function abre() {
    var foto = window.open("","janela","width=290,height=360,resizable=no,toolbar=0,location=0,directories=0,status=no,menubar=0");
    setTimeout ("document.dados.submit();",10);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function abreJanela(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function PegaElementoId(id) {
if (document.getElementById(id)) {
	return document.getElementById(id);
	} else if (document.all[id]) {
		return document.all[id];
		} else if (document.layers && document.layers[id]) {
			return (document.layers[id]);
			} else {
				return false;
			}
}

function aaaaaaa(id) {
	return PegaElementoId(id);
}

function collapseAll() {
PegaElementoId('menu1').style.visibility = "hidden"
PegaElementoId('menu1a').style.visibility = "hidden"
PegaElementoId('menu1b').style.visibility = "hidden"
PegaElementoId('menu1c').style.visibility = "hidden"
PegaElementoId('menu2').style.visibility = "hidden"
PegaElementoId('menu2a').style.visibility = "hidden"
PegaElementoId('menu3').style.visibility = "hidden"
PegaElementoId('menu4').style.visibility = "hidden"
PegaElementoId('menu4a').style.visibility = "hidden"
PegaElementoId('menu4b').style.visibility = "hidden"
PegaElementoId('menu4c').style.visibility = "hidden"
PegaElementoId('menu4d').style.visibility = "hidden"
PegaElementoId('menu4e').style.visibility = "hidden"
PegaElementoId('menu5').style.visibility = "hidden"
PegaElementoId('menu6').style.visibility = "hidden"
}

function expand(menu) {
PegaElementoId(menu).style.visibility = "visible"
}


function janelaSecundaria(URL,NOME){
   window.open(URL,NOME,"width=400,height=278,scrollbars=yes")
}

function toggle_visibility(id, flag)  {
if (PegaElementoId(id)) {
	PegaElementoId(id).style.visibility = (flag) ? 'visible' : 'hidden';
	}
}

//-->