function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


//このJavascriptは後で消去
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function map(count){

if(count==1)

window.open("map_tokyo.html","tokyo","width=420,height=520,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes")

if(count==2)

window.open("map_nagoya.html","nagoya","width=428,height=597,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==3)

window.open("map_osaka.html","osaka","width=572,height=644,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==4)

window.open("map_kyoto.html","kyoto","width=428,height=570,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==5)

window.open("map_fukuoka.html","fukuoka","width=428,height=520,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==6)

window.open("map_shibuya.html","shibuya","width=572,height=644,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==7)

window.open("map_utsunomiya.html","utsunomiya","width=428,height=597,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==8)

window.open("map_oyama.html","oyama","width=428,height=597,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==9)

window.open("map_okayama.html","okayama","width=428,height=535,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==10)

window.open("ap_hiroshima.html","hiroshima","width=428,height=597,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==11)

window.open("map_takamatsu.html","takamatsu","width=428,height=597,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==12)

window.open("map_kagoshima.html","kagoshima","width=428,height=597,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==13)

window.open("map_school.html","school","width=572,height=644,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==14)

window.open("map_yokohama.html","yokohama","width=432,height=520,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==15)

window.open("map_koube.html","koube","width=428,height=520,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==16)

window.open("map_hiroshima_rcc.html","hiroshima","width=428,height=520,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==17)

window.open("map_hitotubashi_gakuin.html","hitotubashi_gakuin","width=428,height=650,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==18)

window.open("map_kubota.html","kubota_bu","width=428,height=535,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==19)

window.open("map_tokushima.html","tokushima","width=428,height=500,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==20)

window.open("fukuokabuil_map.html","hukuokabuil","width=428,height=460,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==21)

window.open("map_kagoshima_0906new.html","kagoshima_0906new","width=428,height=520,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==22)

window.open("map_hukuyama.html","hukuyama","width=428,height=580,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes");

if(count==23)

window.open("http://www.tatsumi.co.jp/info/map_tokyo.html","tokyo","width=420,height=480,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes")

if(count==24)

window.open("http://www.tatsumi.co.jp/info/map_sunshine.html","tokyo","width=420,height=560,scrollbars=no,location=no,menubar=no,resizable=yes,toolbar=no,status=yes")

}
