  function abrir(url, ancho, alto, barra)
  { 
	var tiempo = new Date();
    var hora, cad;
    with (tiempo){
    hora = getHours();
    cad = hora + "_" + getMinutes()+"_"+getSeconds();
    }

	izquierda = (screen.width) ? (screen.width-ancho)/2 : 100;
	arriba = (screen.height) ? (screen.height-alto)/2 : 100;
	opciones = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=' + barra + ',resizable=1,width=' + ancho + ',height=' + alto + ',left=' + izquierda + ',top=' + arriba + '';
	window.open(url, cad, opciones)
  }

