// 電光! v.5.20(Free soft) // 無断転載及び不正使用禁止 // Last Modified:2003/10/03 // Copyright (C) 2001 suepon , All rights reserved. // http://CGIScriptMarket.com/ str = new Array(); str[0] = "20061012234412,是非これから使わせてください(*δωδ*),MADONNA,,plaza.rakuten.co.jp/madonna6/,,,,#000000,#00ff00"; str[1] = "20060903171801,BBSを新しくしました。利用して下さい,terachan,,,,,,#ffffcc,#0000ff"; str[2] = "20060416115656,今まで投稿の仕方がわかりませんでした。いまやっと開くことが出来ました。よろしくお願いします,佐藤 幸子,sachi215@w9.dion.ne.jp,,,,,#ffff33,#990000"; str[3] = "20060416115439,ニャンコ顔アニがあまりにカワイイのでブログで使わせていただくことはだめなんでしょうか?,佐藤 幸子,sachi215@w9.dion.ne.jp,,,,,#ffff33,#990000"; str[4] = "20060326062002,ネコ大好きなフリー素材屋です,terachan,,,,,,#ffccff,#3300ff"; str[5] = "20051112135920,好評>>あびやチャットWAIWAI!,terachan,,abiyachat.sakura.ne.jp/,,,,#33ffff,#000000"; BUF = ''; def_background = "#000000"; def_color = "#00ff00"; memo = new Image(); memo.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/memo.gif"; skip = new Image(); skip.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/skip.gif"; home0 = new Image(); home0.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/home_off.gif"; home1 = new Image(); home1.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/home.gif"; mail0 = new Image(); mail0.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/mail_off.gif"; mail1 = new Image(); mail1.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/mail.gif"; atmt0 = new Image(); atmt0.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/atmt_off.gif"; atmt1 = new Image(); atmt1.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/atmt.gif"; image = new Image(); image.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/image.gif"; rvrs0 = new Image(); rvrs0.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/reverse0.gif"; rvrs1 = new Image(); rvrs1.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/reverse1.gif"; res0 = new Image(); res0.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/res_off.gif"; res1 = new Image(); res1.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/res1.gif"; res2 = new Image(); res2.src = "http://www5b.biglobe.ne.jp/~terachan/denkoh/image/res2.gif"; var id1; var id2; a = b = file = ""; c = new Array(); home = mail = revinf = st_val = re = re_sw = no = 0; max = 5; function denkoh(mode) { if (mode == 2 && re+10 >= a.length) re = 0; if (mode == 2 && re < 0) re = a.length - 11; if (mode && re+10 < a.length && re >= 0) { b = a[re+10].split("<>"); for (i=0; i<10; i++) c[i] = b[i]; if (eval(c[0])) c[0] = " " + c[0].substring(4,6) + "/" + c[0].substring(6,8) + "’" + c[0].substring(8,10) + ":" + c[0].substring(10,12); else c[0] = ""; msg = "RE" + no + "-" + (eval(re)+1) + ":" + c[1] + c[0]; re++; tl = 0; } else { re = 0; if (no > max) no = 0; if (no < 0) no = max; a = str[no].split(","); for (i=0; i<10; i++) c[i] = a[i]; if (eval(c[0])) c[0] = " " + c[0].substring(4,6) + "/" + c[0].substring(6,8) + "’" + c[0].substring(8,10) + ":" + c[0].substring(10,12); else c[0] = ""; if (revinf) msg = "OLD-" + (eval(no)+1) + ":" + c[1] + c[0]; else msg = "NEW-" + (eval(no)+1) + ":" + c[1] + c[0]; no++; } document.denkoh_f.name.value = c[2]; if (c[3]) { document.mail.src = mail1.src; mail = c[3]; } else { document.mail.src = mail0.src; mail = ""; } if (c[4]) { document.home.src = home1.src; home = "http://"+c[4]; } else { document.home.src = home0.src; home = ""; } if (a[8]) { document.denkoh_f.inf.style.background = a[8]; document.denkoh_f.name.style.background = a[8]; } else { document.denkoh_f.inf.style.background = def_background; document.denkoh_f.name.style.background = def_background; } if (a[9]) { document.denkoh_f.inf.style.color = a[9]; document.denkoh_f.name.style.color = a[9]; } else { document.denkoh_f.inf.style.color = def_color; document.denkoh_f.name.style.color = def_color; } if (re) document.reinf.src = res2.src; else if (a[10]) { document.reinf.src = res1.src; re_sw = 1; } else { document.reinf.src = res0.src; re_sw = 0; } st(st_val); tl = 0; telop(); } function telop(){ tl += 1; document.denkoh_f.inf.value=msg.substring(0,tl); if(tl <= msg.length && tl > 0) id1 = setTimeout("telop()",50); else id1 = setTimeout("del()",3000); } function del(){ end = msg.length; msg=msg.substring(1,end); document.denkoh_f.inf.value = msg; if(end > 0) id2 = setTimeout("del()",50); else if (re == 0 && re_sw) { re_sw = 0; id2 = setTimeout("re_print()",1500); } else if(re) id2 = setTimeout("denkoh(1)",1500); else id2 = setTimeout("denkoh()",1500); } function mov(sl) { if (sl == 0 && mail) document.location = "mailto:"+mail; else if (sl == 1 && home) window.open(home,"","scrollbars,resizable,toolbar,menubar,location,directories,status"); else return false; } function st(md) { st_val = md; if (md == 1) window.status = "新規投稿/レス記事投稿/記事の削除はこちらから"; else if (md == 2) if (mail) window.status = "mailto:"+mail; else window.status = "メールアドレスの登録はありません"; else if (md == 3) if (home) window.status = home; else window.status = "ホームページの登録はありません"; else if (md == 4) window.status = "次の記事へ"; else if (md == 5) window.status = "前の記事へ"; else if (md == 6) if (file.match(/.gif|.png|.jpg|.jpeg/i)) window.status = "画像【" + file + "】を表示します"; else if (file) window.status = "【" + file + "】のダウンロードが出来ます"; else window.status = "ファイルの登録はありません"; else if (md == 7) if (revinf) window.status = "記事を新着順に並べ替えます(現在投稿順に表示)"; else window.status = "記事を投稿順に並べ替えます(現在新着順に表示)"; else if (md == 8) if (a[9] && re) window.status = "レス記事の表示を終了します"; else if (a[9]) window.status = "レス記事の表示を開始します"; else window.status = "レス記事はありません"; else window.status = ""; } function str_skip(task) { if (id1) clearTimeout(id1); if (id2) clearTimeout(id2); if (re) { if (task < 0) re-=2; denkoh(2); } else { if (task < 0) no-=2; denkoh(); } } function img_view() { if (file && file.match(/.gif|.png|.jpg|.jpeg/i)) { if (navigator.appName.charAt(0,1) == "N") widps = heips = 0; else { widps = 10; heips = 30; } if (wid > screen.width && hei > screen.height-50) { rw = screen.width; rh = screen.height-50; scr = "scrollbars"; } else if (wid > screen.width && hei < screen.height-50) { rw = screen.width; rh = eval(hei) + heips; scr = "scrollbars"; } else if (wid < screen.width && hei > screen.height-50) { rw = eval(wid) + widps + 20; rh = screen.height-50; scr = "scrollbars"; } else { rw = eval(wid) + widps; rh = eval(hei) + heips; scr = ""; } denkoh_viw = window.open('','denkoh_viw','width=100,height=100,resizable,' + scr); denkoh_viw.document.open(); denkoh_viw.document.write("self.focus();self.moveTo(0,0);self.resizeTo(",rw,",",rh,")"); denkoh_viw.document.write("",file,""); denkoh_viw.document.write(""); denkoh_viw.document.write(""); denkoh_viw.document.close(); } else if (file) location.href="./temp/" + file; } function rv() { if (id1) clearTimeout(id1); if (id2) clearTimeout(id2); if (revinf) { revinf = 0; document.rvrs.src = rvrs0.src; } else { revinf = 1; document.rvrs.src = rvrs1.src; } str.reverse(); no = 0; denkoh(); } function array_plus(new_str) { if (id1) clearTimeout(id1); if (id2) clearTimeout(id2); if (new_str.match("<>")) { na = new_str.split(","); for (i in str) { ch = str[i].split(","); if (na[0] == ch[0]) { str[i] = new_str; a = str[i].split(","); no = eval(i) + 1; re = a.length - 11; } } denkoh(1); } else { new_array = new Array(new_str); if (revinf && str[max] != new_array[0]) { max++; str = str.concat(new_array); no = max; } else if (str[0] != new_array[0]) { max++; str = new_array.concat(str); no = 0; } else no = 0; denkoh(); } } function re_print() { if (a[10] && ! re) { if (id1) clearTimeout(id1); if (id2) clearTimeout(id2); denkoh(1); } else if (re) { if (id1) clearTimeout(id1); if (id2) clearTimeout(id2); re = 0; denkoh(); } } function win() { if (eval(a[0])) { if (confirm("記事の新規投稿/レス記事の投稿/記事の削除を行います。\n\nこのまま【OK】をクリックするとメニュー画面を開きます。\n\nレス投稿を選択すると現在表示されている記事に対しての入力画面になります。\n\n別の記事にレスを付けたい場合は【キャンセル】をクリックして\nレスを付けたい記事を表示してから再度アイコンをクリックして下さい。、\n現在の記事へのレス/新規投稿/削除を行う場合は【OK】をクリックして下さい。")) window.open('http://cgi.www5b.biglobe.ne.jp/~terachan/denkoh/denkoh.cgi?mode=menu&no='+a[0],'denkoh_win','width=100,height=100,scrollbars,resizable'); } else window.open('http://cgi.www5b.biglobe.ne.jp/~terachan/denkoh/denkoh.cgi?mode=menu&no='+a[0],'denkoh_win','width=100,height=100,scrollbars,resizable'); } BUF+=''; BUF+='【スキップ】\n前の記事へ移動します'; BUF+='【スキップ】\n次の記事へ移動します'; BUF+=''; BUF+='
'; BUF+=''; BUF+=''; BUF+=''; BUF+=''; BUF+=''; BUF+=''; BUF+=''; BUF+=''; BUF+='

【記事の表示順】\n記事の表示順を逆転します【レス記事の表示/非表示】\nピンク→レス記事有り\n水色→レス記事表示中【メールアドレス】\n色の付いているときは登録有りです【ホームページ】\n色の付いているときは登録有りです.
' document.write(BUF); window.onload = denkoh;