What are you trying to accomplish? If you could give us some details it might help. Also, you can use document.write once a page loads if you are writing to a container such as a div or span tag, but with the new browers it would be better to using innerHTML or innerTEXT. In NS4 version browsers that was how you added or modified HTML or text.