// JavaScript Document
<!--

right_year = new  Date() ;  //CopyRight　年（西暦）

function copy_year(){
	document.write('-' + right_year.getFullYear());
}

function top_banner(){
    document.write('<td width="780" align="right" valign="top" height="35" colspan="2" class="font_1">WelCome to Hokuseishin.jp | <a href="help.html">HELP</a> | <a href ="pass.html">Login</a></td>');

}

function info_jump(){
	location.href = "info.html";
}

function map_(hed,rowspan,dat){
	// program Copyright SeijiTajima
	document.write("<table border=0 cellpadding=0 cellspacing=0 class='boxl_2TABL'>");
	document.write("<tbody>");

	i=0;data='';
	while (hed.length > 0){
		i++;
		data=hed.shift();
    	if(i==1)document.write('<tr><td rowspan="' + rowspan + '" class="boxl_2CELL" width="42">');
		if(i==2)document.write('<td class="boxl_2CELL" width=70>');
		if(i==3)document.write('<td class="boxl_2CELL" width=200>');
		if(i==4)document.write('<td class="boxl_2CELL" width=231>');
		if(i==5)document.write('<td  class="boxl_2CELL" width=88>');
		if(i==6){
			if(data.length>0){document.write('<td class="boxl_2CELL" width=20 align="center"><a href="' + data + '" target = "_blank"><font style="font-size:18px;">■</font></a></td>');}
			else{document.write('<td class="boxl_2CELL" width=20 align="center">−</td>');}
			}
		else{document.write(data + '</td>');}
		if(i==6){document.write("</tr>");i=0;}
	}
	i=0;data='';
	while (dat.length > 0){
		i++;
		data=dat.shift();
		if(i==1)document.write('<td class="boxl_2CELL" width=70>');
		if(i==2)document.write('<td class="boxl_2CELL" width=200>');
		if(i==3)document.write('<td class="boxl_2CELL" width=231>');
		if(i==4)document.write('<td  class="boxl_2CELL" width=88>');
		if(i==5){
			if(data.length>0){document.write('<td  class="boxl_2CELL" width=20 align="center"><a href="' + data + '" target = "_blank"><font style="font-size:18px;">■</font></a></td>');}
			else{document.write('<td class="boxl_2CELL" width=20 align="center">−</td>');}
			}
		else{document.write(data + '</td>');}
		if(i==5){document.write("</tr>");i=0;}
	}
	document.write("</tbody>");
	document.write("</table>");
}

