I am opening a new window using DEWindow.Open
The next window, onload, should display a Document.Title and some page.innertext as soon as possible.
The problem is, I have more script in the page that also needs to run. What happens is, the window opens fine (without a toolbar and such), but the document.title still has the refering page rather than the value I have called from a common.vbs file and the page.innertext are not displayed until after the page has completely executed it's script.
I must use VBSCript to generate the document.title and page.innertext from common.vbs (which I can do, msgboxes confirm i am retrieving the values at the right time).
I cannot program this in the previous (Calling) page.
Possible Solutions tried and failed:
Placing this in a seperate vbscript block at the beggining of the page
Using window_unload function to call this function, then the rest of the script as another function
Any help anyone could provide would be greatly appreciated.