			var win = null			var home_url = "/"						function openWindow(Url, width, height, scrolling, title) {				content = ''				if(scrolling == null || scrolling == true) {					scrolling = 'yes'				} else {					scrolling = 'no'				}				if((Url.indexOf(".jpg") > 0) || (Url.indexOf(".gif") > 0)) {			//	its not html					content = "<html><head><title>"					content += title + default_title					content += "</title>"										if(!browser.isIE)						content += "<script>modw =(parseInt(self.outerWidth) - parseInt(self.innerWidth)); modh =(parseInt(self.outerHeight) - parseInt(self.innerHeight)); function resize(that) { mw = parseInt(that.width) + modw; mh = parseInt(that.height) + modh; window.status = mw + ', ' + mh; window.resizeTo(mw,mh); }</script>"					else						content += "<script>function resize(that) { window.resizeTo(" + width + "," + height + ");  modw=" + width + "-(document.body.clientWidth-that.width); modh=" + height + "-(document.body.clientHeight-that.height); window.resizeTo(modw,modh) }</script>"								content += "</head><body bgcolor=white marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0>"					content += "<img onLoad='window.resize(this);window.focus()' src=" + Url + ">"			//		content += "<img onLoad='resizeImageWindow(this)' src=" + Url + " width=" + width + " height=" + height + ">"					content += "</body></html>"					scrolling = "no"					Url = ""				}				if(!win || win.closed) {					eval ("win = open('" + Url + "', 'win_pop', 'width=" + width + ",height=" + height + ",toolbar=no,status=no,resizable=yes,location=no,menubar=no,scrollbars=" + scrolling + ",titlebar=no,status=yes')")					win.moveTo(0,0)				}				if(content != "") {					win.document.open()					win.document.writeln(content)					win.document.close()				} else {					win.location.href = Url				}				return				win.document.title = title				win.focus()								win_w = width				win_h = height							}			function home(url) {				if(!url) {					url = home_url				}				if(window.opener) {					window.opener.location.href = url					window.opener.focus()				} else {					newwindow = open(url, 'blank', '760,480,toolbar=yes,status=yes,resizable=yes,location=yes,menubar=yes,scrollbars=yes,titlebar=yes,status=yes')					newwindow.focus()				}				if(url == home_url)					self.close()			}
