Additional links:
This is a good warning message about using document.write(). Avoid using document.write() if at all possible.