function colorize(id)
{
	var i, bgColor = "";;
	if (this.visible){
		if (this.bgColor != bgColor){
			this.bgColor = bgColor;
			this.needsUpdate = true;
		}
		for (i = 0; i < document.lists.length; i++){
			document.lists[i].touch = true;
			if (i != id){
				if (document.lists[i].bgColor != bgColor){
					document.lists[i].bgColor = bgColor;
					document.lists[i].needsUpdate = true;
				}
			}
		}
	}
	var p = this;
	while (p != null){
		p.touch = false;
		p = p.parentList;
	}
	for (i = 0; i < document.lists.length; i++)
		if (document.lists[i].touch && document.lists[i].visible)
			expand(document.lists[i].id);
	//window.location.hash = "#topDesplegable";
}

function redo(){
	document.location.reload();
}

function getNambeObjCapa(capa){
    if (navigator.family == "ie4") return document.all[capa];
    if (navigator.family == "nn4") return document.layers[capa];
    if (navigator.family == "gecko") return document.getElementById(capa);
	}
function getLeft(capa){
	if ( navigator.family == "ie4" )
		return parseInt(capa.offsetLeft);
	if ( navigator.family == "gecko" )
		return parseInt(capa.offsetLeft);
	if ( navigator.family == "nn4" )
		return parseInt(capa.pageX);
	}
function getTop(capa){
	if ( navigator.family == "gecko" )
		return parseInt(capa.offsetTop);
	if ( navigator.family == "ie4" )
		return parseInt(capa.offsetTop);
	if ( navigator.family == "nn4" )
		return parseInt(capa.pageY);
	}
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);
