			var _img_grande,tit;

			function popImg() {
				var ops = "top=" + ((screen.height - _img_grande.height) / 2);
				ops += ",left=" + ((screen.width - _img_grande.width) / 2);
				ops += ",width=" + _img_grande.width + ",height=" + _img_grande.height;
				var contenido = "<html><title>" + tit + "</title><body onblur='javascript:window.close();'; style='background-image: url(" + _img_grande.src + ")'></body></html>";
				var ventana = window.open("", "", ops);
				ventana.document.write(contenido);
				ventana.document.close();
			}

			function cargando() {
				if (_img_grande.complete) popImg();
				else setTimeout("cargando()", 100);
			}

			function popImage(imagen,titulo)	{
			tit = titulo;
				_img_grande = new Image();
				_img_grande.src = imagen;
				cargando();
			}

/*OK
Cambia los espacios en blanco por la marca &nbsp;
cadena - cadena de caracteres
Devuelve la cadena con las marca de espacio blanco.
*/
function cambia_blancos(cadena)
	{
	Count=0;
	stotal="";
	for (Count=0; Count < cadena.length; Count++)
		{
		Char = cadena.substring(Count, Count+1);
		if (Char != " ")
			stotal+=Char;
		else
			stotal+="%20";
		}
	return(stotal);
    }
