document.write after document.close reopens document: true
