function go(g){
if(g.length>3){
link_win=window.open(g);
}
}
function mnt(){

mnt_win=window.open("mapsys00.htm","map","width="+(scr_w*1+20)+",height="+(scr_h*1+40));
//help_win=window.open("http://qpon.quu.cc/java/mapsys/maphelp.htm","操作説明","scrollbars=yes,width=400,height=400,top=0,left=0");

}

//
document.write('<IMG SRC="',map_file2,'" USEMAP="#q_map" BORDER="0" ALT="">');
document.write('<MAP NAME="q_map">');
for(i=1;i<=n;i++){
dd=dt[i].split(",");
d0=dd[0]*1;d1=dd[1]*1;d3=dd[3]*1;d4=dd[4]*1;
if(dd[6].length>5){
document.write('<AREA SHAPE=circle COORDS=',d0+10,',',d1+10,',6 HREF="',dd[6],'" TARGET="new_win">');
document.write('<AREA SHAPE=rect COORDS=',d0+d3+4,',',d1+d4+4,',',d0+d3*1+(dd[5].length*2+3)*6+4,',',d1+d4*1+20+4,' HREF="',dd[6],'" TARGET="new_win">');
}
}
document.write('</MAP>');
//
document.write('<center><form name="myform">');
nav=navigator.appName.substring(0,1);
if(nav=="M"){
document.write('<input type=button name="mst_mnt" value="地図書込み" onClick="mnt()">');
}
document.write('<input type=hidden name="mst_dt" value="">');
document.write('<input type=hidden name="img_w" value="">');
document.write('<input type=hidden name="img_h" value="">');
document.write('<input type=hidden name="img_file" value="">');
document.write('<input type=hidden name="img_file2" value="">');
document.write('<input type=hidden name="img_color" value="">');
document.write('</form></center>');
//

function load(){
dm="";
for(i=1;i<=n;i++){
dm=dm+"|"+dt[i];
}
document.myform.mst_dt.value=dm;
document.myform.img_w.value=scr_w;
document.myform.img_h.value=scr_h;
document.myform.img_file.value=map_file;
document.myform.img_file2.value=map_file2;
}

