The "document.write" statement is deprecated in most new doctypes.
However, with a loose (or no) doctype, this should work. Where is the script running? It needs to run in the <HEAD> section of your page.
Give us a link?
Reputation Points: 227
Solved Threads: 37
Made Her Cry
Offline 1,697 posts
since Dec 2004