I need to know if you can add a javascript within
my_window.document.write( );
as
my_window.document.write( '<html><head><script type="text/javascript" src="http://somesite.com/xxy.js"></script></head></html>' );
When i add the code as shown above, it gets printed inthe parent window, how do i overcome this, if there's no way to overcome this, please suggest a new technique.
note: i am forced to use a child window in this case. (so its a must)