I need to clear all the HTML code in JavaScript before I use some
parent.document.write(); statements. Is there a .clear or something method to erase all previous code?