//ブラウザのバージョンチェック
var brw_v = navigator.appVersion.charAt(0);
var brw_n = navigator.appName.charAt(0);
var iIE4 = false;
var iNN4 = false;
if((brw_v >= 4)&&(brw_n == "M"))iIE4 = true;
if((brw_v >= 4)&&(brw_n == "N"))iNN4 = true;

var Laymax = 10;		//ウインドウの最大数
var layW = 352;		//ウインドウの幅:IE用
var comments = new Array();
comments[1] = '&nbsp;&nbsp;はじめに読んでください. お願い事項などです.';
comments[2] = '&nbsp;&nbsp;私の作品集等に関する疑問,その他何でも落書きして下さい<BR>';
comments[2]+= '&nbsp;&nbsp;落書き掲示板です';
comments[3] = '&nbsp;&nbsp;仕事を一息して世間話,何でも結構ですので<BR>';
comments[3]+= '&nbsp;&nbsp;是非Yayoi掲示板によって足跡を残して行ってください<BR>';
comments[3]+= '&nbsp;&nbsp;アットホームな掲示板ですので気軽によって下さい<BR>';
comments[4] = '&nbsp;&nbsp;Jw_cad for Windowsのオンラインマニュアルです<BR>';
comments[4]+= '&nbsp;&nbsp;Jw_winの操作方法を画像で説明しています<BR>';
comments[4]+= '&nbsp;&nbsp;また CD-ROM等での入手も可能です';
comments[5] = '&nbsp;&nbsp;作品集の紹介です<BR>';
comments[5]+= '&nbsp;&nbsp;&nbsp;&nbsp;1. DOS版JW_CADに便利なHO_CADソフト紹介<BR>';
comments[5]+= '&nbsp;&nbsp;&nbsp;&nbsp;2. DOS版JW_CADのWindows版 Jw_cad for Windowsの紹介<BR>';
comments[5]+= '&nbsp;&nbsp;&nbsp;&nbsp;3. CAD関連コンバートツール<BR>';
comments[5]+= '&nbsp;&nbsp;&nbsp;&nbsp;4. Excelの表をJwwにCopy<BR>';
comments[5]+= '&nbsp;&nbsp;&nbsp;&nbsp;5. JWW図面をExcel/Wordに貼り付け<BR>';
comments[5]+= '&nbsp;&nbsp;&nbsp;&nbsp;6. JW_CAD図面のPDF形式への変換<BR>';
comments[5]+= '&nbsp;&nbsp;&nbsp;&nbsp;7. CADに便利な画像ソフト紹介<BR>';
comments[5]+= '&nbsp;&nbsp;&nbsp;&nbsp;8. Windows95/98/MEでのLAN導入';
comments[6] = '&nbsp;&nbsp;Jw_win操作を速く上達するためのQ&ampA集です';
comments[7] = '&nbsp;&nbsp;Windows Q&ampA集です<BR>';
comments[7]+= '&nbsp;&nbsp;&nbsp;&nbsp;1. メモリ&表示の解消方法<BR>';
comments[7]+= '&nbsp;&nbsp;&nbsp;&nbsp;2. フォント障害の解消方法<BR>';
comments[7]+= '&nbsp;&nbsp;&nbsp;&nbsp;3. FrontPage Expressを単独でインストールする方法<BR>';
comments[7]+= '&nbsp;&nbsp;&nbsp;&nbsp;4. メールをプレビューするだけで感染するウイルスの対処<BR>';
comments[7]+= '&nbsp;&nbsp;&nbsp;&nbsp;5. IE&nbsp;の修復方法<BR>';
comments[7]+= '&nbsp;&nbsp;等他にもありますので是非参考にして下さい';
comments[8] = '&nbsp;&nbsp;前のページに戻る';
comments[9] = '&nbsp;&nbsp;自作ソフト集です<BR>';
comments[9]+= '&nbsp;&nbsp;&nbsp;&nbsp;1. Tcad環境設定(TcadMu.exe)<BR>';
comments[9]+= '&nbsp;&nbsp;&nbsp;&nbsp;2. Jwfコメント追加機能<BR>';
comments[9]+= '&nbsp;&nbsp;&nbsp;&nbsp;3. Tonbo圧縮・解凍(Tonboarc.exe)<BR>';
comments[9]+= '&nbsp;&nbsp;&nbsp;&nbsp;4. テキストエディタ-(TonboPad.exe)<BR>';
comments[9]+= '&nbsp;&nbsp;&nbsp;&nbsp;5. CAD図面連続印刷(Tcadprn.exe)<BR>';
comments[9]+= '&nbsp;&nbsp;&nbsp;&nbsp;6. Jw_winの環境設定 Fileもあります. どうぞ!';
comments[10] = '&nbsp;&nbsp;DOS版JW_CAD導入,環境設定と外変関係<BR>';
comments[10]+= '&nbsp;&nbsp;&nbsp;&nbsp;1. DOS版JW_CADの導入<BR>';
comments[10]+= '&nbsp;&nbsp;&nbsp;&nbsp;2. 800*600表示環境<BR>';
comments[10]+= '&nbsp;&nbsp;&nbsp;&nbsp;3. DOS版Jw_cad, Jw_winの外変環境の導入方法<BR>';
comments[10]+= '&nbsp;&nbsp;&nbsp;&nbsp;4. Jw_cadで使用する便利な外変導入例<BR>';
comments[10]+= '&nbsp;&nbsp;&nbsp;&nbsp;5. EMSメモリの確保方法';
comments[11] = '&nbsp;&nbsp;None';

