function ViewImage(ifile,ix,iy,ititle) {
	var win;
	win = window.open("","","width="+ix+",height="+iy+",menubar=no,toolbar=no");
	win.focus();
	dok = win.document;
	dok.open();
	dok.write("<html><head><title>"+ititle+"</title>");
	dok.write("</head>");
	dok.write("<body onClick=\"javascript:self.close();\" onLoad=\"focus();\">");
	dok.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">');
	dok.write('<img src='+ifile+' alt="Left click to close"></div></body></html>');
	dok.close();
	return false;
}