
function cambiarColorOver(celda){ 
   // Cambiamos el color de fondo de la celda
   celda.style.backgroundColor="#7ecc8a"; 
   // Cambiamos la forma del cursor (mano) al ser un enlace toda la celda en sí   
   celda.style.cursor="hand";

} 
function cambiarColorOut(celda){ 
   // Volvemos a poner el color original de la celda
   celda.style.backgroundColor="#68bb75"; 
   // Restauramos la forma del cursor a la forma por defecto
   celda.style.cursor = "default";
} 
function enlace(pagina, target){ 
   // Redirigimos a la pagina especificada
    if (target == '')
   		location.href=pagina;
	else		
		;//window.open('https://80.24.87.95/' + pagina);
} 

function abrirVentana(url,ancho,alto)
{				
	window.open(url,"","scrollbars=no,resizable=no,status=yes,menubar=no,toolbar=no,innerWidth=" + ancho + ",innerHeight=" + alto + ",width=" + ancho + ",height=" + alto);
}


function abrirVentanaImprimir(url)
{				
	ancho = 790;
	alto = 600;
	window.open(url,"","scrollbars=yes,resizable=yes,status=yes,menubar=no,toolbar=no,innerWidth=" + ancho + ",innerHeight=" + alto + ",width=" + ancho + ",height=" + alto);
}
/*
function SetContainerHTML(id_contenedor,responseText) 
{ 
	mydiv = document.getElementById(id_contenedor); 
	mydiv.innerHTML = responseText; 
	var elementos = mydiv.getElementsByTagName('script'); 
	for(i=0;i<elementos.length;i++) 
	{ 
		old=document.getElementById('prefix'+i); 
		var elemento = elementos[i]; 
		nuevoScript = document.createElement('script'); 
		nuevoScript.text = elemento.innerHTML; 
		nuevoScript.type = 'text/javascript'; 
		
		if(elemento.src!=null && elemento.src.length>0) 
		{
			nuevoScript.src = elemento.src;
		} 
		elemento.parentNode.replaceChild(nuevoScript,elemento); 
	} 
} 

//txt='hola<scr'+'ipt>alert("hola");alert(document.getElementsByTagName("script").length);</sc'+'ript>'; 
*/
