<!-- 


/********** 初期設定 **********/

var work1, work2;


work1  = "<div style='width:70px; border: 1px #FF0000 dashed; background: #000000'><table><tr><td align='center'><font size='2'><a href='javascript:show();'>一覧表示</a></font></td></tr></table></div>";
work2  = "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>明日は全国大会予選。悔いの残らぬように「絆」を大切にして、頑張ります☆</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>いまち兄&nbsp;&nbsp;01/30 11:45</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>今まで練習してきたことを，仲間を信じて悔いのない戦いをしよう☆<br>絶対に勝つぞ！！</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>kounters11　　&nbsp;&nbsp;01/30 00:54</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>フェニックスみんなで、声をだしてはげましあいながら、一つになってがんばるぞと約束できたので、気合をいれてがんばります。監督、坂本コーチよろしくお願います。</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>柴兄&nbsp;&nbsp;01/29 21:41</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>フェニックス<br>スターズ<br>エンジェルスのみんな！<br>みんなの絆で，どんな強敵でも気持ちで負けないように最後まで一緒に戦おう(^_^)v</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>kounters11&nbsp;&nbsp;01/28 21:42</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>スターズは今日は練習がなくて残念でしたね(&gt;_&lt;)<br>土曜日にしっかり練習しようね☆<br>Sきの活躍期待してますよ！<br>３９さんも毎日忙しいですが体には十分気をつけてくださいね☆</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>kounters11&nbsp;&nbsp;01/21 18:41</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>バルキーン手に入りますよ〜に・・・☆<br>ご連絡ありがとうございました。</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>３９&nbsp;&nbsp;01/21 18:14</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>全国大会予選まであと少し。　　　これからの練習を大事にしていきます。</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>いまち兄&nbsp;&nbsp;01/20 20:51</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>お家の方々のお手製です☆　私もおいしくいただきました。　まさに感謝です(^^)/　感謝さんありがとうございました！</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>kounters11&nbsp;&nbsp;01/14 19:48</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>ぶたじるおいしかったです！</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>感謝&nbsp;&nbsp;01/14 10:03</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>N先生年賀状ありがとうございました☆　このブログを見てくださっているとのことでとてもうれしく思います。。　今度の県予選の時にでもお会いしたいです！</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>kounters11　　&nbsp;&nbsp;01/06 17:23</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>卒業まであと３ヶ月だね。。<br>くいの残らないように、いっぱい練習しようね☆<br>Hirokiの成長を楽しみにしています！</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>kounters11&nbsp;&nbsp;01/01 13:21</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>あけまして、おめでとうございます。　今年も勉強もドッジもがんばります。<br></font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>Hiroki　&nbsp;&nbsp;01/01 09:51</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>残り１か月。<br>全力で頑張ろうな☆　Kyouheiの切れのあるシュートが大好きです(^^)/</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>kounters11　　&nbsp;&nbsp;12/31 01:47</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>来年に向けてこれからも頑張ります☆</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>いまち弟&nbsp;&nbsp;12/30 12:40</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FFFFFF'>２６日はあけといてね！オジサンズで頑張ろうな(^^)/</font></td></tr><tr><td align='right'><font size='1' color='#FFFF00'>kounters11　　&nbsp;&nbsp;12/12 21:04</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<table><tr><td align='center'><div style='width:70px; border:1px #FF0000 dashed; background: #000000'><font size='2'><a href='javascript:hide();'>隠す</a></font></div></td></tr></table>";



/********** 書き込み内容5件分表示 **********/

