	function popImage(sUrl, sWinName, sWinTitle, iWidth, iHeight)
	{
		var oCoord = getCenterCoord(iWidth, iHeight);
		var sParam = "width=" + iWidth + ",height=" + iHeight + ",top=" + oCoord.x + ",left=" + oCoord.y;
		var oWin = open("", sWinName, sParam);
		if (oWin.moveTo) {
			oWin.moveTo(oCoord.x, oCoord.y);
		}
		var oDoc = oWin.document;
		oDoc.open();
		oDoc.writeln('<html><head><title>' + sWinTitle + '</title></head>');
		oDoc.write('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" style="margin:0;border:0">');
		oDoc.write('<div align="center"><img src="' + sUrl + '" border="0"></div>');
		oDoc.writeln('</body></html>');
		oDoc.close();
	}
	
	function getCenterCoord(iWidth, iHeight)
	{
		iX = 0;
		iY = 0;
		if (screen) {
			iX = parseInt((screen.availWidth - iWidth) / 2);
			iY = parseInt((screen.availHeight - iHeight) / 2);
		}
		return { x : iX, y : iY };
	}