function openimage(filename,width,height){
	var html = new Array();
	html[0] = "<html><head><title>ZOOM</title>\n";
	html[1] = "<style type=\"text/css\"><!--\n";
	html[2] = "body{margin:0}\n";
	html[3] = "--></style></head>\n";
	html[4] = "<body marginwidth=\"0\" marginheight=\"0\">\n"
	html[5] = "<div><a href='javascript:window.close()' title='ウィンドウを閉じる'><img src=\"";
	html[6] = filename;
	html[7] = "\" border=\"0\"></a></div></body></html>\n"
	
	var windowsize;
	windowsize = "width="+width+",height="+height;
	
	newWindow = window.open('','',windowsize+",scrollbars=no");
	newWindow.document.open();
	newWindow.document.write(html.join(""));
	newWindow.document.close();
	
	return false;
}