i actually posted this yesterday... same applies for vbscript...

that "your browser is trying to close this window" message is because IE added a security feature to prevent javascript from closing your browser without your permission... if the javascript actually created the window.. then it can destroy it.. but if the user opened IE and went to the page... IE will prompt the user if they want to close it.