<!-- 


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

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: 143px; background: #FAFAFF'><table width='143'><tr><td align='left'><font size='2' color='#000000'>あ</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>あ&nbsp;&nbsp;11/14 18:08</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 143px; background: #FAFAFF'><table width='143'><tr><td align='left'><font size='2' color='#000000'>blogは<br>http://blog.tamochan.com</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>tamo&nbsp;&nbsp;08/15 09:41</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 143px; background: #FAFAFF'><table width='143'><tr><td align='left'><font size='2' color='#000000'>になりました</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>参考&nbsp;&nbsp;08/02 22:32</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 143px; background: #FAFAFF'><table width='143'><tr><td align='left'><font size='2' color='#000000'>うにゃ</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>＿&nbsp;&nbsp;06/30 16:39</font><br></td></tr></table></div>";
work2 += "<font size='1'><br></font>";
work2 += "<div style='border: 1px #000000 dashed; width: 143px; background: #FAFAFF'><table width='143'><tr><td align='left'><font size='2' color='#000000'>ここにかいてね．</font></td></tr><tr><td align='right'><font size='1' color='#6600CC'>tamo&nbsp;&nbsp;04/26 15:05</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>";



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

document.write("<div style='width: 150px; background: #FAFAFF'>");
document.write("<table align='canter' width='150'>");
document.write("  <tr>");
document.write("    <td align='center'><hr align='center' width=143 style='color:#000000;'>");
document.write("<font size='2' color='#000000'>ぷち掲示板</font>");
document.write("<br><hr align='center' width=143 style='color:#000000;'></td>");
document.write("  </tr>");
document.write("  <tr align='center'>");
document.write("    <td>");
document.write("      <div style='border: 1px #000000 dashed; width: 143px; background: #FAFAFF'>");
document.write("      <table width='143'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#000000'>ぷち掲示板って、始めてみました。ので、テスト。</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#6600CC'>いしかわ&nbsp;&nbsp;12/19 18:12</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 #000000 dashed; width: 143px; background: #FAFAFF'>");
document.write("      <table width='143'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#000000'>I notice that you also get your applications listed in AppStoreHQ. I am interested in exploring how our two companies can work together.<br><br>Headquaters in France, Sofialys is a supplier of mobile advertising and marketing services solutions for apps developpers operators, publishers, adnetworks and marketers.<br><br>Mobile Adbox, the Sofialys ad-server, supports the insertion of multiple iPhone advertising formats such as banners and text ads into mobile Internet, SMS, video and other applications such as Widgets <br><br>Sofialys helps a growing number of partners monetize their mobile inventory by insert innovative and appealing ad formats into their iPhone inventory. Our ad-server currently serves over 150 m impressions and 2 m sponsored links a month across Europe, Asia, Middle East and the US.<br><br>We are looking to expand territories and partners over the next few months. Please let me know if you would like to discuss any new opportunities.<br><br>Patrick NCHO<br>Business Development &amp; Mobile Marketing Assistant<br>SOFIALYS<br>patrick.ncho@sofialys.com<br>www.sofialys.com</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#6600CC'>PATRICK NCHO&nbsp;&nbsp;05/27 18:15</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 #000000 dashed; width: 143px; background: #FAFAFF'>");
document.write("      <table width='143'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#000000'>Japanese News Paperは各サイトを加工して（記事部分のみきりだして）表示しています．この部分は非常にグレーな部分だとと思っていて，私は×だと判断しました．4ch.ではrss交換の機能を備えており，Japanese News Paper同等のrssをゲットすることが（運が良ければ）できるようになっています．</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#6600CC'>tamo&nbsp;&nbsp;12/27 14:56</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 #000000 dashed; width: 143px; background: #FAFAFF'>");
document.write("      <table width='143'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#000000'>Japanese News Paper 非常に期待しています。頑張ってください。<br>ちなみに、Web上に公開されているデータをオフラインに保存するということが著作権侵害になるのでしょうか？有料アプリですでにあるように思いますが、認識違いでしょうか？</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#6600CC'>What!?&nbsp;&nbsp;12/27 08:17</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 #000000 dashed; width: 143px; background: #FAFAFF'>");
document.write("      <table width='143'>");
document.write("        <tr>");
document.write("          <td align='left'>");
document.write("            <font size='2' color='#000000'>Japanese News Paper 非常に期待しています。頑張ってください。<br>ちなみに、Web上に公開されているデータをオフラインに保存するということが著作権侵害になるのでしょうか？有料アプリですでにあるように思いますが、認識違いでしょうか？</font></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td align='right'>");
document.write("            <font size='1' color='#6600CC'>What!?&nbsp;&nbsp;12/27 08:17</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/tamochan/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='105'>");
document.write("            <input type='text' name='name' style='width:105px'></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='105'>");
document.write("            <textarea name='text' rows='4' style='width:105px'></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;}



-->