//ƒwƒbƒ_[
var tableColor="#ffffff";
var menuColor="#66ff88";

function setTD(width,height,bgcolor,href,title,sTitle){
	var xStr="";
	var className="";
	if (width=="") width="";
	if (bgcolor=="") bgcolor="";
	if (title==document.title){
		bgcolor="";
		className=" class=\"activepage\"";
	}
	xStr += "<span "+className+"><tr><td background=\"images/menu_bac5.gif\" valign=middle height=\""+height+"\" width=\""+width+"\" bgcolor=\""+bgcolor+"\" nowrap>";
	xStr += "<tt><a href=\""+href+"\"><nobr>@"+sTitle+"</nobr></a></tt>";
	xStr += "</td></tr></span>";
	return xStr;
}

function setTDx(width,height){
	var xStr =""
	xStr += "<span><tr height="+height+"><td>";
/*
	xStr += "<div align=\"center\"><br>";
	//xStr += "<hr width=\"80%\" size=\"5\" color=\"#C08080\" noshade><br>";
	xStr += "<a href=\"http://www.jcp.or.jp/akahata/index.html\" target=\"_blank\"><img src=\"Images/akahata1.gif\" alt=\"\" border=\"0\"></a><br>";
	xStr += "<br>";
	xStr += "<a href=\"http://www.jcp.or.jp/\" target=\"_blank\"><img src=\"Images/top_ht_r1_c2.gif\" alt=\"\" border=\"0\"></a><br>";
	xStr += "<br>";
	xStr += "<a href=\"http://www.jcp.or.jp/akahata/upress/\" target=\"_blank\"><img src=\"Images/upress.jpg\" alt=\"‚ä‚¤PRESS\" border=\"0\"></a><br><br>";
	xStr += "</div>";
*/
	xStr += "</td></tr></span>";
	return xStr;
}

function setMenu(xColor){
	var xStr = "";
	var cellWidth="130";
	var cellHeight="34";
	xStr += "<div class=\"menu\">"
	xStr += "<table width=\"160\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	xStr += "<tr><td rowspan=2 width=10><br></td>";
	xStr += "<td width=10 bgcolor=\""+xColor+"\" valign=top><img src=\"images/corner1.GIF\" border=\"0\"><br></td>";
	xStr += "<td rowspan=2>";
	xStr += "<table bgcolor=\""+xColor+"\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
	xStr += setTD(cellWidth,cellHeight,"","index.htm","–ìFŽs‹c’cƒz[ƒ€","ƒz[ƒ€");
	xStr += setTD(cellWidth,cellHeight,"","profile.htm","‹cˆõÐ‰î","‹cˆõ‚ÌÌßÛÌ¨°Ù");
	xStr += setTD(cellWidth,cellHeight,"","minpou.htm","‚â‚·–¯•ñ","‚â‚·–¯•ñ");
	xStr += setTD(cellWidth,cellHeight,"","news.htm","–ìFŽs‹c’cƒjƒ…[ƒX","Žs‹c’cÆ­°½");
	xStr += setTD(cellWidth,cellHeight,"","report.htm","ˆê”ÊŽ¿–â","ˆê”ÊŽ¿–â");
	//xStr += setTD(cellWidth,cellHeight,"","bbs.htm","ŒfŽ¦”Â","ŒfŽ¦”Â");
	xStr += setTD(cellWidth,cellHeight,"","seisaku.htm","­ô•Œ©‰ð","­ô•Œ©‰ð");
	//xStr += setTD(cellWidth,cellHeight,"","diary.htm","Šˆ“®“ú‹L","Šˆ“®“ú‹L");
	//xStr += setTD(cellWidth,cellHeight,"","event.htm","ƒCƒxƒ“ƒg","ƒCƒxƒ“ƒg");
	xStr += setTD(cellWidth,cellHeight,"","links.htm","ƒŠƒ“ƒNW","ƒŠƒ“ƒNW");
	xStr += setTD(cellWidth,cellHeight,"","mail.htm","ƒ[ƒ‹","‚²ˆÓŒ©º°Å°");
	xStr += setTDx(cellWidth,"260");
	xStr += "</table>";
	xStr += "</td>";
	xStr += "<td width=10 bgcolor=\""+xColor+"\" valign=top><img src=\"images/corner2.GIF\" border=\"0\"><br></td>";
	xStr += "</tr><tr>";
	xStr += "<td width=10 bgcolor=\""+xColor+"\" valign=bottom><img src=\"images/corner3.GIF\" border=\"0\"><br></td>";
	xStr += "<td width=10 bgcolor=\""+xColor+"\" valign=bottom><img src=\"images/corner4.GIF\" border=\"0\"><br></td>";
	xStr += "</tr></table>";
	xStr += "</div>";
	return xStr;
}

var xStr="";
xStr += setMenu(menuColor);
//‚¨’m‚ç‚¹
xStr += "<div id=\"xxx1\" style=\"position: absolute; top:460; left:20\">";
xStr += "<a  href=\"images/top/cm20100902.jpg\" target=\"_blank\">";
xStr += "<img src=\"images/top/cm20100902.jpg\" alt=\"ƒNƒŠƒbƒN\" border=\"0\" width=130 height=155>";
xStr += "</a>";
xStr += "</div>";
document.write(xStr);

