/*
 * KEYUCA
 * フッター記述用JavaScript
 */

/* 階層を整形 */
function makeStep(step) {
	stepPath = "";
	
	for(i = 0; i < (step - 1); i ++)
		stepPath += "../";
	
	return stepPath;
}

/* フッターを記述
 * step: 階層 （/index.htm が 1） */
function insFooter(step) {
	path = makeStep(step);
	
	document.write("<div id=\"navigation\">");
	document.write("<ul>");
/*	document.write("<li class=\"s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"" + path + "whatsnew/\">新着</a></li>"); */
	document.write("<li class=\"s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"http://www.keyuca.com/sitemap/\" target=\"sitemap\" onClick=\"sub01('http://www.keyuca.com/sitemap/')\">サイトマップ</a></li>");
	document.write("<li class=\"s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"http://www.kawajun.co.jp/\" target=\"_blank\">会社概要</a></li>");
	document.write("<li class=\"s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"" + path + "recruit/\">採用</a></li>");
	document.write("<li class=\"s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"" + path + "policy/\">個人情報</a></li>");
	document.write("<li class=\"s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"" + path + "wp/\">壁紙プレゼント</a></li>");
	document.write("<li class=\"s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"" + path + "whatsnew/\"><font class=\"s02\">新着情報</font></a></li>");
//	document.write("<li class=\"s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"" + path + "rss/ticker.rdf/\">RSS</a></li>");
	document.write("</ul>");
	document.write("</div>");
	document.write("<div id=\"copyright\" class=\"s01\"><font size=\"1\" style=\"font-size:10px;\" color=\"#999999\">Copyright (C) <a href=\"http://www.kawajun.co.jp/\" target=\"_blank\">KAWAJUN Co., Ltd.</a> All Rights Reserved.</font></div>");
	//document.write("<div class=\"navigation02 s01\"><img src=\"" + path + "img/link.gif\" width=\"7\" height=\"7\"><a href=\"" + path + "whatsnew/index.htm#316\">12月末まで、各店にて「ダイニングフェア」開催中です！</a></div>");
//	document.write("<p><a href=\"http://www.keyuca.com/special/mother/\" onClick=\"sub28('http://www.keyuca.com/special/mother/')\" target=\"special23\"><img src=\"" + path + "img/mother.gif\" width=\"760\" height=\"40\" border=\"0\" alt=\"母の日特集はこちらから\"></a></p><img src=\"" + path + "img/space10.gif\" width=\"10\" height=\"15\"><br>");

//	document.write("<p><a href=\"http://store.shopping.yahoo.co.jp/keyuca/father.html\"><img src=\"" + path + "img/father2010.jpg\" width=\"760\" height=\"110\" border=\"0\" alt=\"ケユカ Yahoo!店の父の日ギフト\"></a></p><img src=\"" + path + "img/space10.gif\" width=\"10\" height=\"15\"><br>");

//	document.write("<img src=\"" + path + "img/space10.gif\" width=\"10\" height=\"20\"><br><img src=\"" + path + "img/space10.gif\" width=\"10\" height=\"10\"><br>");

	document.write("<p><a href=\"http://store.shopping.yahoo.co.jp/keyuca/82640.html\"><img src=\"" + path + "img/rare-cheese.jpg\" width=\"760\" height=\"100\" border=\"0\" alt=\"Yahoo!店限定 ふわふわレアチーズ ブルーベリー\"></a></p><img src=\"" + path + "img/space10.gif\" width=\"10\" height=\"15\"><br>");

	document.write("<img src=\"" + path + "img/space10.gif\" width=\"10\" height=\"20\"><br><img src=\"" + path + "img/space10.gif\" width=\"10\" height=\"10\"><br>");

}


/* 検索窓を記述
 * step: 階層 （/index.htm が 1） */
function insSearchBox(step) {
	path = makeStep(step);
	
	document.write("<form name=\"search\" id=\"search\" action=\"http://search-asp.fresheye.com/\" target=\"_blank\">");
	document.write("<p id=\"formSearch\">");
	document.write("<input name=\"kw\" id=\"kw\" type=\"text\" value=\"\">");
	document.write("<input id=\"button\" type=\"image\" src=\"" + path + "img/search.gif\" alt=\"検索\">");
	document.write("<input type=\"hidden\" name=\"cs\" value=\"sjis\">");
	document.write("<input type=\"hidden\" name=\"ord\" value=\"s\">");
	document.write("<input type=\"hidden\" name=\"id\" value=\"12057\">");
	document.write("</p>");
	document.write("</form>");
}

