var mydocument = document; mydocument.writeln('
'); mydocument.close(true); mydocument.writeln('
');