function menu(contents){
	<!-- home-->
	if(contents==1){
		document.write("<li><img src=\"../simg/menu_home_over.gif\" alt=\"ホーム\" name=\"home\" width=\"50\" height=\"44\" border=\"0\"></li>");
	}else{
		document.write("<li><a href=\"../index.html\" onMouseOver=\"document.home.src='../simg/menu_home_over.gif'\" onMouseOut=\"document.home.src='../simg/menu_home_off.gif'\"><img src=\"../simg/menu_home_off.gif\" alt=\"ホーム\" name=\"home\" width=\"50\" height=\"44\" border=\"0\"></a></li>");
	}
	
	<!-- profile-->
	if(contents==2){
		document.write("<li><img src=\"../simg/menu_profile_on.gif\" alt=\"木材・住建事業部の紹介\" name=\"profile\" width=\"102\" height=\"44\" border=\"0\"></li>");
	}else{
		document.write("<li><a href=\"../profile/index.html\" onMouseOver=\"document.profile.src='../simg/menu_profile_over.gif'\" onMouseOut=\"document.profile.src='../simg/menu_profile_off.gif'\"><img src=\"../simg/menu_profile_off.gif\" alt=\"木材・住建事業部の紹介\" name=\"profile\" width=\"102\" height=\"44\" border=\"0\"></a></li>");
	}
	
	<!-- work_p-->
	if(contents==3){
		document.write("<li><img src=\"../simg/menu_work_p_on.gif\" alt=\"プレカット部材\" name=\"work_p\" width=\"101\" height=\"44\" border=\"0\"></li>");
	}else{
		document.write("<li><a href=\"../work_p/index.html\" onMouseOver=\"document.work_p.src='../simg/menu_work_p_over.gif'\" onMouseOut=\"document.work_p.src='../simg/menu_work_p_off.gif'\"><img src=\"../simg/menu_work_p_off.gif\" alt=\"プレカット部材\" name=\"work_p\" width=\"101\" height=\"44\" border=\"0\"></a></li>");
	}
	
	<!-- work_b-->
	if(contents==4){
		document.write("<li><img src=\"../simg/menu_work_b_on.gif\" alt=\"木材防腐・防蟻処理\" name=\"work_b\" width=\"101\" height=\"44\" border=\"0\"></li>");
	}else{
		document.write("<li><a href=\"../work_b/index.html\" onMouseOver=\"document.work_b.src='../simg/menu_work_b_over.gif'\" onMouseOut=\"document.work_b.src='../simg/menu_work_b_off.gif'\"><img src=\"../simg/menu_work_b_off.gif\" alt=\"木材防腐・防蟻処理\" name=\"work_b\" width=\"101\" height=\"44\" border=\"0\"></a></li>");
	}
	
	<!-- work_m-->
	if(contents==5){
		document.write("<li><img src=\"../simg/menu_work_m_on.gif\" alt=\"当社の木材供給体制\" name=\"work_m\" width=\"102\" height=\"44\" border=\"0\"></li>");
	}else{
		document.write("<li><a href=\"../work_m/index.html\" onMouseOver=\"document.work_m.src='../simg/menu_work_m_over.gif'\" onMouseOut=\"document.work_m.src='../simg/menu_work_m_off.gif'\"><img src=\"../simg/menu_work_m_off.gif\" alt=\"当社の木材供給体制\" name=\"work_m\" width=\"102\" height=\"44\" border=\"0\"></a></li>");
	}
	
	<!-- match-->
	if(contents==6){
		document.write("<li><img src=\"../simg/menu_match_on.gif\" alt=\"マッチ\" name=\"match\" width=\"102\" height=\"44\" border=\"0\"></li>");
	}else{
		document.write("<li><a href=\"../match/index.html\" onMouseOver=\"document.match.src='../simg/menu_match_over.gif'\" onMouseOut=\"document.match.src='../simg/menu_match_off.gif'\"><img src=\"../simg/menu_match_off.gif\" alt=\"マッチ\" name=\"match\" width=\"102\" height=\"44\" border=\"0\"></a></li>");
	}
	
	<!-- exterior-->
	if(contents==7){
		document.write("<li><img src=\"../simg/menu_exterior_on.gif\" alt=\"エクステリア\" name=\"exterior\" width=\"102\" height=\"44\" border=\"0\"></li>");
	}else{
		document.write("<li><a href=\"../exterior/index.html\" onMouseOver=\"document.exterior.src='../simg/menu_exterior_over.gif'\" onMouseOut=\"document.exterior.src='../simg/menu_exterior_off.gif'\"><img src=\"../simg/menu_exterior_off.gif\" alt=\"エクステリア\" name=\"exterior\" width=\"102\" height=\"44\" border=\"0\"></a></li>");
	}
	
	<!-- security-->
	if(contents==8){
		document.write("<li><img src=\"../simg/menu_security_on.gif\" alt=\"セキュリティ機器\" name=\"security\" width=\"100\" height=\"44\" border=\"0\"></li>");
	}else{
		document.write("<li><a href=\"../security/index.html\" onMouseOver=\"document.security.src='../simg/menu_security_over.gif'\" onMouseOut=\"document.security.src='../simg/menu_security_off.gif'\"><img src=\"../simg/menu_security_off.gif\" alt=\"セキュリティ機器\" name=\"security\" width=\"100\" height=\"44\" border=\"0\"></a></li>");
	}


}