var new_win = window.open("", "NewWin", 'scrollbars=yes,toolbar=no
This works fine when I go to the page directly via http://server/page1.html
However, if I redirect there using document.location = "page1.html", the window.open(..) returns null.
So I get a null pointer on line 2 at new_win.document.open().
This problem only occurs on IE, on mozilla or firefox, it works fine.
Is there a workaround for this in IE?