<!-- 
//	■■■■■　NN or IE　■■■■■
str   = navigator.appName.toUpperCase();

if (str.indexOf("NETSCAPE") >= 0){ 
	//location.href = "noscript_main.php";
	document.link[0]="noscript_main.php";
}

//if (str.indexOf("EXPLORER") >= 0) location.href = "main.php";
//document.write("ブラウザは"+result.bold()+"です");

// ■■■■■　メニュー　■■■■■
  // メニューの位置調整
	var left_len 	= "135";
	var top_len		= "176";
	

// ■■■■■　トップへボタンの色設定　■■■■■
function top_color(thisx,menu){
	switch (menu) {
		case "menu_on":// メニュー選択時の色
			thisx.style.backgroundColor='#6699ff';
			thisx.style.color="#000066";		
			thisx.style.cursor='hand';		break;
		case "menu_off":// メニュー未選択の色
			thisx.style.backgroundColor='#2d59b5';
			thisx.style.color="#ffffff";	break;

		default:							break;
	}
	window.event.cancelBubble = true;
}

// ■■■■■　メニューの色設定(各ページのトップ 濃いグリーン)　■■■■■
function main_color(thisx,menu){
	switch (menu) {
		case "menu_on":// メニュー選択時の色
			thisx.style.backgroundColor='#6699ff';
			thisx.style.color="#ffffff";
			thisx.style.cursor='hand';		break;
		case "menu_off":// メニュー未選択の色
			thisx.style.backgroundColor='#6699ff';
			thisx.style.color="#333333";	break;

		default:							break;
	}
	window.event.cancelBubble = true;
}



// ■■■■■　メニューの色設定(各ページ　黄緑色)　■■■■■
function color(thisx,menu){
	switch (menu) {
		case "menu_on":// メニュー選択時の色
			thisx.style.backgroundColor='#6699ff';
			thisx.style.color="#ffffff";
			thisx.style.cursor='hand';		break;
		case "menu_off":// メニュー未選択の色
			thisx.style.backgroundColor='#FFFFFF';
			thisx.style.color="#333333";	break;

		default:							break;
	}
	window.event.cancelBubble = true;
}



// ■■■■■　menu_move
function menu_move(){
	
	dmy_tbl.style.display='none'; //おまじない
	
	dmy_tbl.style.display='none'; //おまじない
	
	s_top=document.body.scrollTop;
	
	if(s_top){
		if((s_top-75)>0){

			 if((document.body.scrollTop)< document.body.scrollHeight-75-50-400){
				dmy_tbl.height=s_top-75;
			}		
		
		}else{
			dmy_tbl.height=1;// ◆修正◆
		}
	}
	
	if(s_top==0){
		dmy_tbl.style.display='none';
	}else{
		dmy_tbl.style.display='';
	}
		
}
// ■■■■■　オンマウス　テーブル　表示・非表示
function show_table(id){
    if(document.getElementById){
      //if(document.getElementById(id).style.display == "none")
        document.getElementById(id).style.display = "block";
      //else
        //document.getElementById(id).style.display = "none";
    }
  }

function hide_table(id){
    if(document.getElementById){
      //if(document.getElementById(id).style.display == "none")
        //document.getElementById(id).style.display = "block";
      //else
        document.getElementById(id).style.display = "none";
    }
  }


// ■■■■■　openwin
var hWin;
var hWin_2;
var hWin_3;
var hWin_4;
var hWin_5;
var hWin_6;

