function PopupImage(URL, WIDTH, HEIGHT) {
	windowprops = "left=2,top=2,width=" + (WIDTH+30) + ",height=" + (HEIGHT+70);
	windowprops += ",menubar = yes";
	text = "<html><head><title>Preview</title>";
	text += "<meta http-equiv='Content-Type' content='text/html; charset=EUC-JP'>";
	text += "</head><body bgcolor='white'";
	text += " onload='self.window.focus();'>";
	text += "<center><img src='" + URL + "' width='" + WIDTH + "' height='" + HEIGHT + "'><br><br>";
	text += "<input type='button' value='ÊÄ¤¸¤ë' onclick='window.close();'>";
	text += "</center></body></html>";
	preview = window.open("", "preview", windowprops);
	preview.document.open();
	preview.document.write(text);
	preview.document.close();
}
