function overTR(tr,color){tr.style.cursor='hand';tr.borderColor=color;}
function outTR(tr,color){tr.style.cursor='default';tr.borderColor=color;}
function clickTR(tr){tr.children.tags('A')[0].click();}
function confpopup(sPath,sMsg,form){
	if (form == null) form = "contenido";
	if (confirm(sMsg))	
		eval('top.' + form).location.href=sPath;
}
function abrir(url,w,h){
	miVentana = window.open(url, null, 'toolbar=no,width='+w+',height='+h);
}
function abrirVentana(){
	preurl = "ventana.html";
	prename = "aviso";
	var miv=window.open(preurl,prename,"height=320,width=520,status=no,toolbar=no,menubar=no,location=no");

}
function zoomWindow(path)
{
	var ancho=400;
	var alto=350;
	var fin=ancho + 200;
	var x=25;
	var y=25;
	if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) {
		var ventana = window.open("", "", "resizable,height=1,width=1,top="+ x+ ",left="+ y + ",screenX=" + x + ",screenY=" + y );
		while(ancho <= fin ){
			ventana.moveTo(x,y);
			ventana.resizeTo(ancho,alto);
			x+=5;
			y+=2;
			ancho+=50;
			alto+=10;
		}
		ventana.location = path;
		ventana.moveTo( ((screen.width/2)-(ancho/2)),((screen.height/2)-(alto/2))+30);
	}else	window.open(path,'Window');
}