function abrir(ancho,alto,direcc){
     vent='v';//+Math.ceil(Math.random()*10000);
     ventana=window.open(direcc,vent,"width="+ancho+",height=" + alto + ",scrollbars=1\"");
	 ventana.focus();
}


// Funcion que abre una ventana flotante
	function NewWindow(myurl,myname, w, h, scroll) {
		var winl = (screen.width)  ? (screen.width - w) / 2 : 0;
		var wint = (screen.height) ? (screen.height - h) / 2 :0 ;
		winprops='height='+h+',width='+w+',top='+wint+',left='+winl+', scrollbars='+scroll+',resizable';
		win =window.open(myurl,myname,winprops);
		if (parseInt(navigator.appVersion) >= 4) {
			win.window.focus();
		}
	}
