
 function writeSubMenu(mode) {
 	if (mode == "requestA") {
 		CPath = "../../Consultant";
 		IPath = "../..";
 		mode = "request";
 	} else {
 		CPath = ".";
 		IPath = "..";
 	}
 	
	document.write("<div class=SubMenu>");
	document.write("<div class=MenuT>°å¶È·Ð±Ä¤È¤Ï</div>");
	if (mode == "Top") {
		document.write("<div class=Menu1o><img src=\"" + IPath + "/images/etc_e09.gif\" width=12 height=12> <a href=\"" + CPath + "/index.html\">¥³¥ó¥µ¥ë¥¿¥ó¥È¶ÈÌ³</a></div>");
	} else {
		document.write("<div class=Menu1f><img src=\"" + IPath + "/images/etc_e03.gif\" width=12 height=12> <a href=\"" + CPath + "/index.html\">¥³¥ó¥µ¥ë¥¿¥ó¥È¶ÈÌ³</a></div>");
	}
	if (mode == "Top" || mode == "consul01" || mode == "consul02" || mode == "consul03" || mode == "consul04" || mode == "consul05") {
	if (mode == "consul01") {
		document.write("<div class=Menu2o><img src=\"" + IPath + "/images/d_etc18_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul01.html\">·Ð±Ä¿ÇÃÇ¶ÈÌ³</a></div>");
	} else {
		document.write("<div class=Menu2f><img src=\"" + IPath + "/images/d_etc15_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul01.html\">·Ð±Ä¿ÇÃÇ¶ÈÌ³</a></div>");
	}
	if (mode == "consul02") {
		document.write("<div class=Menu2o><img src=\"" + IPath + "/images/d_etc18_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul02.html\">·Ð±ÄÀïÎ¬»Ù±ç¶ÈÌ³</a></div>");
	} else {
		document.write("<div class=Menu2f><img src=\"" + IPath + "/images/d_etc15_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul02.html\">·Ð±ÄÀïÎ¬»Ù±ç¶ÈÌ³</a></div>");
	}
	if (mode == "consul03") {
		document.write("<div class=Menu2o><img src=\"" + IPath + "/images/d_etc18_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul03.html\">·Ð±Ä´ÉÍý»Ù±ç¶ÈÌ³</a></div>");
	} else {
		document.write("<div class=Menu2f><img src=\"" + IPath + "/images/d_etc15_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul03.html\">·Ð±Ä´ÉÍý»Ù±ç¶ÈÌ³</a></div>");
	}
	if (mode == "consul04") {
		document.write("<div class=Menu2o><img src=\"" + IPath + "/images/d_etc18_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul04.html\">²ð¸î¥µ¡¼¥Ó¥¹<br>¡¡¡¡¡¡»ö¶ÈÅ¸³«»Ù±ç¶ÈÌ³</a></div>");
	} else {
		document.write("<div class=Menu2f><img src=\"" + IPath + "/images/d_etc15_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul04.html\">²ð¸î¥µ¡¼¥Ó¥¹<br>¡¡¡¡¡¡»ö¶ÈÅ¸³«»Ù±ç¶ÈÌ³</a></div>");
	}
	if (mode == "consul05") {
		document.write("<div class=Menu2o><img src=\"" + IPath + "/images/d_etc18_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul05.html\">¸ÄÊÌ·Ð±Ä²ÝÂê<br>¡¡¡¡¡¡¡¡¡¡¡¡¡¡»Ù±ç¶ÈÌ³</a></div>");
	} else {
		document.write("<div class=Menu2f><img src=\"" + IPath + "/images/d_etc15_m.gif\" width=11 height=11> <a href=\"" + CPath + "/consul05.html\">¸ÄÊÌ·Ð±Ä²ÝÂê<br>¡¡¡¡¡¡¡¡¡¡¡¡¡¡»Ù±ç¶ÈÌ³</a></div>");
	}
	}
	if (mode == "quali") {
		document.write("<div class=Menu1o><img src=\"" + IPath + "/images/etc_e09.gif\" width=12 height=12> <a href=\"" + CPath + "/quali.html\">»ñ³ÊÇ§ÄêÀ©ÅÙ</a></div>");
	} else {
		document.write("<div class=Menu1f><img src=\"" + IPath + "/images/etc_e03.gif\" width=12 height=12> <a href=\"" + CPath + "/quali.html\">»ñ³ÊÇ§ÄêÀ©ÅÙ</a></div>");
	}
	if (mode == "convene") {
		document.write("<div class=Menu1o><img src=\"" + IPath + "/images/etc_e09.gif\" width=12 height=12> <a href=\"" + CPath + "/convene.html\">»ØÄê¹ÖºÂ¡¦°ì¼¡»î¸³</a></div>");
	} else {
		document.write("<div class=Menu1f><img src=\"" + IPath + "/images/etc_e03.gif\" width=12 height=12> <a href=\"" + CPath + "/convene.html\">»ØÄê¹ÖºÂ¡¦°ì¼¡»î¸³</a></div>");
	}
	if (mode == "thesis") {
		document.write("<div class=Menu1o><img src=\"" + IPath + "/images/etc_e09.gif\" width=12 height=12> <a href=\"" + CPath + "/thesis.html\">Æó¼¡»î¸³¡ÊÏÀÊ¸¡Ë</a></div>");
	} else {
		document.write("<div class=Menu1f><img src=\"" + IPath + "/images/etc_e03.gif\" width=12 height=12> <a href=\"" + CPath + "/thesis.html\">Æó¼¡»î¸³¡ÊÏÀÊ¸¡Ë</a></div>");
	}
	if (mode == "registry") {
		document.write("<div class=Menu1o><img src=\"" + IPath + "/images/etc_e09.gif\" width=12 height=12> <a href=\"" + CPath + "/registry.html\">ÅÐÏ¿¼êÂ³</a></div>");
	} else {
		document.write("<div class=Menu1f><img src=\"" + IPath + "/images/etc_e03.gif\" width=12 height=12> <a href=\"" + CPath + "/registry.html\">ÅÐÏ¿¼êÂ³</a></div>");
	}
	if (mode == "request") {
		document.write("<div class=Menu1o><img src=\"" + IPath + "/images/etc_e09.gif\" width=12 height=12> <a href=\"" + CPath + "/request.html\">¼õ¸³¥¬¥¤¥ÉÀÁµá</a></div>");
	} else {
		document.write("<div class=Menu1f><img src=\"" + IPath + "/images/etc_e03.gif\" width=12 height=12> <a href=\"" + CPath + "/request.html\">¼õ¸³¥¬¥¤¥ÉÀÁµá</a></div>");
	}
	document.write("<br>");
	document.write("<div class=Menu1f><img src=\"" + IPath + "/images/etc_e03.gif\" width=12 height=12> <a href=\"" + CPath + "/../Association/nyukai.html\">Æþ²ñ¤Î¤´°ÆÆâ</a></div>");
	document.write("<br>");
 }
