/**
 *  機  能	：	ページタイトル（ウィンドウのタイトルではない）を表示
 *
 *  引  数	：	strTitle
 *
 *  戻り値	：	なし
 *
 */
function TitleHtmlDisp(strTitle) {


	document.writeln("<TABLE border=\"1\" width=\"780\" bgcolor=\"#ffffff\">");
	document.writeln("<TBODY>");
	document.writeln("<TR>");
	document.writeln("<TD bgcolor=\"#ff8000\" align=\"center\">");
	document.writeln("<B><FONT size=\"+3\" color=\"#ffffff\">");
	document.writeln(strTitle);
	document.writeln("</FONT></B></TD>");
	document.writeln("</TR>");
	document.writeln("</TBODY>");
	document.writeln("</TABLE>");


}


/**
 *
 *  機  能	：	ページの終了部分の最終更新日、
 * 						著作権を作成する
 *  引  数	：	なし
 *
 *  戻り値	：	なし
 */
function EndHtmlDisp() {

	document.writeln("<CENTER>");
	document.writeln("<TABLE border=\"0\" width=\"779\" cellpadding=\"1\" cellspacing=\"0\">");
	document.writeln("<TBODY>");
	document.writeln("<TR>");
	document.writeln("<TD background=\"../../common/images/line.gif\" nowrap height=\"49\"></TD>");
	document.writeln("</TR>");
	document.writeln("<TR>");
	document.writeln("<TD nowrap background=\"../../common/images/line.gif\" align=\"right\"><IMG src=\"../../common/images/copyright.gif\" width=\"250\" height=\"11\" border=\"0\"></TD>");
	document.writeln("</TR>");
	document.writeln("</TBODY>");
	document.writeln("</TABLE>");
	document.writeln("</CENTER>");

}

/**
 *  機  能	：	ページの終了部分を作成する
 *
 *  引  数	：	Id	−	表示/非表示にする箇所のId
 *
 *  戻り値	：	なし
 *
 *  備　考 ：	使用方法 html上で以下のように記述する
 *
 *				<img src="image/cursor_down.gif" width="34" height="28" align=top 
 *				 style="cursor:hand" onClick="show_hide('dh1')"><!--IDを記述-->
 *
 *				<font size=5 style="font-size:20pt;font-family:Times New Roman">修正履歴</font> 
 *
 *				<blockquote id="dh1" style="display:none">
 *					2002/09/25：my水槽の紹介を追加   					<br>
 *					2002/09/12：Welcomeのﾒｯｾｰｼﾞを追加 					<br>
 *					2002/09/12：修正履歴/更新履歴を追加					<br>
 *					2002/09/12：うまくﾘﾝｸが貼られていなかったのを修正	<br>
 *					2002/09/12：生体照会の階層がうまくできてなかったのを修正	
 *				</blockquote>
 *
 */
function ShowHide(Id) {
	disp = document.all(Id).style.display;
	if(disp == "block")
		document.all(Id).style.display = "none";
	else
    	document.all(Id).style.display = "block";
}

/**
 *  機  能	：	ページの終了部分のリンクを作成する
 *
 *  引  数	：	Str1	−	第１リンク文字列
 *							Link1	−	第１リンク
 *							Str2 	−	第２リンク文字列
 *							Link2	−	第２リンク
 *							Str3 	−	第３リンク文字列
 *							Link3	−	第３リンク
 *
 *  戻り値	：	なし
 *
 */
function EndLinksHtmlDisp( Str1, Link1, Str2, Link2, Str3, Link3 ) {

	document.writeln("<div align=\"center\">");
	document.writeln("<table border=\"0\" width=\"98%\" height=\"11\">");
	document.writeln("<tr>");
	document.writeln("<td width=\"100%\" height=\"7\" valign=\"top\">");
	document.writeln("<p align=\"left\"><font face=\"ＭＳ Ｐゴシック\" size=\"2\">");
	if( Link1 != null) {
		document.writeln("<b>[ </b><a href=\"" + Link1 + "\">" + Str1 + "</a> <b>]</b>");
	}
	
	if( Link2 != null) {
		document.writeln("<b>　　</b>");
		document.writeln("<b>[ </b><a href=\"" + Link2 + "\">" + Str2 + "</a> <b>]</b>");
	}
	
	if (Link3 != null) {
		document.writeln("<b>　　</b>");
		document.writeln("<b>[ </b><a href=\"" + Link3 + "\">" + Str3 + "</a> <b>]</b>");
	}
	document.writeln("</font></td>");
	document.writeln("</tr>");
	document.writeln("</table>");
	document.writeln("</div>");

}

/**
 *  機  能	：	PreView と Nextのリンクを作成する
 *
 *  引  数	：	PreViewStr	−	PreView用リンク文字列
 *							PreViewLink	−	PreView用リンク
 *							NextStr 		−	Next用リンク文字列
 *							NextLink		−	Next用リンク
 *
 *  戻り値	：	なし
 *
 *	備　考　：　PreView部分を表示しない場合は引数に "Nothing"と定義する
 *
 */
function PreViewNextLinksHtmlDisp( PreViewStr, PreViewLink, NextStr, NextLink) {

	document.writeln("<div align=\"center\">");
	document.writeln("<table border=\"0\" width=\"98%\" cellspacing=\"1\">");
	document.writeln("<tr>");
	document.writeln("<br>");
	
	// Back

	document.writeln("<td width=\"33%\" align=\"center\" nowrap>");

	if( PreViewLink != "Nothing") {

		document.writeln("<p align=\"right\">");
		document.writeln("<IMG src=\"./images/preview.gif\" width=\"14\" height=\"15\" border=\"0\">");
		document.writeln("　 <a href=\"" + PreViewLink + "\">");
		document.writeln( PreViewStr + "</a>");

	}
	document.writeln("　</td>");
	
	document.writeln("<center>");
	document.writeln("<td width=\"34%\" align=\"center\" nowrap>　</td>");
	document.writeln("</center>");
		
	// Next
	document.writeln("<td width=\"33%\" align=\"center\" nowrap>");
	
	if( NextLink != null) {
		document.writeln("<p align=\"left\"><a href=\""+ NextLink + "\">");
		document.writeln (NextStr + "</a>");
		document.writeln("　<IMG src=\"./images/next.gif\" width=\"14\" height=\"15\" border=\"0\">");
	}
	
	document.writeln("　</td>");
	
	document.writeln("</tr>");
	document.writeln("</table>");
	document.writeln("</div>");
}
