<!--

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadimg() { //v3.0
  var d=document; if(d.img){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadimg.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function subWin01(){window.open('../../forumsetsumei.html','popup','resizable=1,scrollbars=1,menubar=0,directories=0,status=0,location=0,width=560,height=300');}

// フォーラムリンク (Header)
// Thread top menu
function DispForumMenu($forum,$max){
	document.write("<table border='0' cellspacing='0' cellpadding='0' dwcopytype='CopyTableCell' style='margin:0 auto'><tr>");
	if($forum == "mater"){
		document.write("<td><a href='./bbs.php?bbs=mater&max=40'><img src='../../forum/images/m_title.gif' width='468' height='33' alt='マタニティ' border='0'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=baby&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image1','','../../forum/images/baby_btnr.gif',1)\"><img name='Image1' border='0' src='../../forum/images/baby_btn.gif' width='93' height='33' alt='ベビー'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=kids&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image2','','../../forum/images/kids_btnr.gif',1)\"><img name='Image2' border='0' src='../../forum/images/kids_btn.gif' width='93' height='33' alt='キッズ'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=junior&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image3','','../../forum/images/junior_btnr.gif',1)\"><img name='Image3' border='0' src='../../forum/images/junior_btn.gif' width='92' height='33' alt='ジュニア'></a></td>");
		document.write("</tr>\n<tr><td colspan='4'><img src='images/spacer.gif' height='1' width='1'></td></tr>\n");
		document.write("<tr><td colspan='4' bgcolor='#f0f0f0' style='padding: 4px 10px 4px 0; text-align: right; font-size: 12px'><a href='kiyaku02.html' style='color: #6699cc'>※事務局からの注意とお願い</a>&nbsp;&nbsp;&nbsp;<a href='kiyaku02.html' style='color: #6699cc'>※医療と薬に関する投稿について</a>&nbsp;&nbsp;&nbsp;<a href='kiyaku.html' style='color: #6699cc'>※フォーラム利用規約</a></td></tr>");
	}else if($forum == "baby"){
		document.write("<td><a href='./bbs.php?bbs=mater&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image1','','../../forum/images/mater_btnr.gif',1)\"><img name='Image1' border='0' src='../../forum/images/mater_btn.gif' width='93' height='33' alt='マタニティ'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=baby&max=40'><img src='../../forum/images/b_title.gif' width='468' height='33' alt='ベビー' border='0'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=kids&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image2','','../../forum/images/kids_btnr.gif',1)\"><img name='Image2' border='0' src='../../forum/images/kids_btn.gif' width='93' height='33' alt='キッズ'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=junior&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image3','','../../forum/images/junior_btnr.gif',1)\"><img name='Image3' border='0' src='../../forum/images/junior_btn.gif' width='92' height='33' alt='ジュニア'></a></td>");
		document.write("</tr>\n<tr><td colspan='4'><img src='images/spacer.gif' height='1' width='1'></td></tr>\n");
		document.write("<tr><td colspan='4' bgcolor='#f0f0f0' style='padding: 4px 10px 4px 0; text-align: right; font-size: 12px'><a href='kiyaku02.html' style='color: #6699cc'>※事務局からの注意とお願い</a>&nbsp;&nbsp;&nbsp;<a href='kiyaku02.html' style='color: #6699cc'>※医療と薬に関する投稿について</a>&nbsp;&nbsp;&nbsp;<a href='kiyaku.html' style='color: #6699cc'>※フォーラム利用規約</a></td></tr>");
	}else if($forum == "kids"){
		document.write("<td><a href='./bbs.php?bbs=mater&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image1','','../../forum/images/mater_btnr.gif',1)\"><img name='Image1' border='0' src='../../forum/images/mater_btn.gif' width='93' height='33' alt='マタニティ'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=baby&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image2','','../../forum/images/baby_btnr.gif',1)\"><img name='Image2' border='0' src='../../forum/images/baby_btn.gif' width='93' height='33' alt='ベビー'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=kids&max=40'><img src='../../forum/images/k_title.gif' width='468' height='33' alt='キッズ' border='0'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=junior&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image3','','../../forum/images/junior_btnr.gif',1)\"><img name='Image3' border='0' src='../../forum/images/junior_btn.gif' width='92' height='33' alt='ジュニア'></a></td>");
		document.write("</tr>\n<tr><td colspan='4'><img src='images/spacer.gif' height='1' width='1'></td></tr>\n");
		document.write("<tr><td colspan='4' bgcolor='#f0f0f0' style='padding: 4px 10px 4px 0; text-align: right; font-size: 12px'><a href='kiyaku02.html' style='color: #6699cc'>※事務局からの注意とお願い</a>&nbsp;&nbsp;&nbsp;<a href='kiyaku02.html' style='color: #6699cc'>※医療と薬に関する投稿について</a>&nbsp;&nbsp;&nbsp;<a href='kiyaku.html' style='color: #6699cc'>※フォーラム利用規約</a></td></tr>");
	}else if($forum == "junior"){
		document.write("<td><a href='./bbs.php?bbs=mater&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image1','','../../forum/images/mater_btnr.gif',1)\"><img name='Image1' border='0' src='../../forum/images/mater_btn.gif' width='93' height='33' alt='マタニティ'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=baby&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image2','','../../forum/images/baby_btnr.gif',1)\"><img name='Image2' border='0' src='../../forum/images/baby_btn.gif' width='93' height='33' alt='ベビー'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=kids&max=40' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image3','','../../forum/images/kids_btnr.gif',1)\"><img name='Image3' border='0' src='../../forum/images/kids_btn.gif' width='92' height='33' alt='キッズ'></a></td>");
		document.write("<td><a href='./bbs.php?bbs=junior&max=40'><img src='../../forum/images/j_title.gif' width='467' height='33' alt='ジュニア' border='0'></a></td>");
		document.write("</tr>\n<tr><td colspan='4'><img src='images/spacer.gif' height='1' width='1'></td></tr>\n");
		document.write("<tr><td colspan='4' bgcolor='#f0f0f0' style='padding: 4px 10px 4px 0; text-align: right; font-size: 12px'><a href='kiyaku02.html' style='color: #6699cc'>※事務局からの注意とお願い</a>&nbsp;&nbsp;&nbsp;<a href='kiyaku02.html' style='color: #6699cc'>※医療と薬に関する投稿について</a>&nbsp;&nbsp;&nbsp;<a href='kiyaku.html' style='color: #6699cc'>※フォーラム利用規約</a></td></tr>");
	}else{
		if($forum == "asobi"){
			$f_name = "ibox_asobi.gif";
			$f_url = "./bbs.php?bbs=asobi&max=40";
		}else if($forum == "naki"){
			$f_name = "ibox_naki.gif";
			$f_url = "./bbs.php?bbs=naki&max=40";
		}else if($forum == "nemuri"){
			$f_name = "ibox_nemuri.gif";
			$f_url = "./bbs.php?bbs=nemuri&max=40";
		}else if($forum == "odekake"){
			$f_name = "ibox_odekake.gif";
			$f_url = "./bbs.php?bbs=odekake&max=40";
		}else if($forum == "ofuro"){
			$f_name = "ibox_ofuro.gif";
			$f_url = "./bbs.php?bbs=ofuro&max=40";
		}else if($forum == "oppai"){
			$f_name = "ibox_oppai.gif";
			$f_url = "./bbs.php?bbs=oppai&max=40";
		}else if($forum == "situke"){
			$f_name = "ibox_situke.gif";
			$f_url = "./bbs.php?bbs=situke&max=40";
		}else if($forum == "sumai"){
			$f_name = "ibox_sumai.gif";
			$f_url = "./bbs.php?bbs=sumai&max=40";
		}else if($forum == "eat"){
			$f_name = "ibox_shokuji.gif";
			$f_url = "./bbs.php?bbs=eat&max=40";
		}else if($forum == "sonota"){
			$f_name = "ibox_sonota.gif";
			$f_url = "./bbs.php?bbs=sonota&max=40";
		}else{
			$f_name = "i_title.gif";
			$f_url = "./index_ibox.php";
			$f_map = "";
		}
		document.write("<td><img src='img_ibox/"+$f_name+"' width='818' height='79' alt='' border='0' usemap='#"+$forum+"'></td></tr>");
	}
	document.write("</table>");
}

// Thread posting button
function DispPostButton($forum,$max,$reference){
	if($forum != "mater" && $forum != "baby" && $forum != "kids" && $forum != "junior") {
		document.write("<a href='./bbspost.php?bbs="+$forum+"&max="+$max+"&reference="+$reference+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image5','','images/ibox_new_btnr.gif',1)\"><img name='Image5' border='0' src='images/ibox_new_btn.gif' width='259' height='59'></a><br>");
	}
}

// iBOX リンク選択しているものを除外する
function iBOXLinkView($bbs,$max){
	if($bbs != "sumai") document.write("<td><a href='./bbs.php?bbs=sumai&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image180','','../../forum/img/ibox/forum/box1a.gif',1)\"><img name='Image180' border='0' src='../../forum/img/ibox/forum/box1.gif' width='62' height='70' alt='住まいBOX'></a></td>");
	if($bbs != "eat") document.write("<td><a href='./bbs.php?bbs=eat&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image181','','../../forum/img/ibox/forum/box2a.gif',1)\"><img name='Image181' border='0' src='../../forum/img/ibox/forum/box2.gif' width='62' height='70' alt='食事BOX'></a></td>");
	if($bbs != "situke") document.write("<td><a href='./bbs.php?bbs=situke&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image182','','../../forum/img/ibox/forum/box3a.gif',1)\"><img name='Image182' border='0' src='../../forum/img/ibox/forum/box3.gif' width='62' height='70' alt='しつけBOX'></a></td>");
	if($bbs != "naki") document.write("<td><a href='./bbs.php?bbs=naki&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image183','','../../forum/img/ibox/forum/box4a.gif',1)\"><img name='Image183' border='0' src='../../forum/img/ibox/forum/box4.gif' width='62' height='70' alt='泣きBOX'></a></td>");
	if($bbs != "nemuri") document.write("<td><a href='./bbs.php?bbs=nemuri&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image184','','../../forum/img/ibox/forum/box5a.gif',1)\"><img name='Image184' border='0' src='../../forum/img/ibox/forum/box5.gif' width='62' height='70' alt='眠りBOX'></a></td>");
	if($bbs != "odekake") document.write("<td><a href='./bbs.php?bbs=odekake&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image185','','../../forum/img/ibox/forum/box6a.gif',1)\"><img name='Image185' border='0' src='../../forum/img/ibox/forum/box6.gif' width='62' height='70' alt='おでかけBOX'></a></td>");
	if($bbs != "ofuro") document.write("<td><a href='./bbs.php?bbs=ofuro&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image186','','../../forum/img/ibox/forum/box7a.gif',1)\"><img name='Image186' border='0' src='../../forum/img/ibox/forum/box7.gif' width='62' height='70' alt='お風呂BOX'></a></td>");
	if($bbs != "oppai") document.write("<td><a href='./bbs.php?bbs=oppai&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image187','','../../forum/img/ibox/forum/box8a.gif',1)\"><img name='Image187' border='0' src='../../forum/img/ibox/forum/box8.gif' width='62' height='70' alt='おっぱいBOX'></a></td>");
	if($bbs != "asobi") document.write("<td><a href='./bbs.php?bbs=asobi&max="+$max+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image188','','../../forum/img/ibox/forum/box10a.gif',1)\"><img name='Image188' border='0' src='../../forum/img/ibox/forum/box10.gif' width='65' height='70' alt='あそび'></a></td>");
}


function ForumColor($bbs,$speak_title){
	if($bbs == "mater") document.write("<table bgcolor='#FFC6B6' width='665' cellpadding='0' border='0' cellspacing='0'>");
	else if($bbs == "baby") document.write("<table bgcolor='#FFC85E' width='665' cellpadding='0' border='0' cellspacing='0'>");
	else if($bbs == "kids") document.write("<table bgcolor='#AEE371' width='665' cellpadding='0' border='0' cellspacing='0'>");
	else if($bbs == "junior") document.write("<table bgcolor='#B6DCFF' width='665' cellpadding='0' border='0' cellspacing='0'>");
	else document.write("<table bgcolor='#FFC6B6' width='665' cellpadding='0' border='0' cellspacing='0'>");

	document.write("<tr><td width='19' valign='top'>");

	if($bbs == "mater") document.write("<img src='../../forum/images/toko/mater_obi01.gif' width='19' height='36'>");
	else if($bbs == "baby") document.write("<img src='../../forum/images/toko/baby_obi01.gif' width='19' height='36'>");
	else if($bbs == "kids") document.write("<img src='../../forum/images/toko/kids_obi01.gif' width='19' height='36'>");
	else if($bbs == "junior") document.write("<img src='../../forum/images/toko/junior_obi01.gif' width='19' height='36'>");
	else document.write("<img src='./images/toko/mater_obi01.gif' width='19' height='36'>");

	document.write("</td><td class='speak_title'>"+$speak_title+"</td><td width='144' align='right' valign='top'>");
}

function ForumPostButton($bbs,$speak_title,$bbsname,$speak_id,$ref_no,$ref_level,$max,$page,$reference,$ym,$day){
	//if($bbs == "mater") document.write("<a href='./bbscpost.php?bbs="+$bbsname+"&sid="+$speak_id+"&ref_no="+$ref_no+"&ref_level="+$ref_level+"&max="+$max+"&page="+$page+"&reference="+$reference+"&ym="+$ym+"&day="+$day+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image12','','../../forum/images/toko/mater_obi02r.gif',1)\"><img name='Image12' src='../../forum/images/toko/mater_obi02.gif' border='0' width='144' height='36'></a>");
	//else if($bbs == "baby") document.write("<a href='./bbscpost.php?bbs="+$bbsname+"&sid="+$speak_id+"&ref_no="+$ref_no+"&ref_level="+$ref_level+"&max="+$max+"&page="+$page+"&reference="+$reference+"&ym="+$ym+"&day="+$day+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image12','','../../forum/images/toko/baby_obi02r.gif',1)\"><img name='Image12' src='../../forum/images/toko/baby_obi02.gif' border='0' width='144' height='36'></a>");
	//else if($bbs == "kids") document.write("<a href='./bbscpost.php?bbs="+$bbsname+"&sid="+$speak_id+"&ref_no="+$ref_no+"&ref_level="+$ref_level+"&max="+$max+"&page="+$page+"&reference="+$reference+"&ym="+$ym+"&day="+$day+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image12','','../../forum/images/toko/kids_obi02r.gif',1)\"><img name='Image12' src='../../forum/images/toko/kids_obi02.gif' border='0' width='144' height='36'></a>");
	//else if($bbs == "junior") document.write("<a href='./bbscpost.php?bbs="+$bbsname+"&sid="+$speak_id+"&ref_no="+$ref_no+"&ref_level="+$ref_level+"&max="+$max+"&page="+$page+"&reference="+$reference+"&ym="+$ym+"&day="+$day+"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image12','','../../forum/images/toko/junior_obi02r.gif',1)\"><img name='Image12' src='../../forum/images/toko/junior_obi02.gif' border='0' width='144' height='36'></a>");
}


function ForumColor2($bbs){
	if($bbs == "mater") document.write("<img src='../../forum/images/toko/mater_re_tr.gif' width='665' height='12'></td>");
	else if($bbs == "baby") document.write("<img src='../../forum/images/toko/baby_re_tr.gif' width='665' height='12'></td>");
	else if($bbs == "kids") document.write("<img src='../../forum/images/toko/kids_re_tr.gif' width='665' height='12'></td>");
	else if($bbs == "junior") document.write("<img src='../../forum/images/toko/junior_re_tr.gif' width='665' height='12'></td>");

	document.write("</tr><tr>");
	if($bbs == "mater") document.write("<td background='../../forum/images/toko/mater_re_tr.gif' width='1'><img src='../img/space.gif' width='1' height='100%'></td>");
	else if($bbs == "baby") document.write("<td background='../../forum/images/toko/baby_re_tr.gif' width='1'><img src='../img/space.gif' width='1' height='100%'></td>");
	else if($bbs == "kids") document.write("<td background='../../forum/images/toko/kids_re_tr.gif' width='1'><img src='../img/space.gif' width='1' height='100%'></td>");
	else if($bbs == "junior") document.write("<td background='../../forum/images/toko/junior_re_tr.gif' width='1'><img src='../img/space.gif' width='1' height='100%'></td>");
}

function ForumColor4($bbs){
	if($bbs == "mater") document.write("<td background='../../forum/images/toko/mater_re_tr.gif' width='1'><img src='./img/space.gif' width='1' height='100%'></td>");
	else if($bbs == "baby") document.write("<td background='../../forum/images/toko/baby_re_tr.gif' width='1'><img src='./img/space.gif' width='1' height='100%'></td>");
	else if($bbs == "kids") document.write("<td background='../../forum/images/toko/kids_re_tr.gif' width='1'><img src='./img/space.gif' width='1' height='100%'></td>");
	else if($bbs == "junior") document.write("<td background='../../forum/images/toko/junior_re_tr.gif' width='1'><img src='./img/space.gif' width='1' height='100%'></td>");

	document.write("</tr><tr><td colspan='3'>");

	if($bbs == "mater") document.write("<img src='../../forum/images/toko/mater_re_bottom.gif' width='665' height='12'>");
	else if($bbs == "baby") document.write("<img src='../../forum/images/toko/baby_re_bottom.gif' width='665' height='12'>");
	else if($bbs == "kids") document.write("<img src='../../forum/images/toko/kids_re_bottom.gif' width='665' height='12'>");
	else if($bbs == "junior") document.write("<img src='../../forum/images/toko/junior_re_bottom.gif' width='665' height='12'>");
}

function InputPostColorHandle($bbs,$handle){
	if($bbs == "mater") document.write("<input type='text' name='handle' value='"+$handle+"' size='25' maxlength='20' height='18' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FFFFFF;border:1 dotted #FCB38B;\" onFocus=\"this.style.backgroundColor='#FEFAF8'\" onBlur=\"this.style.backgroundColor='#FFFFFF'\">");
	else if($bbs == "baby") document.write("<input type='text' name='handle' value='"+$handle+"' size='25' maxlength='20' height='18' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FFFFFF;border:1 dotted #FFBE52;\" onFocus=\"this.style.backgroundColor='#FEFBF3'\" onBlur=\"this.style.backgroundColor='#FFFFFF'\">");
	else if($bbs == "kids") document.write("<input type='text' name='handle' value='"+$handle+"' size='25' maxlength='20' height='18' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FFFFFF;border:1 dotted #9ED55E;\" onFocus=\"this.style.backgroundColor='#F8FEF2'\" onBlur=\"this.style.backgroundColor='#FFFFFF'\">");
	else if($bbs == "junior") document.write("<input type='text' name='handle' value='"+$handle+"' size='25' maxlength='20' height='18' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FFFFFF;border:1 dotted #A3CFFF;\" onFocus=\"this.style.backgroundColor='#F7FAFE'\" onBlur=\"this.style.backgroundColor='#FFFFFF'\">");
}
function InputPostColorSpeakTitle($bbs,$speak_title){
	if($bbs == "mater") document.write("<input type='text' name='speak_title' value='"+$speak_title+"' size='52' maxlength='40' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FFFFFF;border:1 dotted #FCB38B;\" onFocus=\"this.style.backgroundColor='#FEFAF8'\" onBlur=\"this.style.backgroundColor='#FFFFFF'\">");
	else if($bbs == "baby") document.write("<input type='text' name='speak_title' value='"+$speak_title+"' size='52' maxlength='40' height='18' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FFFFFF;border:1 dotted #FFBE52;\" onFocus=\"this.style.backgroundColor='#FEFBF3'\" onBlur=\"this.style.backgroundColor='#FFFFFF'\">");
	else if($bbs == "kids") document.write("<input type='text' name='speak_title' value='"+$speak_title+"' size='52' maxlength='40' height='18' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FFFFFF;border:1 dotted #9ED55E;\" onFocus=\"this.style.backgroundColor='#F8FEF2'\" onBlur=\"this.style.backgroundColor='#FFFFFF'\">");
	else if($bbs == "junior") document.write("<input type='text' name='speak_title' value='"+$speak_title+"' size='52' maxlength='40' height='18' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FFFFFF;border:1 dotted #A3CFFF;\" onFocus=\"this.style.backgroundColor='#F7FAFE'\" onBlur=\"this.style.backgroundColor='#FFFFFF'\">");
}

function InputPostColorSubmit($bbs){
	if($bbs == "mater"){
		document.write("<input type='submit' value=' 投稿 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FCB38B;border:1 dotted #FCB38B;\" onFocus=\"this.style.backgroundColor='#FCB38B'\" onBlur=\"this.style.backgroundColor='#FCB38B'\">　");
		document.write("<input type='reset' value=' 取消 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FCB38B;border:1 dotted #FCB38B;\" onFocus=\"this.style.backgroundColor='#FCB38B'\" onBlur=\"this.style.backgroundColor='#FCB38B'\">");
	}else if($bbs == "baby"){
		document.write("<input type='submit' value=' 投稿 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FCD38B;border:1 dotted #FCD38B'\" onFocus=\"this.style.backgroundColor='#FCD38B'\" onBlur=\"this.style.backgroundColor='#FCB38B'\">　");
		document.write("<input type='reset' value=' 取消 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FCD38B;border:1 dotted #FCD38B'\" onFocus=\"this.style.backgroundColor='#FCD38B'\" onBlur=\"this.style.backgroundColor='#FCB38B'\">");
	}else if($bbs == "kids"){
		document.write("<input type='submit' value=' 投稿 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#AEE371;border:1 dotted #9ED55E;\" onFocus=\"this.style.backgroundColor='#AEE371'\" onBlur=\"this.style.backgroundColor='#9ED55E'\">　");
		document.write("<input type='reset' value=' 取消 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#AEE371;border:1 dotted #9ED55E;\" onFocus=\"this.style.backgroundColor='#AEE371'\" onBlur=\"this.style.backgroundColor='#9ED55E'\">");
	}else if($bbs == "junior"){
		document.write("<input type='submit' value=' 投稿 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#B6DDFF;border:1 dotted #A3CFFF;\" onFocus=\"this.style.backgroundColor='#B6DDFF'\" onBlur=\"this.style.backgroundColor='#A3CFFF'\">　");
		document.write("<input type='reset' value=' 取消 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#B6DDFF;border:1 dotted #A3CFFF;\" onFocus=\"this.style.backgroundColor='#B6DDFF'\" onBlur=\"this.style.backgroundColor='#A3CFFF'\">");
	}
}


function InputPostColorSubmit01($bbs){
	if($bbs == "mater") document.write("<input type='submit' value=' 修正 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FCB38B;border:1 dotted #FCB38B;\" onFocus=\"this.style.backgroundColor='#FCB38B'\" onBlur=\"this.style.backgroundColor='#FCB38B'\">　");
	else if($bbs == "baby") document.write("<input type='submit' value=' 修正 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FCD38B;border:1 dotted #FCD38B'\" onFocus=\"this.style.backgroundColor='#FCD38B'\" onBlur=\"this.style.backgroundColor='#FCB38B'\">　");
	else if($bbs == "kids") document.write("<input type='submit' value=' 修正 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#AEE371;border:1 dotted #9ED55E;\" onFocus=\"this.style.backgroundColor='#AEE371'\" onBlur=\"this.style.backgroundColor='#9ED55E'\">　");
	else if($bbs == "junior") document.write("<input type='submit' value=' 修正 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#B6DDFF;border:1 dotted #A3CFFF;\" onFocus=\"this.style.backgroundColor='#B6DDFF'\" onBlur=\"this.style.backgroundColor='#A3CFFF'\">　");
}

function InputPostColorSubmit02($bbs){
	if($bbs == "mater") document.write("<input type='submit' value=' 投稿 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FCB38B;border:1 dotted #FCB38B;\" onFocus=\"this.style.backgroundColor='#FCB38B'\" onBlur=\"this.style.backgroundColor='#FCB38B'\">　");
	else if($bbs == "baby") document.write("<input type='submit' value=' 投稿 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#FCD38B;border:1 dotted #FCD38B'\" onFocus=\"this.style.backgroundColor='#FCD38B'\" onBlur=\"this.style.backgroundColor='#FCB38B'\">　");
	else if($bbs == "kids") document.write("<input type='submit' value=' 投稿 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#AEE371;border:1 dotted #9ED55E;\" onFocus=\"this.style.backgroundColor='#AEE371'\" onBlur=\"this.style.backgroundColor='#9ED55E'\">　");
	else if($bbs == "junior") document.write("<input type='submit' value=' 投稿 ' style=\"font-family:ＭＳ Ｐゴシック;font-size:11pt;color:#666666;background-color:#B6DDFF;border:1 dotted #A3CFFF;\" onFocus=\"this.style.backgroundColor='#B6DDFF'\" onBlur=\"this.style.backgroundColor='#A3CFFF'\">　");
}

function outputForumName($bbs){
	if($bbs == "mater") document.write("マタニティフォーラム");
	else if($bbs == "baby") document.write("ベビーフォーラム");
	else if($bbs == "kids") document.write("キッズフォーラム");
	else if($bbs == "junior") document.write("ジュニアフォーラム");
	else if($bbs == "sumai") document.write("住まい");
	else if($bbs == "eat") document.write("食事");
	else if($bbs == "ofuro") document.write("おふろ");
	else if($bbs == "situke") document.write("しつけ");
	else if($bbs == "asobi") document.write("あそび");
	else if($bbs == "nemuri") document.write("眠り");
	else if($bbs == "naki") document.write("泣き");
	else if($bbs == "odekake") document.write("おでかけ");
	else if($bbs == "oppai") document.write("おっぱい");
	else if($bbs == "sonota") document.write("その他");
}

function subnavi_map($bbs) {
	if($bbs == "sumai") document.write("<map name='sumai' id='sumai'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='655,37,656,58,730,60,729,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='577,37,578,58,652,60,651,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='497,38,498,59,572,61,571,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='417,38,418,59,492,61,491,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='341,38,341,60,412,60,412,39' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='261,38,262,59,336,61,335,39' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='182,38,183,59,257,61,256,39' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='103,38,104,59,178,61,177,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='7,47,17,75,112,31,101,2' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "eat") document.write("<map name='eat' id='eat'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='655,37,656,58,730,60,729,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='577,37,578,58,652,60,651,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='497,38,498,59,572,61,571,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='417,38,418,59,492,61,491,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='84,48,96,74,191,29,178,3' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='260,38,261,59,335,61,334,39' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='183,39,183,58,256,60,256,39' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='338,38,339,59,413,61,412,39' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='6,37,7,58,81,60,80,38' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "ofuro") document.write("<map name='ofuro' id='ofuro'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='655,37,656,58,730,60,729,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='577,37,578,58,652,60,651,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='497,38,498,59,572,61,571,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='417,38,418,59,492,61,491,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='163,47,177,73,273,29,260,5' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='339,37,340,58,414,60,413,38' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='260,37,261,58,335,60,334,38' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='87,38,88,59,162,61,161,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='6,37,7,58,81,60,80,38' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "situke") document.write("<map name='situke' id='situke'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='655,37,656,58,730,60,729,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='577,37,578,58,652,60,651,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='497,38,498,59,572,61,571,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='417,38,418,59,492,61,491,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='242,47,256,73,352,29,339,5' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='340,37,341,58,415,60,414,38' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='166,37,167,58,241,60,240,38' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='87,38,88,59,162,61,161,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='6,37,7,58,81,60,80,38' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "asobi") document.write("<map name='asobi' id='asobi'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='655,37,656,58,730,60,729,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='577,37,578,58,652,60,651,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='497,38,498,59,572,61,571,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='417,38,418,59,492,61,491,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='320,47,334,73,430,29,417,5' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='245,38,246,59,320,61,319,39' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='166,37,167,58,241,60,240,38' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='87,38,88,59,162,61,161,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='6,37,7,58,81,60,80,38' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "nemuri") document.write("<map name='nemuri' id='namuri'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='655,37,656,58,730,60,729,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='577,37,578,58,652,60,651,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='497,38,498,59,572,61,571,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='323,38,324,59,398,61,397,39' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='399,47,413,73,509,29,496,5' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='245,38,246,59,320,61,319,39' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='166,37,167,58,241,60,240,38' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='87,38,88,59,162,61,161,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='6,37,7,58,81,60,80,38' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "naki") document.write("<map name='naki' id='naki'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='655,37,656,58,730,60,729,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='577,37,578,58,652,60,651,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='325,38,326,59,400,61,399,39' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='403,38,404,59,478,61,477,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='479,46,493,72,589,28,576,4' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='245,38,246,59,320,61,319,39' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='166,37,167,58,241,60,240,38' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='87,38,88,59,162,61,161,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='6,37,7,58,81,60,80,38' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "odekake") document.write("<map name='odekake' id='odekake'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='655,37,656,58,730,60,729,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='323,38,324,59,398,61,397,39' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='479,38,480,59,554,61,553,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='402,38,403,59,477,61,476,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='556,46,570,72,666,28,653,4' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='245,38,246,59,320,61,319,39' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='166,37,167,58,241,60,240,38' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='87,38,88,59,162,61,161,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='6,37,7,58,81,60,80,38' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "oppai") document.write("<map name='oppai' id='oppai'><area shape='poly' coords='735,38,736,59,810,61,809,39' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='323,38,324,59,398,61,397,39' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='558,37,559,58,633,60,632,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='480,38,481,59,555,61,554,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='402,38,403,59,477,61,476,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='637,46,651,72,747,28,734,4' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='245,38,246,59,320,61,319,39' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='166,37,167,58,241,60,240,38' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='87,38,88,59,162,61,161,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='6,37,7,58,81,60,80,38' href='bbs.php?bbs=sumai&max=40'></map>");
	else if($bbs == "sonota") document.write("<map name='sonota' id='sonota'><area shape='poly' coords='633,37,634,58,708,60,707,38' href='bbs.php?bbs=oppai&max=40'><area shape='poly' coords='555,37,556,58,630,60,629,38' href='bbs.php?bbs=odekake&max=40'><area shape='poly' coords='478,38,479,59,553,61,552,39' href='bbs.php?bbs=naki&max=40'><area shape='poly' coords='398,38,399,59,473,61,472,39' href='bbs.php?bbs=nemuri&max=40'><area shape='poly' coords='317,37,318,58,392,60,391,38' href='bbs.php?bbs=asobi&max=40'><area shape='poly' coords='707,47,721,73,817,29,804,5' href='bbs.php?bbs=sonota&max=40'><area shape='poly' coords='241,38,242,59,316,61,315,39' href='bbs.php?bbs=situke&max=40'><area shape='poly' coords='162,37,163,58,237,60,236,38' href='bbs.php?bbs=ofuro&max=40'><area shape='poly' coords='83,38,84,59,158,61,157,39' href='bbs.php?bbs=eat&max=40'><area shape='poly' coords='2,37,3,58,77,60,76,38' href='bbs.php?bbs=sumai&max=40'></map>");
}

-->

