(I think it's off-topic anyway)
That's an old (javascript 1.2) poor code:
- You would make it clearer and easier to maintain by writing that layer (div) explicitly in html rather than using document.write inside body.
- You don't need to provide netscape navigator 4 support - nobody uses that version
- Nobody uses ie4 as well, "getElementById" has been implemented in ie since version 5.0 so you don't need all those twists with document.all
- It seems to support nn6?, and it doesn't work in firefox.
If you want a fast fix to that crap so it will at least work on ie;
declare pullit variable in the beginning of the script:
change this line
Code:
window.onload=regenerate2
to