<!-- 


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

var work1, work2;


work1  = "<div style='width:70px; border: 1px #000000 dashed; background: #FAFAFF'><table><tr><td align='center'><font size='2'><a href='javascript:show();'>一覧表示</a></font></td></tr></table></div>";
work2  = "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>Twitterで時折つぶやいています。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;05/30 09:38</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>ホームページを無料サーバからサーバをプロバイダに切り替えました。→http://webs.to/lipris<br>→http://webs.to/prudence</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;05/08 22:31</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>昨年末にネット回線をフレッツ光に変えました。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;01/17 22:39</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>5月に入って旧プロバイダの資源にアクセスできなくなった。4月中にアクセスできてたのは経過措置だったもよう。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;05/02 21:27</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>モバイルPCの無線接続もOK！あとはモバイルPC用の電源も確保できれば完璧。新たにACアダプタだけ買うことにしようか。移動する度にうちのを外して持ち運ぶのは面倒。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;04/14 19:10</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>ADSL環境に無線ルータを持ち込み。これでフレッツ接続ツールの煩わしさからも解放された。あとモバイルPCの無線接続を確立すればひとだんらく。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;04/14 17:47</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>以前CATVのネットサービスで開設していたホームページ・コンテンツがまだ生きている。メールボックスにもアクセスできる。しかしモバイルアクセスサービスは使えない。予定通り4月に入って解約されてはいるようだが，なんだか宙ぶらりんな感じ。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;04/06 21:48</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>会社帰りに森八で『ふわふわもちご』を買った。ほんとに『ふわふわ』だった(笑)店頭でケース越しに見た目以上に大きくて，食べ応えあり。なにぶん『ふわふわ』なのでズッシリくる食べ応えではないが。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;04/06 21:43</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>今朝の積雪には参りました。車は控えて電車通勤。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;04/04 22:10</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>昨日は金沢までJRで往復4時間半余り。おかげで『数学的にありえない』上巻を読み返すこともできた(笑)これでようやく下巻に着手できる。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;04/03 20:46</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>認証の必要なページに入るときにエラーになるもよう。無線ルーターに何かフィルタがかかってるんだろう。ヒマをみてぼちぼち設定を見直してみようか。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris（管理人）&nbsp;&nbsp;03/29 18:34</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>WEBアクセスの不順はどうやらウチのネット環境のせいのようだ。mixiの日記が書き込めないのもそのせいかもしれない。WEB上のサーバとのやりとり（confirm）に問題が生じるもよう。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris（管理人）&nbsp;&nbsp;03/29 11:42</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>ANAのWEBサイトにアクセスできない状態が続いている。何？能登の地震とは関係ないよね？</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris（管理人）&nbsp;&nbsp;03/28 21:16</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>昨晩帰省しました。帰省早々に雪の歓迎を受けてしまいました(笑)</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris（管理人）&nbsp;&nbsp;12/29 09:54</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>mixi始めました。姓名をひらがなで検索して見つけてくださいね♪</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris（管理人）&nbsp;&nbsp;12/20 15:52</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'><table width='176'><tr><td align='left'><font size='2' color='#000000'>えー。掲示板をコチラに設けました。どうぞお気軽にご利用ください。<br>※いまさらですが個人情報等は書き込まないようご注意くださいね。</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>Lipris（管理人）&nbsp;&nbsp;12/20 15:39</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<table><tr><td align='center'><div style='width:70px; border:1px #000000 dashed; background: #FAFAFF'><font size='2'><a href='javascript:hide();'>隠す</a></font></div></td></tr></table>";



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

document.write("<div style='width: 185px; background: #FAFAFF'>");
document.write("<table align='canter' width='185'>");
document.write("  <tr>");
document.write("    <td align='center'><hr align='center' width=176 style='color:#000000;'>");
document.write("<font size='2' color='#000000'>sideB 掲示板</font>");
document.write("<br><hr align='center' width=176 style='color:#000000;'></td>");
document.write("  </tr>");
document.write("  <tr align='center'>");
document.write("    <td>");
document.write("      <div style='border: 1px #000000 dashed; width: 176px; background: #FAFAFF'>");
document.write("      <table width='176'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#000000'>Skype名はlipris.sapphireです。</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#6600CC'>Lipris&nbsp;&nbsp;05/30 09:41</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 #000000 dashed; background: #FAFAFF'>");
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/liprisside/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='#000000'>名前&nbsp;&nbsp;</font></td>");
document.write("          <td align='left' width='133'>");
document.write("            <input type='text' name='name' style='width:133px'></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='2' color='#000000'>内容&nbsp;&nbsp;</font></td>");
document.write("          <td align='left' width='133'>");
document.write("            <textarea name='text' rows='4' style='width:133px'></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='#000000'>ぷち掲示板&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;}



-->