A bad example of the document.write method