function CreateMenu(cgi_flg)
{
	var img_path = "";
	var link_path = "";
	var td_height = 41;

	if (cgi_flg == 1)		// cgiページの場合、パスが変わる
	{
		img_path = "../img/menu/";
		link_path = "../";
	}
	else
	{
		img_path = "img/menu/";
		link_path = "./";
	}


	document.write("<table cellpadding='0' cellspacing='0'>");
	document.write("<tr><td style='padding-left:5px'><img src='"+ img_path +"menu_top.gif'></td></tr>");
	document.write("<tr><td style='padding-left:5px'>");

	document.write("<table cellpadding='0' cellspacing='0' width='130' class='normal' style='text-align:center; background-image:url("+ img_path +"menu_middle.gif)'>");

	document.write("<tr><td height='"+ td_height +"'><a href='"+ link_path +"index.html'>			トップ					</a></td></tr>");
	document.write("<tr><td height='"+ td_height +"'><a href='"+ link_path +"ordermadeC.html'>		オーダーメイド			</a></td></tr>");
	document.write("<tr><td height='"+ td_height +"'><a href='"+ link_path +"categoryB.html'>		既製品					</a></td></tr>");
	document.write("<tr><td height='"+ td_height +"'><a href='"+ link_path +"responseD.html'>		お客様の声				</a></td></tr>");

	document.write("<tr>");
	document.write("<td height='"+ td_height +"'>");
	document.write("<table cellpadding='0' cellspacing='0' style='font-size:100%'>");
	document.write("<tr><td width='75px'><a href='"+ link_path +"trialE.html'>						当店の試作品１点もの	</a></td></tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td height='"+ td_height +"'>");
	document.write("<table cellpadding='0' cellspacing='0' style='font-size:100%'>");
	document.write("<tr><td width='75px'><a href='"+ link_path +"groupF.html'>						企業団体等のお客様		</a></td></tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td height='"+ td_height +"'>");
	document.write("<table cellpadding='0' cellspacing='0' style='font-size:100%'>");
	document.write("<tr><td width='75px'><a href='"+ link_path +"howtoG.html'>						注文方法支払い方法		</a></td></tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr><td height='"+ td_height +"'><a href='"+ link_path +"company_info.html'>	会社案内				</a></td></tr>");
	document.write("<tr><td height='"+ td_height +"'><a href='http://ameblo.jp/goemon-laser/'>	ブログ					</a></td></tr>");
	document.write("<tr><td height='"+ td_height +"'><a href='"+ link_path +"linksJ.html'>			リンク					</a></td></tr>");
	document.write("<tr><td height='"+ td_height +"'><a href='"+ link_path +"referenceK.php'>		問い合わせ				</a></td></tr>");
	document.write("</table>");

	document.write("</td></tr>");
	document.write("<tr><td><img src='"+ img_path +"menu_bottom.gif'</td></tr>");
	document.write("</table>");
}

