function openimage(filename,width,height,textset) {
	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\" style='margin-bottom:10px'></a></div>\n"
	html[8] = "<div style='text-align:center; font-size:12px; line-height:150%; color:#333333; font-family:Verdana'>";
	html[9] = textset;
	html[10] = "</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;
}

