var isNav, isIE, isNav2;
var coll = "";
var coy = "";
var styleObj = "";


if (navigator.appVersion.charAt(0) == "5")
 { if (navigator.appName == "Netscape") { 
    isNav2 = true
	coy = "getElementById('"; styleObj = "').style";
   } 
}

else
{ if (navigator.appName == "Netscape") { 
    isNav = true 
	coy = "layers['";styleObj = "']"; 
   } 
else 
	{isIE = true; coll = "all['"; styleObj = "'].style";}
}


function getObject(obj) {
	var theObj;
    if( typeof obj == "string" )
	{theObj = eval("document." + coll + coy  + obj +  styleObj);}
    else {theObj = obj;}return theObj;}

function show(obj) {
   var theObj = getObject(obj);
   if( isNav2 || isNav ) {theObj.visibility = "inherit";}
   else {theObj.visibility = "inherit";}
}

function hide(obj) {
	var theObj = getObject(obj);
   if( isNav2 ) theObj.visibility = "hidden";
   else if ( isNav) theObj.visibility = "hide";
   else theObj.visibility = "hidden";
}



function NewReload(){location.reload(); return false;} 


function hideCambiaLayers() {hide("seta1");hide("seta2");hide("seta3");hide("seta4");hide("seta5");hide("seta6");hide("port1");hide("port2");hide("port3");hide("port4");hide("port5");hide("port6");}
function hideCambiaLayers2() {hide("subseta1");hide("subseta2");hide("subseta3");hide("subseta4");hide("subseta5");}

		function ver(n) {hideCambiaLayers(); show("seta" + n); show("port" + n);}
		function nover() {hideCambiaLayers();}

		function ver2(n) {hideCambiaLayers(); show("subseta" + n);}
		function nover2() {hideCambiaLayers2();}



	
	



