Forum Moderators: open
If you are adding to an existing page, you'll want to use innerHTML instead of document.write(), but that's another question.