winpops = window.open(("yourpage.asp?nickname=<%= nickname %>),"Cheking Password","width=<%= width %>,height=<%= height %>,top=<%= top %>,left=<%= left %>,");
I don't know what you want to do exactly. But here, the script will open a window and send the nickname as a variable. The second parameter is the window title and then I sepcify width, height, etc. from my database parameters.
Then, I ask for the password in that window and submit the form with the nickname and password variable to a page that will check the password like this:
<% If Request("password")=recordset1.Fields.Item("passwo rd").Value Then %>
<% Else %>
<% End If %>
Hope that helps.