
function mimiPopup(num){
	if( num == 1 ){
	window.open("../KENSAKU/kensaku_1.html","kensaku","scrollbars=yes,width=460,height=600");
	}//漢字パーツ検索
	if( num == 2 ){
	window.open("../KENSAKU/kensaku_2.html","kensaku","scrollbars=yes,width=460,height=600");
	}//カタカナ発音検索
	if( num == 3 ){
	window.open("../KENSAKU/kensaku_3.html","kensaku","scrollbars=yes,width=460,height=600");
	}//ハイパージャンプ
	if( num == 4 ){
	window.open("../KENSAKU/kensaku_7.html","kensaku","scrollbars=yes,width=460,height=600");
	}//マルチ（複数辞書）検索(html)
	if( num == 5 ){
	window.open("../KENSAKU/kensaku_5.html","kensaku","scrollbars=yes,width=460,height=600");
	}//英単語ジャンプ機能
	if( num == 6 ){
	window.open("../KENSAKU/kensaku_6.html","kensaku","scrollbars=yes,width=460,height=600");
	}//あいまい検索
	if( num == 7 ){
	window.open("../KENSAKU/kensaku_7.html","kensaku","scrollbars=yes,width=460,height=600");
	}//マルチ検索(flash)
	if( num == 8 ){
	window.open("../KENSAKU/kensaku_8.html","kensaku","scrollbars=yes,width=460,height=600");
	}//前方一致検索
	if( num == 9 ){
	window.open("../KENSAKU/kensaku_9.html","kensaku","scrollbars=yes,width=460,height=600");
	}//後方一致検索
	if( num == 10 ){
	window.open("../KENSAKU/kensaku_10.html","kensaku","scrollbars=yes,width=460,height=600");
	}//分類検索		
	if( num == 205){
	window.open("../KENSAKU/ekisyou.html","ekisyou_win","scrollbars=yes,width=460,height=610");
	}//見やすい液晶小窓	
	if( num == 11){
	window.open("../memory_stick/index.html","memory","scrollbars=yes,width=660,height=610");
	}//別売メモリースティック	
}



function mimiChange(num){
	if(num==0){
	opener.window.location="../index.html";
	close();
	}
	if(num==7100){
	opener.window.location="../IC7100/index.html";
	}	
	if(num==7000){
	opener.window.location="../IC7000/index.html";
	}
	if(num==7002){
	opener.window.location="../IC700S/index.html";
	}
	if(num==5000){
	opener.window.location="../IC5000/index.html";
	}
	if(num==5002){
	opener.window.location="../IC500S/index.html";
	}	
	if(num==2050){
	opener.window.location="../IC2050/index.html";
	}
	if(num==2000){
	opener.window.location="../IC2000/index.html";
	}
	if(num==1000){
	opener.window.location="../IC1000/index.html";
	}
	if(num==550){
	opener.window.location="../IC550/index.html";
	}
	if(num==300){
	opener.window.location="../IC300/index.html";
	}
	if(num==120){
	opener.window.location="../EBR120MS/index.html";
	}
	if(num==100){
	opener.window.location="../EBR100MS/index.html";
	}
	if(num==1){
	opener.window.location="../EBRS1MS/index.html";
	}
	if(num==50){
	opener.window.location="../IC50/index.html";
	}
	if(num==5){
	opener.window.location="../IC5/index.html";
	}
	if(num==8){
	opener.window.location="../EBRS8MS/index.html";
	}
	if(num==7){
	opener.window.location="../EBRS7MS/index.html";
	}
	if(num==500){
	opener.window.location="../EBR500MS/index.html";
	}
	if(num==800){
	opener.window.location="../EBR800MS/index.html";
	}
}



isIE4 = document.all;
isNN4 = document.layers;

function getPosition(eve) {
 DMsystem.now_x = eve.x;
 DMsystem.now_y = eve.y;
}

function mimiShowMessage(num) {
 if(isNN4) {
   x =DMsystem.now_x; y = DMsystem.now_y;
   document.layers[DMsystem.msgwinID+num].moveTo(x+DMsystem.msg_x1, y+DMsystem.msg_y1);
   document.layers[DMsystem.msgwinID+num].visibility = "SHOW";
  }
 else if(isIE4) {
   document.all(DMsystem.msgwinID).innerHTML        = DMsystem.msg[num];
   document.all(DMsystem.msgwinID).style.left       = document.body.scrollLeft + event.clientX + DMsystem.msg_x1;
   document.all(DMsystem.msgwinID).style.top        = document.body.scrollTop  + event.clientY + DMsystem.msg_y1;
   document.all(DMsystem.msgwinID).style.display    = "block";
  }
 }

function mimiHideMessage(num) {
 if(isNN4) {
   document.layers[DMsystem.msgwinID+num].visibility= "HIDE";
 }
 else if(isIE4) {
   document.all(DMsystem.msgwinID).style.display    = "none";
  }
}

function set_DMsystem() {
 this.msg_x1   = 10;
 this.msg_y1   = 20;
 this.bgColor   = "#FFB521";

 this.msgwinID  = "SHOWMSG";
 this.now_x = 0;
 this.now_y = 0;

 this.msg = new Array();
 this.msg[1] = "　例えば→同じ言葉で始まる単語の中から検索したい。"; //前方一致検索
 this.msg[2] = "　例えば→同じ言葉で終わる単語を、まとめて調べたい。"; //後方一致検索
 this.msg[3] = "　例えば→英単語の発音はわかるが、スペルが全くわからない。"; //カタカナ発音検索
 this.msg[4] = "　例えば→調べたい単語のスペルがよくわからない。"; //あいまい検索
 this.msg[5] = "　例えば→英単語を引いていたら、本文中にわからない英単語が出てきた。"; //英単語ジャンプ機能
 this.msg[6] = "　例えば→調べたい言葉の一部がわからない。"; //ワイルドカード検索
 this.msg[7] = "　例えば→熟語や連語を調べたい。"; //成句検索
 this.msg[8] = "　例えば→読みが全くわからない漢字を調べたい。"; //漢字パーツ検索
 this.msg[9] = "　例えば→知りたい言葉を、分類された項目の中から調べたい。"; //分類検索
 this.msg[10] = "　例えば→文字を拡大して見たい。"; //文字拡大機能
 this.msg[11] = "　例えば→本文全体を大きく表示して見たい。"; //文字サイズ変更機能
 this.msg[12] = "　例えば→引いた単語を再確認したい。"; //履歴検索
 this.msg[13] = "　例えば→覚えたい単語を登録できます。"; //暗記帳機能
 this.msg[14] = "　例えば→入力した言葉を複数の辞書で同時に検索したい。"; //マルチ（複数辞書）検索
 this.msg[15] = "　例えば→辞書本文中のわからない言葉を次々調べたい。"; //ハイパージャンプ
}


if(isNN4) {
  var DMsystem = new set_DMsystem();
  for(i=0; i<DMsystem.msg.length; i++) {
    document.write('<LAYER name="' +DMsystem.msgwinID + i + '" visibility="hide" bgcolor=' +DMsystem.bgColor+ ' width=250>');
    document.write(DMsystem.msg[i]);
    document.write('</LAYER>');
  }
  document.captureEvents(Event.MOUSEMOVE);
  document.onmousemove = getPosition;
}
else if(isIE4) {
  var DMsystem = new set_DMsystem();
  document.write('<span id="' +DMsystem.msgwinID+ '" style="position:absolute;display:none;background:' +DMsystem.bgColor+ ';width:250;top:0;left:0;font-size:10pt"></span>');
}


