This example opens a new window with a user-specified URL. If the user does not start the URL with http://, the script adds it.