Originally Posted by Raymond Cheyne
I suggestion putting your script in the <head>, not the <body>. Beyond that, sorry, I'm not sure.
The only script I know of that needs to go in the head of a web page is the one that tests if the page is about to load inside a frame and which reloads the page outside of the frame. All other scripts run better at the bottom of the page where in most cases you can then remove references to onload and so reduce the chances of script clashes.
Helping others to solve their computer problem at http://www.felgall.com/