<!-- 


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

var work1, work2;


work1  = "<div style='width:70px; border: 1px #FAFAFF 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 #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>7月に入って釣果写真がありませんが、釣れているのでしょうか？それとも天候での問題でしょうか？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>TOTO&nbsp;&nbsp;07/06 19:16</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>今クロはあがってますか？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>釣り師&nbsp;&nbsp;05/11 12:41</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>尺メバルはいつ頃が良いですか？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>尺狙い&nbsp;&nbsp;02/25 17:58</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>尺メバル釣れます<br>まだ時期的に少し早いです</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>船長&nbsp;&nbsp;02/24 20:18</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>尺メバルを狙えるポイントまた実績はありますか？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>尺狙い&nbsp;&nbsp;02/24 18:53</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>無理ですか・・・<br>僕はアラ入ると思うんですがね〜石鯛あれだけ入るなら<br></font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>クエ釣り師&nbsp;&nbsp;02/22 21:14</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>マダイ狙いフカセ<br><br>カゴどちらでも釣れています</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>船長&nbsp;&nbsp;02/21 21:20</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>蓋井でアラ狙い？<br>無理でしょう<br>開拓<br>して見ますか？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>船長&nbsp;&nbsp;02/21 21:19</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>朝マヅメにアラを一度ふたおいで狙って見たいですが船長どうですか？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>クエ釣り師&nbsp;&nbsp;02/21 21:06</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>喫煙者のマナー悪すぎ！！船で吸って海にポイ捨てする輩が多い<br>船に灰皿置いてみては？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>0C&nbsp;&nbsp;02/21 17:58</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>真鯛はフカセでも<br>ジグヘッド（カットテール）でも<br>いれば釣れます。</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>法師&nbsp;&nbsp;02/13 20:04</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>真鯛はふかせで狙った方がいいですか？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>シンゴ&nbsp;&nbsp;02/09 13:23</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>来週の初め位にヒラスズキをルアーで釣りに行きたいのですが、最近の釣果は、どうですか？</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>藤モン&nbsp;&nbsp;02/02 15:40</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>釣万さへ<br>個人的な意見です。クロは、２月中頃まで条件、ポイントにより何とか釣れます。ですが、それなりの食い渋りありますので、ボーズの可能性十分あります。誰も釣果無い時に、価値ある４０ＵＰ目指してみては如何でしょうか？　それ以降は、マダイ、チヌ狙いの方が時期的には良い釣果に恵まれると思いますよ！</font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>まさき&nbsp;&nbsp;01/23 22:43</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'><table width='190'><tr><td align='left'><font size='2' color='#FAFAFF'>クロ？もう釣れないぞ。魚影が薄いフタオイわ<br></font></td></tr><tr><td align='right'><font size='1' color='#dcdcdc'>常連&nbsp;&nbsp;01/20 19:59</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<table><tr><td align='center'><div style='width:70px; border:1px #FAFAFF 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:#FAFAFF;'>");
document.write("<font size='2' color='#FAFAFF'>掲示板</font>");
document.write("<br><hr align='center' width=190 style='color:#FAFAFF;'></td>");
document.write("  </tr>");
document.write("  <tr align='center'>");
document.write("    <td>");
document.write("      <div style='border: 1px #FAFAFF dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FAFAFF'>最近カゴ釣りの人を見かけ興味がでました。竿は何号、ラインは何号使用してますか？</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#dcdcdc'>たけ&nbsp;&nbsp;11/20 20:29</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 #FAFAFF dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FAFAFF'>ヒラスズキあがってますか？</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#dcdcdc'>鈴木ヒラこ&nbsp;&nbsp;10/30 23:29</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 #FAFAFF dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FAFAFF'>ありがとうございます。半夜便とは、９時出港の２便ですね。</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#dcdcdc'>F・スペンサー&nbsp;&nbsp;10/21 06:06</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 #FAFAFF dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FAFAFF'>クロシーズン突入しています。半夜便のほうが確立高いかも？</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#dcdcdc'>常連ひとり&nbsp;&nbsp;10/20 23:31</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 #FAFAFF dashed; width: 190px; background: #000000'>");
document.write("      <table width='190'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#FAFAFF'>何度か蓋井に通っていますが、もうクロの時期でしょうか。</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#dcdcdc'>F・スペンサー&nbsp;&nbsp;10/19 20:30</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 #FAFAFF 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/maru8tanuk/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='#FAFAFF'>名前&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='#FAFAFF'>内容&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='#FAFAFF'>ぷち掲示板&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;}



-->
