dude, one is a client side script one is a server side script....
what exactly are you trying to achieve....
I suspect you want a page to come up, pop up a box asking for a name, then use that name for the rest of the processing of the page....
If this is the case your best bet is to do a javascipt pop up initially, use the value entered to submit back to the base page and then process using that info.... so something like... (in psuedo code)
if request.querystring("name")="" then
fname=InputBox("Enter your name:")
MsgBox("Your name is " & fname)
document.location.href=document.location.href & "?name=" & fname
myName = request.querystring("name")
do whatever processing
print out some html