/*
Title : JVW 1.0 / Tool JS
Version : 1.0.1
Copyright 2010 Buchi

History
	2010/01/13 1.0.1 リリース

Corresponding Environment
	-

Un-corresponding Environment
	-
*/




/*
showTool('rank')

	rank
		(Integer)

	Result
		HTML
*/

function showTool(rank){

	var rank2;

	if(rank == 0){
		rank2 = "./";
	}
	else{
		rank2 = "";
		for(i = 0; i < rank; i = i + 1){
			rank2 = rank2 + "../"
		}
	}
	document.write("					<dl class=\"tool\">");
	document.write("						<dt>検索</dt>");
	document.write("						<dd>");
	document.write("							<form action=\"" + rank2 + "cgi-bin2/search/wwwsrch.cgi\" method=\"get\">");
	document.write("								<div>");
	document.write("									<input type=\"text\" name=\"word\" size=\"18\" maxlength=\"32\" accesskey=\"w\" tabindex=\"2\" value=\"\" />[w]");
	document.write("									<input type=\"hidden\" name=\"andor\" value=\"and\" />");	
	document.write("									<input type=\"submit\" accesskey=\"s\" tabindex=\"3\" value=\"検索[s]\" />");
	document.write("								</div>");
	document.write("							</form>");
	document.write("						</dd>");
	document.write("					</dl>");
	document.write("					<dl class=\"tool\">");
	document.write("						<dt>ピックアップ</dt>");
	document.write("						<dd>");
	document.write("							<script type=\"text/javascript\">");
	document.write("								showPickup('" + rank + "', 'UpdatePickup', '/', '1');");
	document.write("							</script>");
	document.write("						</dd>");
	document.write("					</dl>");
	document.write("					<dl class=\"tool\">");
	document.write("						<dt>特集</dt>");
	document.write("						<dd>");
	document.write("							<div class=\"center\">");
	document.write("								<a href=\"" + rank2 + "special/around/index.html\"><img src=\"" + rank2 + "special/around/source/banner.jpg\" width=\"192\" height=\"48\" alt=\"長楽寺周辺の歴史散策\" /></a><br />");
	document.write("								<a href=\"" + rank2 + "special/comic/index.html\"><img src=\"" + rank2 + "special/comic/source/banner.gif\" width=\"192\" height=\"48\" alt=\"漫画で見る動物供養\" /></a><br />");
	document.write("								<a href=\"" + rank2 + "special/cremationcar/index.html\"><img src=\"" + rank2 + "special/cremationcar/source/banner.gif\" width=\"192\" height=\"48\" alt=\"移動火葬車は使いません\" /></a><br />");
	document.write("								<a href=\"" + rank2 + "special/index.html\" class=\"internal\">全ての一覧</a>");
	document.write("							</div>");
	document.write("						</dd>");
	document.write("					</dl>");
	document.write("					<dl class=\"tool\">");
	document.write("						<dt>関連サイト</dt>");
	document.write("						<dd>");
	document.write("							<div class=\"center\">");
//	document.write("								<a href=\"" + rank2 + "mobile/index.html\"><img src=\"" + rank2 + "relatedsite/mobile/source/banner.jpg\" width=\"192\" height=\"48\" alt=\"長楽寺動物霊園モバイル\" /></a><br />");
        document.write("                                                                <a href=\"" + rank2 + "../doubutu-rengou/index.html\"><img src=\"" + rank2 + "../doubutu-rengou/rengou-littel-banner.gif\" width=\"192\" height=\"48\" alt=\"日本動物霊園連合\" /></a><br />");
	document.write("								<a href=\"http://chourakuji.blog31.fc2.com/\"><img src=\"" + rank2 + "relatedsite/blog/source/banner.gif\" width=\"192\" height=\"48\" alt=\"長楽寺動物霊園ブログ\" /></a><br />");
        document.write("                                                                <a href=\"" + rank2 + "relatedsite/index.html\" class=\"internal\">全ての一覧</a>");
	document.write("							</div>");
	document.write("						</dd>");
	document.write("					</dl>");
	document.write("					<dl class=\"tool\">");	
	document.write("						<dt>スタイル</dt>");
	document.write("						<dd>");
	document.write("							<script type=\"text/javascript\">");
	document.write("								showCSSForm('ja', 'Form', 'ニュートラル:css-bin/jvw01/neutral.css,シイノトモシビ:css-bin/jvw01/shiinotomoshibi.css,海老茶式部:css-bin/jvw01/ebichashikibu.css,長楽寺:css-bin/jvw01/chorakuji.css,フレッシュ:css-bin/jvw01/fresh.css,ファンシー:css-bin/jvw01/fancy.css,黒潮:css-bin/jvw01/kuroshio.css', '長楽寺', '" + rank + "', 'UpdateCSS', '/', '7', 't', '4');");
	document.write("							</script>");
	document.write("						</dd>");
	document.write("					</dl>");
}
