function menuTxt(i){
	switch (i) {
	case 1:
		document.getElementById('menu').firstChild.nodeValue="トップページに戻ります。";
		break;
	case 2:
		document.getElementById('menu').firstChild.nodeValue="当社の基本情報、沿革等を紹介します。";
		break;
	case 3:
		document.getElementById('menu').firstChild.nodeValue="当社の業務内容、設計事例等を紹介します。";
		break;
	case 4:
		document.getElementById('menu').firstChild.nodeValue="当社のISO9001/14001の取得に関する情報を紹介します。";
		break;
	case 5:
		document.getElementById('menu').firstChild.nodeValue="当社の求人に関する情報を紹介します。";
		break;
	case 6:
		document.getElementById('menu').firstChild.nodeValue="当社へのお問合せは、こちらからどうぞ。";
		break;
	case 7:
		document.getElementById('menu').firstChild.nodeValue="当社の技術情報を紹介します。";
		break;
	}
}
function clerTxt(){
	document.getElementById('menu').firstChild.nodeValue="　";
}
function header(i){
	imgPath = "";
	for (j = 0 ; i > j ; j++ ) {
		imgPath = imgPath + "../";
	}
	document.writeln("<IMG src='" + imgPath + "top.jpg' width='640' height='64'><BR>");
	document.writeln("<TABLE border='0' width='100%' cellspacing='0' cellpadding='0' style='margin-left:0px'>");
	document.writeln("  <TR bgcolor='#f0f0f0'>");
	document.writeln("      <TD width='90' nowrap><DIV class='menu'><A class='menutxt' onMouseover='menuTxt(1)' onMouseout='clerTxt()' href='" + imgPath + "index.html'>トップページ</A></DIV></TD>");
	document.writeln("      <TD width='90' nowrap><DIV class='menu'><A class='menutxt' onMouseover='menuTxt(2)' onMouseout='clerTxt()' href='" + imgPath + "gaiyou/gaiyou.html'>会社概要</A></DIV></TD>");
	document.writeln("      <TD width='90' nowrap><DIV class='menu'><A class='menutxt' onMouseover='menuTxt(3)' onMouseout='clerTxt()' href='" + imgPath + "gyoumu/gyoumu.html'>業務内容</A></DIV></TD>");
	document.writeln("      <TD width='90' nowrap><DIV class='menu'><A class='menutxt' onMouseover='menuTxt(7)' onMouseout='clerTxt()' href='" + imgPath + "gijyutu/gijyutu.html'>技術情報</A></DIV></TD>");
	document.writeln("      <TD width='90' nowrap><DIV class='menu'><A class='menutxt' onMouseover='menuTxt(4)' onMouseout='clerTxt()' href='" + imgPath + "iso/iso.html'>ISO認証取得</A></DIV></TD>");
	document.writeln("      <TD width='90' nowrap><DIV class='menu'><A class='menutxt' onMouseover='menuTxt(5)' onMouseout='clerTxt()' href='" + imgPath + "kyujin/kyujin.html'>求人情報</A></DIV></TD>");
	document.writeln("      <TD width='90' nowrap><DIV class='menu'><A class='menutxt' onMouseover='menuTxt(6)' onMouseout='clerTxt()' href='" + imgPath + "mail/mail.html'>お問合せ</A></DIV></TD>");
	document.writeln("      <TD><DIV class='menu'>&nbsp;</DIV></TD></TR>");
	document.writeln("  <TR bgcolor='#f0f0f0'>");
	document.writeln("      <TD colspan='8'><DIV class='menu2' id='menu'>&nbsp;</DIV></TD></TR>");
	document.writeln("</TABLE>");
	document.writeln("<DIV class='main'>");
}

function footer(){
	document.writeln("</DIV>");
	document.writeln("<P class='cr'>Copyright &#0169; 2003 DEC Civil Engineering Consultants.<BR>");
	document.writeln("Internet Explorer5.0以降、Netscape 6.0以降のブラウザをご使用ください。<BR>");
	document.writeln("Internet Explorer6.0 及び Netscape 7.1 で確認をしています。(HTML4.0 & CSS2 & DOM1)</P>");
}

