function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function encendido(celda, color, txt){
	//alert(celda);
	document.getElementById(celda).style.background = color;
	celda=celda+"a";
	//alert(celda);
	document.getElementById(celda).style.color = txt;
	//document.all[celda].style.background=color;
}

function apagado(celda, color, txt){
	document.getElementById(celda).style.background = color;
	celda=celda+"a";
	document.getElementById(celda).style.color = txt;
	//document.all[celda].style.background=color;
}

function encendido2(celda, color, txt){
	//alert(celda);
	document.getElementById(celda).style.background = color;
	celda=celda+"a";
	//alert(celda);
	document.getElementById(celda).style.color = txt;
	//document.all[celda].style.background=color;
}

function apagado2(celda, color, txt){
	document.getElementById(celda).style.background = color;
	celda=celda+"a";
	document.getElementById(celda).style.color = txt;
	//document.all[celda].style.background=color;
}

function entra(src,color,textcolor) {
	  src.style.cursor = 'hand';
	  src.bgColor = color;
//	  src.children.tags('Font')[0].color = textcolor;
//	  src.children.tags('a')[0].children.tags('Font')[0].color='#cc0000';
	}
	
  function sale(src,color,textcolor) {
	  src.style.cursor = 'default';
	  src.bgColor = color;
//	  src.children.tags('Font')[0].color = textcolor;

	}
	function clicka(src) {
	  src.children.tags('A')[0].click();
    }

