function ColorFila() {
	var rows = document.getElementsByTagName('tr');
	for (var i = 0; i < rows.length; i++) {
		rows[i].onmouseover = function() {
			this.className += ' hilite';
		}
		rows[i].onmouseout = function() {
			this.className = this.className.replace('hilite', '');
		}
	}
}
//************************************************************
// FUNCION: popUpWindow(URLStr, left, top, width, height)
// Autor: MMDW
// Descripcion: Abre una Ventana.
//************************************************************
var popUpWin=0;

function popUpWindow(URLStr, left, top, width, height){
  if(popUpWin){
    if(!popUpWin.closed) popUpWin.close();
  }//end if  
  popUpWin = window.open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}//end function

//************************************************************
// FUNCION: setVisibility(cLayer)
// Adrian Gerig 20 Feb, 2007
// Descripcion: Apaga la capa activa, muestra una capa dada.
//************************************************************
var cCurrentLayer = "bannerOptions1";//Se debe colocar cual capa estar� activa inicialmente
function setVisibility(cLayer){
	cCurrentLayer = cLayer;
	document.getElementById(cCurrentLayer).style.display 	= "none";
	//cCurrentLayer = cLayer; prender este y apaga el de arriba para que se esconda el ultimo abierto
	
	document.getElementById(cLayer).style.display 	 = "block";
	document.getElementById(cLayer).style.visibility = "visible";
}
function setHide(cLayer){
	document.getElementById(cLayer).style.display 	= "none";
}
