	var head1="";
	var head2="";
	var head3="";
	var head4="";

	switch(CHhead){
		case "human":head1="_on"; break;
		case "cs":head2="_on"; break;
		case "eco":head3="_on"; break;
		case "gnetwork":head4="_on"; break;
		default:   ;
	}

	switch(docid)
	{
		case "1":kaisou=""; break;
		case "2":kaisou="../"; break;
		case "3":kaisou="../../"; break;
		case "4":kaisou="../../../"; break;
		case "5":kaisou="../../../../"; break;
		case "6":kaisou="../../../../../"; break;
		default:kaisou="";
	}


	HmenuSTR='<TABLE width="770" border="0" cellspacing="0" cellpadding="0">\n';
	HmenuSTR=HmenuSTR+'<TR>\n';
	HmenuSTR=HmenuSTR+'<TD><a href="'+kaisou+'human/annai/aisatsu/index.html" onMouseOver=MM_swapImage("menu_1","","'+kaisou+'img/head/menu_1_on.gif",1) onMouseOut="MM_swapImgRestore()" onFocus="this.blur()"><IMG src="'+kaisou+'img/head/menu_1'+ head1 +'.gif" name="menu_1" alt="Human" height="33" width="191" border="0"></TD>\n';
	HmenuSTR=HmenuSTR+'<TD><IMG src="'+kaisou+'img/head/menu_kugiri.gif" alt="" height="33" width="2" border="0"></TD>\n';
	HmenuSTR=HmenuSTR+'<TD><a href="'+kaisou+'cs/kazaguruma/reform/index.html" onMouseOver=MM_swapImage("menu_2","","'+kaisou+'img/head/menu_2_on.gif",1) onMouseOut="MM_swapImgRestore()" onFocus="this.blur()"><IMG src="'+kaisou+'img/head/menu_2'+ head2 +'.gif" name="menu_2" alt="C・S" height="33" width="191" border="0"></TD>\n';
	HmenuSTR=HmenuSTR+'<TD><IMG src="'+kaisou+'img/head/menu_kugiri.gif" alt="" height="33" width="2" border="0"></TD>\n';
	HmenuSTR=HmenuSTR+'<TD><a href="'+kaisou+'eco/iso/shiga/index.html" onMouseOver=MM_swapImage("menu_3","","'+kaisou+'img/head/menu_3_on.gif",1) onMouseOut="MM_swapImgRestore()" onFocus="this.blur()"><IMG src="'+kaisou+'img/head/menu_3'+ head3 +'.gif" name="menu_3" alt="ECO" height="33" width="191" border="0"></TD>\n';
	HmenuSTR=HmenuSTR+'<TD><IMG src="'+kaisou+'img/head/menu_kugiri.gif" alt="" height="33" width="2" border="0"></TD>\n';
	HmenuSTR=HmenuSTR+'<TD><a href="'+kaisou+'gnetwork/kannrenn/nichigasgroup/index.html" onMouseOver=MM_swapImage("menu_4","","'+kaisou+'img/head/menu_4_on.gif",1) onMouseOut="MM_swapImgRestore()" onFocus="this.blur()"><IMG src="'+kaisou+'img/head/menu_4'+ head4 +'.gif" name="menu_4" alt="Gネットワーク" height="33" width="191" border="0"></TD>\n';
	HmenuSTR=HmenuSTR+'</TR>\n';
	HmenuSTR=HmenuSTR+'</TABLE>\n';
	
	
	HbotSTR='<TABLE border="0" cellspacing="0" cellpadding="0" height="40">\n';
	HbotSTR=HbotSTR+'<TR>\n';
	HbotSTR=HbotSTR+'<TD valign="bottom"><a href="'+kaisou+'index.html" onMouseOver=MM_swapImage("bot_home","","'+kaisou+'img/head/bot_home_on.gif",1) onMouseOut="MM_swapImgRestore()" onFocus="this.blur()">\n';
	HbotSTR=HbotSTR+'<IMG src="'+kaisou+'img/head/bot_home.gif" alt="HOME" name="bot_home" width="54" height="10" border="0"></a></TD>\n';
	HbotSTR=HbotSTR+'<TD valign="bottom"><a href="'+kaisou+'sitemap/index.html" onMouseOver=MM_swapImage("bot_sitemap","","'+kaisou+'img/head/bot_sitemap_on.gif",1) onMouseOut="MM_swapImgRestore()" onFocus="this.blur()">\n';
	HbotSTR=HbotSTR+'<IMG src="'+kaisou+'img/head/bot_sitemap.gif" alt="サイトマップ" name="bot_sitemap" height="10" width="73" border="0"></TD>\n';
	HbotSTR=HbotSTR+'<TD valign="bottom"><a href="'+kaisou+'guide/index.html" onMouseOver=MM_swapImage("bot_aboutsite","","'+kaisou+'img/head/bot_aboutsite_on.gif",1) onMouseOut="MM_swapImgRestore()" onFocus="this.blur()">\n';
	HbotSTR=HbotSTR+'<IMG src="'+kaisou+'img/head/bot_aboutsite.gif" alt="サイトのご利用について" name="bot_aboutsite" height="10" width="124" border="0"></TD>\n';
	HbotSTR=HbotSTR+'</TR>\n';
	HbotSTR=HbotSTR+'</TABLE>\n';