function openwin(no) {

brz = browser();

if(no==1){
//	if (brz == 1 && $a>=4.0){
		hWin=window.open("pop_up.html","","top=105,left=290,width=430,height=600"); 
//	}
//	else if (brz == 2){
		// hWin=window.open("./thera_sub2.html","","top=100,left=170,width=648,height=500"); 
//	}
//	else{
		// hWin=window.open("./thera_sub2.html","","top=100,left=170,width=648,height=500"); 
//	}
}else if(no==2){
	hWin_2=window.open("pop_up2.html","","top=125,left=240,width=430,height=267");
}else if(no==3){
	hWin_3=window.open("cmg_map.html","","top=125,left=240,width=730,height=480");
}else if(no==4){		
	hWin_4=window.open("syou.html","","top=100,left=240,width=490,height=420");
}else if(no==5){		
	hWin_5=window.open("kaijyo.html","","top=0,left=0,width=490,height=665");	
}else{		
	hWin_6=window.open("care_1.html","","top=150,left=260,width=520,height=325");
}

	
}



function browser() {

name = navigator.appName;
version = navigator.appVersion;
if (name == "Microsoft Internet Explorer") {
   key_ie = "(";
   n_ie = version.indexOf(key_ie);
   number = version.substring(0,n_ie);
   //return "I.E."+number;
$a=number;
   return 1;

} else {
   key_nn = "[";
   n_nn = version.indexOf(key_nn);
   number = version.substring(0,n_nn);
   //return "Netscape "+number;
$a=number;
   return 2;
}

}

function closewin()
{
	if (hWin)
	{
		hWin.close();
	}
	if (hWin_2)
	{
		hWin_2.close();
	}
	
	if (hWin_3)
	{
		hWin_3.close();
	}
	if (hWin_4)
	{
		hWin_4.close();
	}
	
	if (hWin_5)
	{
		hWin_5.close();
	}

}



// ■■■■■　top_win_jmp
function top_win_jmp(){
	
location.href = "index.php";

	
}




var mode = 0;
function flash() {

	if (mode == 0) {
		if(document.all){
			document.all.logo_new.style.visibility = "hidden";
		} else if (document.layers) {
      		document.layers["logo_new"].visibility = "hide";	
	    } else {
	      	return;
	    }
		mode = 1;
		
	} else {
		if(document.all){
			document.all.logo_new.style.visibility = "visible";
		} else if (document.layers) {
			document.layers["logo_new"].visibility = "show";	
	    } else {
	      	return;
	    }	
		mode = 0;
	}

	setTimeout("flash()",500);

}


//■■　人体解剖２００５　■■-------------------------------------------
var delta = 10;
function func() {

   if (document.all) {
	 
		document.all.E1.style.visibility = "visible";	
		document.all.E1.style.posLeft += delta;
      	left = document.all.E1.style.posLeft;
		
   } else if (document.layers) {

		document.layers["N1"].visibility="show";
		document.layers["N1"].left += delta;
      	left = document.layers["N1"].left;
		
   } else {
      return;
   }


	if (-22 < left) {
	   if (document.all) {
			return;
	
		} else if (document.layers) {
			return;
		
	
		} else {
	      return;
	   }
		

		return;
		
   }
	
	window.setTimeout("func()", 100);

}

// 画像を一定間隔で入れ替える
// img0.jpg,img1.jpgなどの数字が続いたファイルを複数用意します。
num = 2; // 入れ替える画像の枚数(最初の画像も含める)
nme = "img/soutai/img" // 画像のディレクトリとファイル名の数字と拡張子より前の部分
exp = "gif" // 拡張子
cnt = 0;

function changeImage() {
  cnt++;
  cnt %= num;
  img.filters.revealTrans.Apply();
  img.filters.revealTrans.Transition=6;	
  img.src = nme + cnt + "." + exp;
  img.filters.revealTrans.Play();

	

}

var JIKAN = 1000; /*点滅の間隔。単位ミリ秒。1000で1秒。NN4には非対応。
*/var mode=0;/* を挿入*/
function blink_mode(){
mode=1-mode;
if(document.getElementById){
if (mode == 1){ document.getElementById("blink").style.visibility='hidden'; }
else { document.getElementById("blink").style.visibility='visible'; }
}
else if(document.all) {
if (mode == 1){ document.all("blink").style.visibility='hidden'; }
else { document.all("blink").style.visibility='visible'; }
}
setTimeout("blink_mode()",JIKAN);
}
 -->