document.write("<div style='width: 200px; background: #000000'>");
document.write("<table align='canter' width='200'>");
document.write("  <tr>");
document.write("    <td align='center'><hr align='center' width=190 style='color:#FF0000;'>");
document.write("<font size='2' color='#FFFFFF'>安徳DBCKプチ掲示板〜質問等いつでもどうぞ〜</font>");
document.write("<br><hr align='center' width=190 style='color:#FF0000;'></td>");
document.write("  </tr>");
document.write("  <tr align='center'>");
document.write("    <td>");
document.write("      <div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FFFFFF'>Ryouhei<br>フェニックスの試合はすごくかっこよかったよ☆<br>応援も本当にありがとう！<br>あと２ヶ月もう一歩「絆」を高めようね！</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#FFFF00'>kounters11&nbsp;&nbsp;02/01 17:24</font><br></td>");
document.write("        </tr>");
document.write("      </table>");
document.write("      </div>");
document.write("      <font size='1'><br></font>");
document.write("      <div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FFFFFF'>スターズ、エンジェルス、ファイト」<br>みんなの（^絆^）/を見せてやれ!!!</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#FFFF00'>Ryohei&nbsp;&nbsp;01/31 10:04</font><br></td>");
document.write("        </tr>");
document.write("      </table>");
document.write("      </div>");
document.write("      <font size='1'><br></font>");
document.write("      <div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FFFFFF'>フェニックスもがんばった！<br>スターズもエンジェルスも自分たちらしく頑張ろう(^^)/</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#FFFF00'>kounters11　　&nbsp;&nbsp;01/31 06:37</font><br></td>");
document.write("        </tr>");
document.write("      </table>");
document.write("      </div>");
document.write("      <font size='1'><br></font>");
document.write("      <div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FFFFFF'>スターズも、エンジェルスも、絆を大切にはげましあってがんばってね。<br><br></font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#FFFF00'>柴兄&nbsp;&nbsp;01/30 20:33</font><br></td>");
document.write("        </tr>");
document.write("      </table>");
document.write("      </div>");
document.write("      <font size='1'><br></font>");
document.write("      <div style='border: 1px #FF0000 dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FFFFFF'>フェニックスもいい試合をしたよ☆<br>スターズもエンジェルスも悔いの残らない試合をしようね！</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#FFFF00'>kounters11&nbsp;&nbsp;01/30 19:46</font><br></td>");
document.write("        </tr>");
document.write("      </table>");
document.write("      </div>");
document.write("      <font size='1'><br></font>");


/********** 一覧表示 **********/

document.write("      <span id='all'>");
document.write("      <div style='width:70px; border: 1px #FF0000 dashed; background: #000000'>");
document.write("      <table>");
document.write("        <tr>");
document.write("          <td align='center'>");
document.write("            <font size='2'><a href='javascript:show();'>一覧表示</a></font></td>");
document.write("        </tr>");
document.write("      </table>");
document.write("      </div>");
document.write("      </span></td>");


/********** 書き込みフォーム表示 **********/

document.write("  </tr>");
document.write("  <tr>");
document.write("    <td align='center'>");
document.write("      <table border='0' cellpadding='0' cellspacing='0'>");
document.write("        <form name='frm' method='POST' action='http://asp.atomicweb.co.jp/id/kounters11/petit_bbs/' target='_blank' onSubmit='return fnc_check(document.frm.name.value)'>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='2' color='#FFFFFF'>名前&nbsp;&nbsp;</font></td>");
document.write("          <td align='left' width='140'>");
document.write("            <input type='text' name='name' style='width:140px'></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='2' color='#FFFFFF'>内容&nbsp;&nbsp;</font></td>");
document.write("          <td align='left' width='140'>");
document.write("            <textarea name='text' rows='4' style='width:140px'></textarea></td>");
document.write("        </tr>");
document.write("        <tr align='right'>");
document.write("          <td colspan='2'>");
document.write("            <input type='submit' value='書き込み'></td>");
document.write("        </tr>");
document.write("        </form>");
document.write("      </table></td>");
document.write("  </tr>");
document.write("  <tr>");
document.write("    <td align='right'>");
document.write("      <font size='1'><br></font><font size='2' color='#FFFFFF'>ぷち掲示板&nbsp;<a href='http://asp.atomicweb.co.jp/' target='_blank'>AtomicASP</a></font></td>");
document.write("  </tr>");
document.write("</table>");
document.write("</div>");


/********** クッキー読み込み **********/

var theData   = "";
var theName   = "AtmMiniBBS=";
var theCookie = document.cookie+";";
var start = theCookie.indexOf(theName);
var end;

if (start != -1){	
	end = theCookie.indexOf(";",start);
	theData = unescape(theCookie.substring(start+theName.length, end));
}
document.frm.name.value = theData;


/********** ファンクション **********/

function fnc_check(name){

	var strName = name;

	if(document.frm.name.value == ""){
		alert("名前を入力してください");
		return false;
	}else if(document.frm.text.value == ""){
		alert("内容を入力してください");
		return false;
	}else{
		var theName  = "AtmMiniBBS";
		var theValue = document.frm.name.value;
		var theDay   = 31;

		setDay = new Date();
		setDay.setTime(setDay.getTime()+(theDay*1000*60*60*24));
		expDay = setDay.toGMTString();
		cook = theName + "="+escape(theValue)+";expires="+expDay;
		document.cookie = cook;
              document.frm.name.value += "　"
              document.frm.text.value += "　"
	}

}

function show(){all.innerHTML = work2;}
function hide(){all.innerHTML = work1;}



-->