defined document.write