public static void headerWrite(Mode m, String[] nameArray, StringBuilder sb)
			throws IOException {
		Cache cache = getCache(60 * 15);
		String column = (String) cache.get("namecolumn");
		if (column == null) {
			WakeBackends wb = new WakeBackends();
			column = wb.newColumn();
		}
		sb.append("<html><head><link href=\"amazon.ico\" /><title>")
				.append(nameArray[1].split("_\\(")[0])
				.append(nameArray[2].isEmpty() ? " 出演リスト</title>" : "＆"
						+ nameArray[2].split("_\\(")[0] + " 共演リスト</title>")
				.append("<meta name=\"viewport\" content=\"user-scalable=no\" /><meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />")
				.append("<meta name=\"description\" content=\"")
				.append(nameArray[1].split("_\\(")[0])
				.append(nameArray[2].isEmpty() ? "の出演作品を、一覧で表示します。\" />" : "と"
						+ nameArray[2].split("_\\(")[0]
						+ "の共演作品を、一覧で表示します。\" />")
				.append("<meta name=\"keywords\" content=\"")
				.append(nameArray[1].split("_\\(")[0])
				.append(nameArray[2].isEmpty() ? "" : ","
						+ nameArray[2].split("_\\(")[0])
				.append(",声優,共演,検索,アニメ\" />")
				.append("<script type=\"text/javascript\">")
				.append("function ChangeSelection1(form, selection) {\n")
				.append("form.n.value = selection.options[selection.selectedIndex].value;\n")
				.append("change_flag1(false);\n")
				.append("}\n")
				.append("function ChangeSelection2(form, selection) {\n")
				.append("form.m.value = selection.options[selection.selectedIndex].value;\n")
				.append("change_flag2(false);\n")
				.append("}\n")
				.append("function change_flag1(boolean) {\n")
				.append("if(boolean)\n")
				.append("document.getElementById(\"col_style1\").style.display = \"inline\";\n")
				.append("else\n")
				.append("document.getElementById(\"col_style1\").style.display = \"none\";\n")
				.append("}\n")
				.append("function change_flag2(boolean) {\n")
				.append("if(boolean)\n")
				.append("document.getElementById(\"col_style2\").style.display = \"inline\";\n")
				.append("else\n")
				.append("document.getElementById(\"col_style2\").style.display = \"none\";\n")
				.append("}\n")
				.append("  var _gaq = _gaq || [];")
				.append("  _gaq.push(['_setAccount', 'UA-28405404-2']);")
				.append("  _gaq.push(['_trackPageview']);")
				.append("  (function() {    var ga = document.createElement('script');")
				.append(" ga.type = 'text/javascript'; ga.async = true;")
				.append("    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';")
				.append("    var s = document.getElementsByTagName('script')[0];")
				.append(" s.parentNode.insertBefore(ga, s);  })();")
				.append("</script>")
				.append("<link href=\"table.css\" rel=\"stylesheet\" type=\"text/css\" />")
				.append("</head><body onload=\"change_flag1(false),change_flag2(false)\">")
				.append("<div id=\"head\"><a href=\"/\" class=\"top\">サイトTOP</a><a href=\"guide\" class=\"guide\">ガイド</a><a href=\"past\" class=\"past\">検索履歴</a>")
				.append("<a href=\"ranking\" class=\"ranking\">総合ランキング</a><a href=\"pair\" class=\"pair\">男女ランキング</a><form action=\"co\" method=\"GET\"><input class=\"text\" type=\"text\" name=\"n\" value=\"")
				.append(nameArray[0])
				.append("\" onmouseover=\"change_flag1(true),change_flag2(false)\" onclick=\"change_flag1(false)\" />")
				.append(" ＆ <input class=\"text\" type=\"text\" name=\"m\" onmouseover=\"change_flag2(true),change_flag1(false)\" onclick=\"change_flag2(false)\"/>")
				.append(" の共演を <input type=\"submit\" value=\"調べる\" />")
				.append("<div id=\"col_style1\">")
//				.append("<select id=\"column1\" onchange=\"ChangeSelection1(this.form, this)\">")
//				.append(column)
//				.append("</select>")
				.append("</div>")
				.append("<div id=\"col_style2\">")
//				.append("<select id=\"column2\" onchange=\"ChangeSelection2(this.form, this)\">")
//				.append(column)
//				.append("</select>")
				.append("</div></form></div><br /><div id=\"space\"></div>");
	}