var scrX,scrY;
var layX,layY,layH;
var lay = new Array();
var Lflag = false;
  
if(iIE4){
	document.onmousemove = Mmove;
}
if(iNN4){
	window.onmousemove = Mmove;
	window.captureEvents(Event.MOUSEMOVE);
}

function pop_help_Init(){
	if(iIE4){
		scrX = document.body.clientWidth;
		scrY = document.body.clientHeight;
	}
	if(iNN4){
		scrX = innerWidth;
		scrY = innerHeight;
	}
	for(i = 1; i <= Laymax; i++){
		if(iIE4){
			lay[i] = document.all("iL"+i);
			lay[i].style.visibility = "hidden";
		}
		if(iNN4){
			lay[i] = document.layers["iL"+i];
			lay[i].visibility = "hide";
		}
	}
	Lflag = true;
}

function Mover(n){
	if(Lflag){
		if(iIE4){
			lay[n].innerHTML = comments[n];
			lay[n].style.left = layX;
			lay[n].style.top = layY;
			lay[n].style.width = layW;
			layH = lay[n].style.height;
			lay[n].style.visibility = "visible";
		}
		if(iNN4){
			lay[n].document.open();
			lay[n].document.fgColor = "#000000";
			lay[n].document.bgColor = "#fffacd";
			lay[n].document.write(comments[n]);
			lay[n].document.close();
			lay[n].left = layX;
			lay[n].top = layY;
			layW = lay[n].clip.width;
			layH = lay[n].clip.height;
			lay[n].visibility = "show";
		}
	}
}

function Mout(n){
	if(Lflag){
		if(iIE4){
			lay[n].style.visibility = "hidden";
		}
		if(iNN4){
			lay[n].visibility = "hide";
		}
	}
}

function Mmove(e){
	if(Lflag){
		if(iIE4){
			layX = event.clientX + 20;
			layY = event.clientY + 20;
		}
		if(iNN4){
			layX = e.pageX + 20;
			layY = e.pageY + 20;
		}
		if((layX + layW) >= scrX){
			layX = scrX - layW - 1;
			if(layX <= 1){
				layX = 1;
			}
		}
		if((layY + layH) >= scrY){
			layY = scrY - layH - 1;
			if(layY <= 1){
				layY = 1;
			}
		}
	}
}
