//
function HpbImgPreload()
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=false,isN6=false,isIE=false;
  if (document.all && appVer >= 4) isIE=true; else
    if (document.getElementById && appVer > 4) isN6=true; else
      if (document.layers && appVer >= 4) isNC=true;
  if (isNC||isN6||isIE)
  {
    if (document.images)
    {
      var imgName = HpbImgPreload.arguments[0];
      var cnt;
      swImg[imgName] = new Array;
      for (cnt = 1; cnt < HpbImgPreload.arguments.length; cnt++)
      {
        swImg[imgName][HpbImgPreload.arguments[cnt]] = new Image();
        swImg[imgName][HpbImgPreload.arguments[cnt]].src = HpbImgPreload.arguments[cnt];
      }
    }
  }
}
// HpbImgFind:
//
function HpbImgFind(doc, imgName)
{
  for (var i=0; i < doc.layers.length; i++)
  {
    var img = doc.layers[i].document.images[imgName];
    if (!img) img = HpbImgFind(doc.layers[i], imgName);
    if (img) return img;
  }
  return null;
}
// HpbImgSwap:
//
function HpbImgSwap(imgName, imgSrc)
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=false,isN6=false,isIE=false;
  if (document.all && appVer >= 4) isIE=true; else
    if (document.getElementById && appVer > 4) isN6=true; else
      if (document.layers && appVer >= 4) isNC=true;
  if (isNC||isN6||isIE)
  {
    if (document.images)
    {
      var img = document.images[imgName];
      if (!img) img = HpbImgFind(document, imgName);
      if (img) img.src = imgSrc;
    }
  }
}
var swImg; swImg=new Array;
//
//
HpbImgPreload('HPB_ROLLOVER1', 'images/menu01_a.jpg', 'images/menu01_b.jpg');
HpbImgPreload('HPB_ROLLOVER2', 'images/menu02_a.jpg', 'images/menu02_b.jpg');
HpbImgPreload('HPB_ROLLOVER3', 'images/menu03_a.jpg', 'images/menu03_b.jpg');
HpbImgPreload('HPB_ROLLOVER4', 'images/menu04_a.jpg', 'images/menu04_b.jpg');
HpbImgPreload('HPB_ROLLOVER5', 'images/menu05_a.jpg', 'images/menu05_b.jpg');
HpbImgPreload('HPB_ROLLOVER6', 'images/menu06_a.jpg', 'images/menu06_b.jpg');
//
//
function openWin()
{
	window.open("http://www.clinical.to/gaiyou.htm","Sample","width=630,height=550");
}
// 
//
function openWin_2()
{
	window.open("boshuu.htm","Sample","width=370,height=220");
}
// 
//
function openWin_3()
{
	window.open("jigyou.htm","Sample","width=500,height=250");
}
//
//
function openWin_4()
{
	window.open("news.htm","Sample","width=378,height=284");
}
//
//
function openWin_5()
{
	window.open("pre.htm","Sample","width=500,height=410");
}
//
//
function openWin_6()
{
	window.open("shinri02.htm","Sample","width=500,height=330");
}
//
//
function openWin_7()
{
	window.open("map_sata.htm","Sample","width=280,height=300");
}
//
//
function openWin_8()
{
	window.open("map_ohmiya.htm","Sample","width=800,height=670");
}
//
//
function openWin_9()
{
	window.open("map_kawagoe.htm","Sample","width=800,height=700");
}
//
//
function openWin_10()
{
	window.open("map_iida.htm","Sample","width=800,height=670");
}
//
//
function openWin_11()
{
	window.open("map_shiki.htm","Sample","width=800,height=500");
}
//
//
function openWin_13()
{
	window.open("map_kyobashi.htm","Sample","width=800,height=670");
}
//
//
function openWin_17()
{
	window.open("map_sinjuku3.html","Sample","width=800,height=670");
}
//
//
function openWin_15()
{
	window.open("map_tokoro.html","Sample","width=800,height=670");
}
//
//
function openWin_16()
{
	window.open("map_bukuro.html","Sample","width=800,height=670");
}
//
//
function openWin_18()
{
	window.open("map_tachi.html","Sample","width=800,height=670");
}
//
//
function Pageclose(){
window.close();
}
//
