hey, say that you write code for a new window right?
var newwindow=window.open("about:blank","newwin","navbar");
ok, now we want to write text to the new win right?
newwindow.document.write("Hello World!");
now lets say that we have frames in the new window
newwin.document.write("<html>");
newwin.document.write("<head>");
newwin.document.write("<title>Search Window</title>");
newwin.document.write("</head>");
newwin.document.write("<frameset rows=10%,90%>");
newwin.document.write('<frame src="about:blank" name="topwin">');
newwin.document.write("<frame name=topwin src=" + searchurl + ">");
newwin.document.write("</frameset>");
now we know that the new window has frames, and one of the frames (the bottom frame) has a URL opening into it, but the top, well, has nothing, so we want to write text into it. do you know how to do that?