htmlcode = newWin.document.getElementsByTagName('html')[0].innerHTML;

Printable View