﻿
/*********************************************
	ページ下部のヘッター部分
*********************************************/
function writeHeaderHTML()
{

  // タグ用文字列生成
  htm = ''
	+ '<link rel="stylesheet" type="text/css" href="./css/style.css" media="screen, projection">'
	+ '<link rel="stylesheet" type="text/css" href="./navi/DropDownMenu.css" media="screen, projection">'
	+ '<link rel="stylesheet" type="text/css" href="./css/style.css" media="print">'
	+ '<link rel="stylesheet" type="text/css" href="./navi/DropDownMenu.css" media="print">'
	+ '<script src="navi/DropDownMenu.js" type="text/javascript"></script>'
	+ '<script type="text/javascript" src="./navi/popup.js"></script>'
	+ '<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">'
	+ '<meta name="robots" content="INDEX,FOLLOW">'
	+ '<meta name="Description" content="弊社では3次元画像計測に関わるコンテンツの研究開発販売やコンサルティングを行っています。">'

  //書き出し処理
  document.write(htm)
}
function writeHeaderHTMLUP()
{

  // タグ用文字列生成
  htm = ''
	+ '<link rel="stylesheet" type="text/css" href="../css/style.css" media="screen, projection">'
	+ '<link rel="stylesheet" type="text/css" href="../navi/DropDownMenu.css" media="screen, projection">'
	+ '<link rel="stylesheet" type="text/css" href="../css/style.css" media="print">'
	+ '<link rel="stylesheet" type="text/css" href="../navi/DropDownMenu.css" media="print">'
	+ '<script src="../navi/DropDownMenu.js" type="text/javascript"></script>'
	
	+ '<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">'
	+ '<meta name="robots" content="INDEX,FOLLOW">'
	+ '<meta name="Description" content="弊社では3次元画像計測に関わるコンテンツの研究開発販売やコンサルティングを行っています。">'

  //書き出し処理
  document.write(htm)
}

/*********************************************
	メニュー部分
*********************************************/
function writeMenuHTML()
{

  // タグ用文字列生成
  htm = ''
	+ '<div id="menu">'
	+ '			<ul id="dd">'
	+ '				<div id="menu_1">'
	+ '					<li class="mainmenu menu_size"><a href="index_c.html" class="menu" id="mmenu6" onMouseOver="mopen(6);" onMouseOut="mclosetime();">|　中文　|　　　　　</a>'
	+ '						<div class="submenu submenu_size" id="menu6" onMouseOver="mcancelclosetime();" onMouseOut="mclosetime();">'
	+ '					</div></li>'
	+ '			</div>'
	+ '		</ul>'
	+ '</div>'

  //書き出し処理
  document.write(htm)
}
/*********************************************
	サイドバー部分
*********************************************/

