fontsize=2;   //フォント（文字）サイズ（1-7）
fontfamily='Verdana';   //フォントの種類
fontcolour='#808080';   //フォントカラー
cursorcolour='#C0C0C0';   //カーソルの色
delaybetweenmessages=30;   //次のメッセージまでの間隔
typespeed=110;   //大きい方がゆっくり
containerwidth=430;   //メッセージの幅より長い長さを設定
containerheight=18;   // メッセージを表示する高さ

msg=new Array()
msg[0]="　　：：いつか…また会えたら。：：　　";
msg[1]="あと３日でこのサイトも眠りについてしまいますね。";
msg[2]="　　";  
msg[3]="４年間ここにいました。"; 
msg[4]="ここにいらっしゃる方々のような優れた詩人には、なりきれませんでした。"; 
msg[5]="今読み返してみても、やっぱ自分の言葉はガキだなと思います。苦笑"; 
msg[6]="　　"; 
msg[7]="けど、時々僕の詩に感動してくださった方々がコメントをつけてくれることが"; 
msg[8]="たまらなく嬉しかった。"; 
msg[9]="　　"; 
msg[10]="たくさんの示唆を受けて、たくさんの感情と共に、今の僕がいます。"; 
msg[11]="そしてまよいの森という場所は、今の僕を考える上で欠かせないところです。"; 
msg[12]="　　"; 
msg[13]="ここに辿り着けて良かった。"; 
msg[14]="なるべくしてそうなったのだったら、尚更自分は幸せ者だと思います。"; 
msg[15]="　　"; 
msg[16]="みんな、ありがとう。"; 
msg[17]="詩を書いてきて良かった。"; 
msg[18]="詩を読んできて良かった。"; 
msg[19]="ここに出会えて、ほんとに良かったです。"; 
msg[20]="　　"; 
msg[21]="みんな、ありがとう。"; 
msg[22]="　　　　　"; 


ns=(document.layers);
ie=(document.all);
themessage='';
if (ns)themessage="<layer name=Tns width="+containerwidth+" height="+containerheight+">&nbsp;</layer>";
if (ie){
themessage="<div id='Tie' style='position:relative;"+"width:"+containerwidth+";height:"+containerheight+"'></div>";
}
timer=0;
next=0;
pos=0;
a='/';
b='|';
c=' ';
cursor=a;
fc1="<font face="+fontfamily+" font color="+fontcolour+" size="+fontsize+">";
fc2="<font face="+fontfamily+" font color="+cursorcolour+" size="+fontsize+">";
function Type(){
if (timer == 0) pos++;
if (msg[next].substring(pos-1,pos) == " ") pos++;
if (pos > msg[next].length) {timer++}  
if (timer > delaybetweenmessages) {next++;pos=0;timer=0;cursor=a} 
if (next == msg.length) next=0;
if (timer != 0) {cursor=c} 
if (cursor==a){cursor=b}
else if (cursor==b){cursor=a}
text=msg[next].substring(0,pos);
if (ns){
document.layers.Tns.document.open();
document.layers.Tns.document.write(fc1+''+text+'</font>'+fc2+''+cursor+'</font><br>');
document.layers.Tns.document.close();
}
if (ie){
Tie.innerHTML=fc1+''+text+'</font>'+fc2+''+cursor+'</font>';
}
setTimeout('Type()',typespeed);
}