function mmLoadMenus() {
  if (window.mm_menu_ind1_0) return;
  
  window.mm_menu_ind1_0 = new Menu("root",120,18,"ＭＳ Ｐゴシック, Osaka, ヒラギノ角ゴ Pro W3",12,"#000000","#000000","#FFFFFF","#66CC00","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_ind1_0.addMenuItem("お知らせ","location='http://www.hokuseishin.jp/index.html'");
  mm_menu_ind1_0.addMenuItem("新着情報詳細","location='http://www.hokuseishin.jp/news.html'");
  mm_menu_ind1_0.addMenuItem("メンタル豆知識","location='http://www.hokuseishin.jp/info.html'");
  mm_menu_ind1_0.addMenuItem("北精診協会員専用","location='http://www.hokuseishin.jp/pass.html'");
  mm_menu_ind1_0.hideOnMouseOut=true;
  mm_menu_ind1_0.bgColor='#000000';
  mm_menu_ind1_0.menuBorder=1;
  mm_menu_ind1_0.menuLiteBgColor='#FFFFFF';
  mm_menu_ind1_0.menuBorderBgColor='#000000';



  window.mm_menu_ind3_0 = new Menu("root",140,18,"ＭＳ Ｐゴシック, Osaka, ヒラギノ角ゴ Pro W3",12,"#000000","#000000","#FFFFFF","#66CC00","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_ind3_0.addMenuItem("ごあいさつ","location='http://www.hokuseishin.jp/aisatu.html'");
  mm_menu_ind3_0.addMenuItem("北精診の歴史","location='http://www.hokuseishin.jp/history.html'");
  mm_menu_ind3_0.addMenuItem("協会への入会案内","location='http://www.hokuseishin.jp/nyukai.html'");
  mm_menu_ind3_0.hideOnMouseOut=true;
  mm_menu_ind3_0.bgColor='#000000';
  mm_menu_ind3_0.menuBorder=1;
  mm_menu_ind3_0.menuLiteBgColor='#FFFFFF';
  mm_menu_ind3_0.menuBorderBgColor='#000000';

  window.mm_menu_ind2_0_1 = new Menu("札幌市内",60,18,"ＭＳ Ｐゴシック, Osaka, ヒラギノ角ゴ Pro W3",12,"#000000","#000000","#FFFFFF","#FFCC00","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_ind2_0_1.addMenuItem("すべて","location='http://www.hokuseishin.jp/map_sapporo.all.html'");
  mm_menu_ind2_0_1.addMenuItem("　中央区","location='http://www.hokuseishin.jp/map_sapporo.TyuouKu.html'");
  mm_menu_ind2_0_1.addMenuItem("　北区","location='http://www.hokuseishin.jp/map_sapporo.KitaKu.html'");
  mm_menu_ind2_0_1.addMenuItem("　東区","location='http://www.hokuseishin.jp/map_sapporo.HigashiKu.html'");
  mm_menu_ind2_0_1.addMenuItem("　白石区","location='http://www.hokuseishin.jp/map_sapporo.ShiroishiKu.html'");
  mm_menu_ind2_0_1.addMenuItem("　厚別区","location='http://www.hokuseishin.jp/map_sapporo.AtubetuKu.html'");
  mm_menu_ind2_0_1.addMenuItem("　豊平区","location='http://www.hokuseishin.jp/map_sapporo.ToyohiraKu.html'");
  mm_menu_ind2_0_1.addMenuItem("　清田区","location='http://www.hokuseishin.jp/map_sapporo.KiyotaKu.html'");
  mm_menu_ind2_0_1.addMenuItem("　西区","location='http://www.hokuseishin.jp/map_sapporo.NishiKu.html'");
  mm_menu_ind2_0_1.addMenuItem("　手稲区","location='http://www.hokuseishin.jp/map_sapporo.TeineKu.html'");
  mm_menu_ind2_0_1.hideOnMouseOut=true;
  mm_menu_ind2_0_1.bgColor='#000000';
  mm_menu_ind2_0_1.menuBorder=1;
  mm_menu_ind2_0_1.menuLiteBgColor='#FFFFFF';
  mm_menu_ind2_0_1.menuBorderBgColor='#000000';
  
  window.mm_menu_ind2_0 = new Menu("root",110,18,"ＭＳ Ｐゴシック, Osaka, ヒラギノ角ゴ Pro W3",12,"#000000","#000000","#FFFFFF","#66CC00","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_ind2_0.addMenuItem(mm_menu_ind2_0_1,"location='http://www.hokuseishin.jp/map_sapporo.all.html'");
  mm_menu_ind2_0.addMenuItem("北海道内","location='http://www.hokuseishin.jp/map_hokkaido.all.html'");
  mm_menu_ind2_0.hideOnMouseOut=true;
  mm_menu_ind2_0.childMenuIcon="arrows.gif";
  mm_menu_ind2_0.bgColor='#000000';
  mm_menu_ind2_0.menuBorder=1;
  mm_menu_ind2_0.menuLiteBgColor='#FFFFFF';
  mm_menu_ind2_0.menuBorderBgColor='#000000';

window.mm_menu_indQ_0 = new Menu("root",90,18,"ＭＳ Ｐゴシック, Osaka, ヒラギノ角ゴ Pro W3",12,"#000000","#000000","#FFFFFF","#66CC00","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_indQ_0.addMenuItem("お問い合わせ","location='https://ss1.xrea.com/www.hokuseishin.jp/qa.html'");
  mm_menu_indQ_0.addMenuItem("関連リンク","location='http://www.hokuseishin.jp/link.html'");
  mm_menu_indQ_0.hideOnMouseOut=true;
  mm_menu_indQ_0.bgColor='#000000';
  mm_menu_indQ_0.menuBorder=1;
  mm_menu_indQ_0.menuLiteBgColor='#FFFFFF';
  mm_menu_indQ_0.menuBorderBgColor='#000000';
  mm_menu_ind2_0.writeMenus();
  

} // mmLoadMenus()

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_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_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];}
}
//-->
