<script type="text/javascript"><!--
wintop=100; //モニター上の表示位置Y
winleft=250; //モニター上の表示位置X
//-------------------------------------
imgtemp="";
function imgopen(imgsrc,winw,winh,exp){
exp1=exp;
if(imgtemp!=imgsrc || window.win.closed){
imgtemp=imgsrc;
win=window.open("", "imgwin","width="+winw+",height="+winh+",left="+winleft+",top="+wintop);
writetext="<html><head><title>"+exp+"</title></head>\n";
writetext+="<body style='margin:0;'onclick='window.close();'>\n";
writetext+="<img src='"+imgsrc+"'galleryimg='no'border=0>";
win.document.open();
win.document.write(writetext);
win.document.close();
win.focus();
}else{win.close();imgtemp="";}
}
onunload=function(){if(window.win)win.close();}
/*himajin.moo.jp*/
// --></script>