I didn't think that the browser window title could be changed dynamically like that - IMHO the page must be reloaded first. (I know that content IN the browser window can be changed - preferably with JavaScript, VBScript needs a reload - but the window frame is related to the application that runs on the client machine, and here there could be all sorts of incompatibilities between various platforms!)
If I'm right, you need to pass the user on to a new page or force a reload somehow. Then it is relatively simple to change window title. If I'm wrong, I'll be thrilled to learn something new!
I once did something like this: the first page contained some code which defined a title string. I then passed this as a hidden form variable to the second page (when the visitor clicked on a "Continue!" button). This script started with a piece of VBScript which decoded the hidden variable, something like
<% titlestring = request.query("title"

%>
In the HTML header below, I then set the TITLE attribute with <TITLE><%=titlestring%><\TITLE>
Perhaps this helps?
DrMaggie
---------
"Those who don't know the mistakes of the past won't be able to enjoy it when they make them again in the future."
— Leonard McCoy, MD (in Diane Duane's Doctor's Orders)