i am trying to call a method that does a document.write() from an onclick on a button. the document.write() is overwriting everyting on the page. i just want to add it to the stuff already on the page. when i call the function by itself (not from the onclick) it appends instead of rewriting. anyone familiar with this? thx