I have an asp page with a list of links. Each link opens a new window which points to the same page, lets call it process.asp, and passes its destination URL in the querystring. process.asp logs some info then redirects to the URL in the querystring. The problem is that some links can be email addresses. If the protocol is mailto how can I close the new browser window after the default mail program is launched?