A few things that stand-out immediately are:
Quote:
document.body.onload=CueComment();
|
should be
document.body.onload=CueComment; although it's more usual to attach the handler to
window.
Quote:
Code:
function CueComment(){
while (CueIt == 1){
Rand = math.random()*(CommentList.count);
CueIt = CommentOn[Rand];
}
CommentTwinkle(Rand);
setTimeout('CueComment()',1000)
}
|
Nothing ever sets the value of CueIt to 1.
should be
Math.random()