<%Dim imgUrl
imgUrl=request("img")
If imgUrl="" Then response.write "<script>self.close();</script>"
imgUrl="../../UploadFiles/"&imgUrl
%>
<body leftmargin=0 topmargin=0 style="background:#FFFFFF;">
<img id=img1 src="<%=imgUrl%>" onload="self.resizeTo(this.offsetWidth+50,this.offsetHeight+50);">
</body>