function writeSidebarHTML()
{
  // タグ用文字列生成
  htm = ''
	+ '<div id="sidebar" class="left">'
	+ '	<div class="center">'
	+ '		<a href="index.html"><img id=img0 src="./botton/top_off.gif" width="145" '
 	+ '		onMouseOver="onEvent(0)" onMouseOut="offnEvent(0)" ></a>'

	+ '		<a href="greeting.html"><img id=img1 src="./botton/meat_off.gif" width="145" '
	+ '		onMouseOver="onEvent(1)" onMouseOut="offnEvent(1)" ></a>'


	+ '		<a href="./company.html"><img id=img2 src="./botton/comp_off.gif" width="145" '
	+ '		onMouseOver="onEvent(2)" onMouseOut="offnEvent(2)" ></a>'

	+ '		<a href="./project.html"><img id=img3 src="./botton/product_off.gif" width="145"'
	+ '		onMouseOver="onEvent(3)" onMouseOut="offnEvent(3)" ></a>'

	+ '		<a href="./product.html"><img id=img4 src="./botton/project_off.gif" width="145" '
	+ '		onMouseOver="onEvent(4)" onMouseOut="offnEvent(4)" ></a>'

	+ '		<a href="./access.html"><img id=img5 src="./botton/access_off.gif" width="145" '
	+ '		onMouseOver="onEvent(5)" onMouseOut="offnEvent(5)" ></a>'

	+ '		<a href="./question.html"><img id=img6 src="./botton/qs_off.gif" width="145" '
	+ '		onMouseOver="onEvent(6)" onMouseOut="offnEvent(6)" ></a>'
	+ '		<br><br>'
	+ '		<font color="white" class="size3">福岡工業大学</font>'
	+ '		<a href="http://www.fit.ac.jp/"><img id=img7 src="./img/fittop.gif" width="140" '
	+ '		onMouseOver="onEvent(7)" onMouseOut="offnEvent(7)"></a>'
	+ '		<br><br>'
	+ '		<font color="white" class="size3">福岡工業大学盧研究室</font>'
	+ '		<a href="http://www.fit.ac.jp/elec/lab/lulab/index.html"><img id=img8 src="./img/lulabtop.gif" width="140" '
	+ '		onMouseOver="onEvent(8)" onMouseOut="offnEvent(8)"></a>'
	+ '		</div></div>'
	+ '		<!-- ポップアップのテーブル。普段は非表示ここから -->'
	+ '		<div id="helpWindow" style="position:absolute; visibility:hidden; width:auto;  filter:alpha(opacity=80,style=0,enabled=true);">'
	+ '		<table width="210" border="0" cellspacing="5" cellpadding="0" style="background-color:#F2F7D7; border:4px solid #C2BC9D;">'
	+ '		<tr>'
	+ '		<td class="helpTxt" id="helpNote">ヘルプの内容</td>'
	+ '		</tr>'
	+ '		</table>'
	+ '		</div>'
	+ '		<!-- ポップアップのテーブル。普段は非表示ここまで -->'
  //書き出し処理
  document.write(htm)
}
function writeSidebarONHTML()
{
  // タグ用文字列生成
  htm = ''
	+ '<div id="sidebar" class="left">'
	+ '	<div class="center">'
	+ '		<a href="index.html"><img id=img0 src="./botton/top_off.gif" width="145" height="30"'
 	+ '		onMouseOver="onEvent(0)" onMouseOut="offnEvent(0)" ></a>'
	+ '		<a href="greeting.html"><img id=img1 src="./botton/meat_off.gif" width="145" height="30"'
	+ '		onMouseOver="onEvent(1)" onMouseOut="offnEvent(1)" ></a>'
	+ '		<a href="./company.html"><img id=img2 src="./botton/comp_off.gif" width="145" height="30"'
	+ '		onMouseOver="onEvent(2)" onMouseOut="offnEvent(2)" ></a>'
	+ '		<a href="./project.html"><img id=img3 src="./botton/product_off.gif" width="145" height="30"'
	+ '		onMouseOver="onEvent(3)" onMouseOut="offnEvent(3)" ></a>'

	+ '		<a href="./product.html"><img id=img4 src="./botton/project_off.gif" width="145" height="30"'
	+ '		onMouseOver="onEvent(4)" onMouseOut="offnEvent(4)" ></a>'

	+ '		<br><div class="left"><font size="2">　∟<a href="./3dsmp.html"><font color="lightcyan">立体カメラ：全自動3次元画像計測装置</font></a></font></div>'
	+ '		<br><div class="left"><font size="2">　∟<a href="./3dsmt.html"><font color="lightcyan">高温物体形状計測装置</font></a></font></div>'
	+ '		<br><div class="left"><font size="2">　∟<a href="./imsapport.html"><font color="lightcyan">画像処理・パタン認識ソリューション</font></a></font></div>'
	+ '		<a href="./access.html"><img id=img5 src="./botton/access_off.gif" width="145" height="30"'
	+ '		onMouseOver="onEvent(5)" onMouseOut="offnEvent(5)" ></a>'
	+ '		<a href="./question.html"><img id=img6 src="./botton/qs_off.gif" width="140"'
	+ '		onMouseOver="onEvent(6)" onMouseOut="offnEvent(6)" ></a>'
	+ '		<br><br>'
	+ '		<font color="white" class="size3">福岡工業大学</font>'
	+ '		<a href="http://www.fit.ac.jp/"><img id=img7 src="./img/fittop.gif" width="140" '
	+ '		onMouseOver="onEvent(7)" onMouseOut="offnEvent(7)"></a>'
	+ '		<br><br>'
	+ '		<font color="white" class="size3">福岡工業大学盧研究室</font>'
	+ '		<a href="http://www.fit.ac.jp/elec/lab/lulab/index.html"><img id=img8 src="./img/lulabtop.gif" width="145"'
	+ '		onMouseOver="onEvent(8)" onMouseOut="offnEvent(8)"></a>'
	+ '		</div></div>'
	+ '		<!-- ポップアップのテーブル。普段は非表示ここから -->'
	+ '		<div id="helpWindow" style="position:absolute; visibility:hidden; width:auto;  filter:alpha(opacity=80,style=0,enabled=true);">'
	+ '		<table width="210" border="0" cellspacing="5" cellpadding="0" style="background-color:#F2F7D7; border:4px solid #C2BC9D;">'
	+ '		<tr>'
	+ '		<td class="helpTxt" id="helpNote">ヘルプの内容</td>'
	+ '		</tr>'
	+ '		</table>'
	+ '		</div>'
	+ '		<!-- ポップアップのテーブル。普段は非表示ここまで -->'
  //書き出し処理
  document.write(htm)
}
function onEvent(num)
{
	arr= new Array();
	arr[0]="./botton/top_on.gif";
	arr[1]="./botton/meat_on.gif";
	arr[2]="./botton/comp_on.gif";
	arr[3]="./botton/product_on.gif";
	arr[4]="./botton/project_on.gif";
	arr[5]="./botton/access_on.gif";
	arr[6]="./botton/qs_on.gif";
	arr[7]="./img/fittop_on.gif";
	arr[8]="./img/lulabtop_on.gif";
	arr[9]="./img/topbar_on.jpg";
	
	idinfo= new Array();
	idinfo[0]="img0";
	idinfo[1]="img1";
	idinfo[2]="img2";
	idinfo[3]="img3";
	idinfo[4]="img4";
	idinfo[5]="img5";
	idinfo[6]="img6";
	idinfo[7]="img7";
	idinfo[8]="img8";
	idinfo[9]="img9";
	document.getElementById(idinfo[num]).src=arr[num];
	
	chgTxt(num);
}
function offnEvent(num)
{
	arr= new Array();
	arr[0]="./botton/top_off.gif";
	arr[1]="./botton/meat_off.gif";
	arr[2]="./botton/comp_off.gif";
	arr[3]="./botton/product_off.gif";
	arr[4]="./botton/project_off.gif";
	arr[5]="./botton/access_off.gif";
	arr[6]="./botton/qs_off.gif";
	arr[7]="./img/fittop.gif";
	arr[8]="./img/lulabtop.gif";
	arr[9]="./img/topbar.jpg";
	
	idinfo= new Array();
	idinfo[0]="img0";
	idinfo[1]="img1";
	idinfo[2]="img2";
	idinfo[3]="img3";
	idinfo[4]="img4";
	idinfo[5]="img5";
	idinfo[6]="img6";
	idinfo[7]="img7";
	idinfo[8]="img8";
	idinfo[9]="img9";
	document.getElementById(idinfo[num]).src=arr[num];
	
	hideHelp(); 
}
/*********************************************
	ページトップの画像部分
*********************************************/
function writeTopImgHTML()
{
 
  // タグ用文字列生成
  htm = ''
	+ '<div id="header" href="./index.html">'
	+ '<a href="index.html"><img id=img9 src="./img/topbar.jpg" width="740"'
	+ 'onMouseOver="onEvent(9)" onMouseOut="offnEvent(9)"></a>'
	+ '</div>'
		
  //書き出し処理
  document.write(htm)
}

