<!--
function openWeb(el_url, el_width, el_height, ifbmp, la_ventana) {

	var lf, tp, ifresize,ifscrollbars

	if (ifscrollbars==null) {}
	
	if (ifbmp) {
		ifresize=0;
	} else {
		ifresize=1;
	}
	
	var screenwidth = screen.width;
	var screenheight = screen.height;
	
	//ajustar el tamaņo de la pantalla restando la zona reservada para el navegador
	//segun sea mac o pc y el navegador, este ocupara mas o menos pantalla

	if (navigator.appVersion.indexOf("Mac") == -1) {
		//es un PC
		screenwidth-=0;
		screenheight-=(30+26);

		/*if (navigator.appName == "Microsoft Internet Explorer") {

		} else { //NetScape

		}/**/


	} else {
		//es un mac
		screenwidth-=0;
		screenheight-=100;
		
		if (navigator.appVersion.indexOf("Safari") != -1) {ifscrollbars=1}
		
	}

	if (screenwidth<el_width || screenheight<el_height) {

		//la pantalla es de menor resolucion que la ventana a mostrar
		//ajustar con el mayor de los coeficientes
		if (ifbmp) {
			
			if (el_width>screenwidth) {
				el_width=screenwidth;
			} else {
				el_width-=26;
			}
			
			if (el_height>screenheight) {
				el_height=screenheight;
			} else {
				el_height-=30;
			}
			
			tp=Math.floor((screenheight-el_height)/2);
			lf=Math.floor((screenwidth-el_width)/2);
			
			ifscrollbars=1;
		} else {
			if  (el_width/screenwidth >= el_height/screenheight) {
	
			 	//ajustar con la anchura
			 	el_height=Math.floor(screenwidth*el_height/el_width);
			 	el_width=screen.width;

				tp=Math.floor((screenheight-el_height)/2);
				lf=0;

		 	} else {

			 	//ajustar con la altura
	
				el_width=Math.floor(screenheight*el_width/el_height);
				el_height=screenheight;
	
				lf=Math.floor((screenwidth-el_width)/2);
				tp=0;

			}
			ifscrollbars=0;
		
		}
	} else {

		//la pantalla tiene mayor que la ventana que queremos abrir
		if (ifbmp) {
			//quitar el espacio de las barras si son graficos
			el_width-=26;
			el_height-=30;
		}

		ifscrollbars=0;

		tp=Math.floor((screenheight-el_height)/2);
		lf=Math.floor((screenwidth-el_width)/2);

	}

	var especificaciones="top="+tp+", left="+lf+", toolbar=no,location=no, status=no,menubar=no,scrollbars="+ifscrollbars+", resizable="+ifresize+", width="+el_width+",height="+el_height;
	
	if (la_ventana==null) {
		la_ventana="ejemplo"	
	}
	//alert(el_url)
	window.open(el_url,la_ventana,especificaciones);
}
//-->
