function flucht()
{ if (tempo < -24) tempo = -24;
else tempo = tempo - 8;
}
function fallen()
{ if (merke == 0)
{ merke = 1;
window.clearTimeout(abseil);
document.all.faden.height = window.event.y;
}
sphoehe = sphoehe + 15;
if (sphoehe < document.all.Fenster.offsetHeight-120)
{ document.all.spinne.style.top = sphoehe;
window.setTimeout("fallen()",60); }
else
{ sphoehe = - 50; document.all.faden.height = sphoehe;
document.all.spinne.style.top = sphoehe; window.setTimeout("abseilen()",100); }
}
function abseilen()
{ merke = 0;
if(sphoehe > document.all.Fenster.offsetHeight) tempo = -2;
if (sphoehe < -40)
{ tempo = 2;
jetzt = new Date(); start = jetzt.getSeconds() * 15;
if (start < 20) start = 20;
if (start > document.all.Fenster.offsetWidth - 120) start = document.all.Fenster.offsetWidth - 120;
document.all.spinne.style.left = start;
document.all.faden.style.left = start + 21;
}
sphoehe= sphoehe + tempo;
document.all.spinne.style.top = sphoehe;
document.all.faden.height = sphoehe;
abseil = window.setTimeout("abseilen()",80);
}