function writeTopImgHTMLUP()
{
 
  // タグ用文字列生成
  htm = ''
	+ ''
	+ '<a href="./index.html"><img src="./img/topbar.jpg" alt="株式会社3Dイメージ研究所" width="550" height="55"></a>'
	+ ''
		
  //書き出し処理
  document.write(htm)
}
/*********************************************
	ブラウザごとによるCSSの変更
*********************************************/
function userAgentCSS()
{
	var ua;
	ua = navigator.userAgent;

	// ブラウザであるuserAgentの中に以下の文字が入っていた場合ごとの処理

	// MSIEという文字があった場合(文字に含まれていて開始位置が0以上の場合)、専用のCSSを読み込む
	if(ua.indexOf("MSIE",0) >= 0 ) { document.write('<link rel="stylesheet" href="./css/style.css" type="text/css" media="screen, projection ">'); }
		// 上記のブラウザに当てはまらない場合、指定したCSSを読み込む
	else { document.write('<link rel="stylesheet" href="./css/style.css" type="text/css" media="screen, projection ">'); }
	
	document.write('<link rel="shortcut icon" type="image/ico" href="logo.ico">')
}

/*********************************************
	ページ下部のフッター部分
*********************************************/
function writeFooterHTML()
{

  // タグ用文字列生成
  htm = ''
	+ ''
  //書き出し処理
  document.write(htm)
}




