var AllD,exfav=0;eX=new Date;eX.setTime(eX.getTime()+1000*60*60*24*14);dats=new Array();NB=new Array('none','block');ICONURL='http://tux.thebbs.jp/';nobi=new Array();idn=0;idt='';threadint=(location.pathname.split('/'))[1];function handleHttpResponse(){if(xmlHttp.readyState==4&&xmlHttp.status==200){var xmlDoc=xmlHttp.responseXML;if(xmlDoc.documentElement){var dest=xmlDoc.getElementsByTagName('dest').item(0).firstChild;if(dest!=null && document.getElementById('gr'+idn+idt)){document.getElementById('gr'+idn+idt).title=dest.data.replace(/\s+$/g,"");}}else{document.getElementById('gr'+idn+idt).title='';}}}function gR(n,t){return;idn=n;if(t)idt='-'+t;else idt='';xmlHttp.open('GET','http://'+location.hostname+'/pin/Backnumber?t='+threadint+'&r='+n,true);xmlHttp.onreadystatechange=handleHttpResponse;xmlHttp.send(null);}function getXmlHttpObject(){var xmlhttp;/*@cc_on @*//*@if(@_jscript_version>=5)try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(E){xmlhttp=false;}}@else @*/xmlhttp=false;/*@end @*/if(!xmlhttp&&typeof XMLHttpRequest!='undefined'){try{xmlhttp=new XMLHttpRequest();xmlhttp.overrideMimeType("text/xml"); }catch(e){xmlhttp=false;}}return xmlhttp;}var xmlHttp=getXmlHttpObject();function growth(){document.cookie='IamAdult=1; path=/;';return true;}function tog(a,b){if(document.getElementById){var obja=document.getElementById(a);var objb=document.images[b];if(obja.style.display!='block'){obja.style.display='block';objb.src = ICONURL+'icon/x.gif';objb.alt = 'Close';}else{obja.style.display='none';objb.src = ICONURL+'icon/ox.gif';objb.alt = 'Open';}}}function settog(a,b){if(location.hash.charAt(1)!=a.charAt(0)){tog(a,b);}}function yn(a){mes=new Array('着眼リストに加えますか？\n着眼リストの内容はプロフィールから\n誰でも見られるようになります。','この記事を消去しますか？\n頂いたコメントも全て消去されます。','この画像を消去しますか？','このコメントを消去しますか？','このトラックバックを消去しますか？','本当ですか？\nこの処理が適切であれば、実行します。\n行き過ぎで無いか再度ご一考下さい。');return confirm(mes[a]);}function checkForm(){var frm=document.LoginForm;if(frm.puyo.value=="" || isNaN(frm.puyo.value)){alert("ザ番号を正しく入力してください。");frm.puyo.focus();return false;}return true;}function QoKRD(QName){var dest="";var myQ=QName+"=";var tmpstr=document.cookie+";";var QOfst=tmpstr.indexOf(myQ);if(QOfst!=-1){QStt=QOfst+myQ.length;QEnd=tmpstr.indexOf(";",QStt);dest=tmpstr.substring(QStt,QEnd);}return dest;}function setName(num){var name=QoKRD('N'+num);if(name=='')name=QoKRD('NM');name=unescape(name);if(name.length<12)document.Fm.name.value=name;document.Fm.crypt_moto.value=unescape(QoKRD('CyP'));}function cpcn(a){if(a.checked){document.Fm.name.value=document.Fm.cn.value;document.Fm.name.readOnly=true;}else{document.Fm.name.readOnly=false;}}function pres(){var txt=document.Fm.body.value,n=0;for(var i=0;i<txt.length;i++){if(txt.charAt(i)=="\n")n++}if(n>=60){alert('改行が豊富すぎます、規定量を超えています。\n一度に投稿できるのは60行までです。');return false;}else{document.Fm.sm.disabled=true;return true;}}function helper(){var er;er=window.open(ICONURL+'help.html','','width=410,height=320,scrollbars=yes,location=no,resizable=yes,status=yes');er.focus();}function P(a){window.open(a+'p','Po','width=400,height=350,resizable=1,scrollbars=1,status=1');}function sakuya(){var er;er=window.open('http://bbs.thebbs.jp/pin/Okini','okini','width=620,height=520,scrollbars=yes,location=no,resizable=yes,status=yes');er.focus();window.name='thebbs';return false;}function s_f(a,b){var f=QoKRD('ArArA'),d=new Array('',0),l=0;if(f!=''){var ar=f.split('&');for(var i=0;i<ar.length;i++){var rr=ar[i].split('.');if(++l>200)break;if(!isNaN(rr[0])&&!isNaN(rr[1])&&!isNaN(rr[2])){if(rr[0]==a&&rr[1]==b)d[1]=1;else d[0]+='&'+ar[i];}}}return d;}function butami(s,cid,lv){if(!document.cookie&&!navigator.cookieEnabled)return;var thnum=window.location.pathname.substr(1,10);var f=s_f(cid,thnum);if(s==1 || f[1]==1){var nf=cid+'.'+thnum+'.'+lv+f[0];exp=new Date;exp.setTime(exp.getTime()+1000*60*60*24*180);document.cookie='ArArA='+nf+'; domain=thebbs.jp; path=/; expires='+exp.toGMTString()+';';}if(s==0){document.write(' <span style="font:60% normal;">[');if(f[1]){document.write('気に入り中');}else{document.write('<a href="javascript:butami(1,',cid,',',lv,');">気に入る</a>');}document.write(']</span>');}else sakuya();}function s_d(a){var d=new Array('',0),tm=QoKRD('MoE');if(tm!=''){var ar=tm.split('>'),l=0;for(var i=0;i<ar.length-1;i+=3){if(++l>50)break;if(ar[i]==a)d[1]=1;else d[0]+=ar[i]+'>'+ar[i+1]+'>'+ar[i+2]+'>';}}return d;}function nf404(s,type,ti){var tmp=window.location.hostname.indexOf('.bbs.'),KEY;if(tmp==-1){tmp=window.location.pathname.lastIndexOf('/');KEY=window.location.pathname.substring(tmp+1,window.location.pathname.length);}else{KEY=window.location.hostname.substring(0,tmp);}var f=s_d(KEY);if(!document.cookie&&!navigator.cookieEnabled)return;if(s==1){var nf;if(f[1]==0){nf=KEY+'>'+type+'>'+escape(ti)+'>'+f[0];}else{nf=f[0];}exp=new Date;exp.setTime(exp.getTime()+1000*60*60*24*365);document.cookie='MoE='+nf+'; domain=thebbs.jp; path=/; expires='+exp.toGMTString()+';';}if(s==0){document.write(' <span class=shtc>[<a href="javascript:nf404(1,\'',type,'\',\'',ti,'\');">ショートカット');if(f[1]){document.write('除去');}else{document.write('作成');}document.write('</a>]</span>');}else{location.reload();}}function cg(did){var Tm='',exp;if(document.getElementById){if(dats[did]){dats[did]=0;}else{dats[did]=1;}document.getElementById('d'+did).style.display=NB[dats[did]];for(i=0;i<AllD+exfav;i++){if(dats[i]==1)Tm=Tm+i+'.';}if(Tm=='')exp=-1;else exp=eX.toGMTString();document.cookie='Lfm='+Tm+'; domain=thebbs.jp; path=/; expires='+exp+';';}return false;}function lclose(a){if(document.getElementById){document.getElementById('list1').style.display=(a?'none':'block');document.getElementById('list2').style.display=(a?'block':'none');document.cookie='LiF='+a+'; domain=thebbs.jp; path=/; expires='+eX.toGMTString()+';';}return false;}function Al(fl){var Tm='',exp;if(document.getElementById){for(i=0;i<AllD+exfav;i++){dats[i]=fl;document.getElementById('d'+i).style.display=NB[fl];}if(fl==1){for(i=0;i<AllD+exfav;i++){Tm=Tm+i+'.';}}if(Tm=='')exp=-1;else exp=eX.toGMTString();document.cookie='Lfm='+Tm+'; domain=thebbs.jp; path=/; expires='+exp+';';}}function ptfav(){var tmp;tmp=QoKRD('MoE');if(tmp != ''){var i;Tm=new Array();Tm=tmp.split('>');cate[AllD]=new Array();document.write('<div class=t style="background-color:#888"><a href="javascript:void(0)" onclick="cg(',AllD,');return false;"><img src="',ICONURL,'icon/fav.gif">My Favorite',Tm.length>4?'s':'','</a></div>');for(i=0;i<Tm.length-1;i+=3){cate[AllD][i/3]=Tm[i]+'>'+Tm[i+1]+'>'+unescape(Tm[i+2]);}ptm(AllD);exfav=1;}}function ptm(a){var i;document.write('<div id=d',a,' class=chu style="display:none">');for(i=0;i<cate[a].length;i++){var ic,ur,ta=cate[a][i].split('>');if(ta[1]=='x'){ur='thebbs.jp/d/'+ta[0];ic='d/'+a;}else{ur=ta[0]+'.bbs.thebbs.jp/';ic='m'+ta[1];}document.write('<a href="http://',ur,'"><img src="',ICONURL,'icon/',ic,'.gif">',ta[2],'</a><br>');}document.write('</div>');}function pthm(a){document.write('<div class=t><a href="javascript:void(0)" onclick="return cg(',a,');"><img src="',ICONURL,'icon/d/',a,'.gif" width=13 height=13>',cate[a][0],'</a></div>');cate[a]=cate[a].slice(1);ptm(a);}function ptmenu(){var hos,nam;for(i=0;i<AllD;i++){pthm(i);}document.write('<hr size=1><div style="font-size:90%;">■<a href="http://thebbs.jp/null/monozygotic.html">全カテゴリ一覧</a><br>');/*if(Math.random()<1/2){hos='aun-0';nam='Japaneseチャット';}else{hos='language';nam='英語chat';}document.write('■<a href="http://'+hos+'.bbs.thebbs.jp/Chat">'+nam+'</a>');*/document.write('</div>');}function Sta(){var tmp,i;tmp=QoKRD('LiF');document.write('<div class=dirlefts id=list1 style="display:',(tmp==1)?'none':'block','"><div class=dirleft style="width:150px">');document.write("<div class=ss>[<a href='javascript:void(0);' onclick='Al(1)'>OPEN</a>] [<a href='javascript:void(0);' onclick='Al(0)'>CLOSE</a>]");document.write(' [<a href="javascript:void(0)" onclick="return lclose(1);">X</a>]</div>');if(QoKRD('ArArA')!='')document.write('<div class=t style="background-color:#888"><a href="javascript:void(0)" onclick="return sakuya();">気に入ったリスト</a></div>');ptfav();ptmenu();document.write('</div></div>');document.write('<div class=dirlefts id=list2 style="display:',(tmp==1)?'block':'none','"><div class=dirleft style="font-size:12px;">');document.write('<a href="javascript:void(0)" onclick="return lclose(0);">▼カテゴリMenu</a></div></div>');if(document.referrer=='http://bbs.thebbs.jp/index.html' || document.referrer=='http://bbs.thebbs.jp/bbsmenu.html'){lclose(1);}for(i=0;i<AllD+exfav;i++){dats[i]=0;}if(document.getElementById){tmp=QoKRD('Lfm');Tm=new Array();Tm=tmp.split('.');for(i=0;i<Tm.length-1;i++){if(document.getElementById('d'+Tm[i])){document.getElementById('d'+Tm[i]).style.display='block';dats[Tm[i]]=1;}}}}var cate=new Array(new Array("超常現象・超自然","psychic>0>心霊現象/霊能力","uma>0>未確認生物/物体","charm>0>占術・呪術","esp>0>超能力全般","myth>0>伝説・神話"),new Array("雑談・井戸端","etc-0>0>歓談所","etc-1>0>閑談所","aun>x>馴れ合い・暇人","conference>x>悩み・相談","generation>x>世代別","off>0>オフ会"),new Array("生活","shopping>0>THEショッピング","shimajiro>0>育児・子育て","health>0>THE健康","house>0>住まい・家","nature>0>環境と自然","beauty>x>美容とファッション","gourmet>x>グルメ")/*,new Array("モダン文化","tv>x>テレビ","radio>0>ラジオ/ラヂオ","artiste>x>芸能人","hon>x>本・読書","comics>x>マンガ・コミック","theatricals>0>演劇・ミュージカル","movie>x>映画","magic>0>手品・イリュージョン","pantomime>0>大道芸・曲芸","illustration>0>イラスト・ＣＧ"),new Array("政治/社会","current>0>時事問題議論","government>0>政治全般","crime>0>事件・犯罪","money>0>財テク/税金","biz>0>起業/経営","job>0>勤労と職業","moral>0>倫理・道徳","school>0>学校・教育","religion>0>宗教論・人生論","war>0>戦争・軍事","law>0>THE法律"),new Array("学問","science>x>科学","literature>0>文学","language>0>語学","philosophy>0>哲学","math>0>数学","psychology>0>心理学","medicine>0>医学","economics>0>経済学","logic>0>論理学","history>0>歴史学","archaeology>0>考古学","exam>x>THE受験"),new Array("スポーツ","baseball>x>ベースボール","soccer>x>サッカー","pingpong>0>卓球全般","sport-water>0>水のスポーツ","sport-winter>0>ウィンタースポーツ","sport-basket>0>バスケットボール","sport-fight>0>武道・格闘・K1等","sport-dance>0>ダンス・舞踊","sport-run>0>陸上競技全般","sport-tennis>0>テニス","sport-volleyball>0>バレーボール","sport-bowling>0>ボウリング","sport-golf>0>ゴルフ","sport-ellipse>0>ラグビー","sport-train>0>トレーニング/Fitness","sport-indoor>0>屋内スポーツ全般","sport-etc>0>スポーツ全般"),new Array("ホビーと道楽","hobby-const>0>工作・日曜大工","hobby-handicraft>0>手芸・洋裁","hobby-miniature>0>模型・プラモデル","hobby-quiz>0>なぞなぞ/クイズ/推理","hobby-camera>0>写真・カメラ","hobby-collection>0>THEコレクション","hobby-gun>0>トイガン","hobby-toy>0>おもちゃ・遊具","hobby-luxury>0>タバコとお酒","hobby-rohdea>0>ガーデニング・盆栽","hobby-igo>0>囲碁","hobby-shogi>0>将棋","chage>x>電気機器エレキキキ","fishing>x>フィッシング・釣り","gamble>x>ギャンブル・勝負事"),new Array("観光とエリア情報","hobby-outdoor>0>旅行・アウトドア","themepark>0>遊園地・テーマパーク","bonjour>0>海外旅行・外国","e-0>x>北海道・東北","e-1>x>関東地方","e-2>x>中部地方","e-4>x>近畿地方","e-5>x>中国地方","e-6>x>四国地方","e-7>x>九州・沖縄"),new Array("ゲーム","gamesoft>x>ジャンル別","g-arcade>0>アーケードゲーム","g-board>0>ボードゲーム","g-card>0>カードゲーム","g-pc>0>PCゲーム","g-machine>0>テレビゲーム機"),new Array("生き物","creature-0>0>哺乳類や有袋類","creature-1>0>昆虫・節足動物","creature-2>0>爬虫類・両生類","creature-3>0>鳥類","creature-4>0>観賞魚","creature-5>0>海や川の生き物","creature-6>0>動物愛護","creature-7>0>植物全般","pet>x>ペットな動物"),new Array("乗り物","railway>x>鉄道・電車","car>x>自動四輪","motorcycle>x>自動二輪","v-manpower>0>人力の乗り物","v-ship>0>船/海上の乗り物","v-air>0>飛行機/空飛ぶ乗り物"),new Array("音楽","play>x>演奏","music-0>0>クラシック鑑賞","music-1>0>HIPHOP","music-2>0>ハウス/テクノ","music-3>0>ヴィジュアル","music-4>0>アニメ・ゲーム","music-5>0>HR/HM","music-6>0>パンク","music-7>0>Jazz/BlackMusic","music-8>0>プログレッシブ","music-a>0>オールディーズ","music-b>0>作詞・作曲・編曲","music-c>0>DTM・レコーディング","music-d>0>邦楽全般","music-e>0>洋楽全般"),new Array("コンピュータ","net>x>インターネット","pcsoft>x>ソフトウェア","pchard>x>ハードウェア","prog-etc>0>プログラミング","mobile>0>PDA・モバイル機器","security>0>セキュリティ","flash>0>FLASH"),new Array("アンダーグラウンド","otona4>0>大人のワイ談")*/);AllD=cate.length;