Hello again. I've been away from webpage development for some time and just got back into it. I'm trying to synch up words to audio. I know I've forgotten a lot, but I can't figure out why this doesn't work:

Code:
<script>
var lyrics = new Array();
words[0] = "                                              ";
words[1] = "When the hopeless gladened southern climbs return";
words[2] = "Like bended arms decended high they pull the chords of spring.";
words[3] = "Then all creation past forgets the wowes of winter time.";

var timing = new Array();
timing[0] = 3000;
timing[1] = 5000;
timing[2] = 7000;
timing[3] = 9000;

var i = -1
var t
wait(i)

function wait() {
window.clearTimeout(t);
i++
document.write(words[i]);
t=window.setTimeout("wait();",timing[i]);
}
</script>
Can someone please help. And please don't say to set up separate functions. I have 45-50 lines that have to be displayed with different delays.

Thanks.