/*http://myako.net/ ako's cyberpage*/
var IE=document.all; var N4=document.layers; var N6=document.getElementById;
var saidaihane=15 //■落ちた時の跳ね返りの回数
function hanetext(){
if (!N6&&!IE&&!N4)
return
COB=(N6)?document.getElementById("otiru").style : IE? document.all.otiru : document.otiru
ST=(IE)? document.body.scrollTop:window.pageYOffset
COB.top=ST-350//■落ちてくる位置　マイナス数が増えるほど高い位置から落ちてきます
COB.visibility=(N6||IE)? "visible":"show"
otihazime=setInterval("otiru()",90) }//■落ちてくる速さ　数を増やすとゆっくり落ちてくる
function otiru(){
ST=(IE)? document.body.scrollTop:window.pageYOffset
if (parseInt(COB.top)<100+ST)
COB.top=parseInt(COB.top)+100//■ここのプラス数を増やすと位置が下に下がります
//■上の「落ちてくる位置」のマイナス数を増やしたらここも適宜増やさないと位置が上がっていってしまいます
else{
clearInterval(otihazime)
hanehayasa=setInterval("haneru()",80) }}//■跳ね返りの速さ　増やすとゆっくり跳ね返る
function haneru(){
COB.top=parseInt(COB.top)-saidaihane
if (saidaihane<0)
saidaihane+=1; saidaihane=saidaihane*-1;
if (saidaihane==0){
clearInterval(hanehayasa) }}
function hanetome(){
if (window.hanehayasa) clearInterval(hanehayasa)
COB.visibility="hidden"}
window.onload=hanetext