First you need to design the page for the popup window with the questions. The code above should work on all browsers, though it may pop up a warning box. Alternatively, if Perl is available on your host, try here:
Once you have the working page, put in the code "window.close()" in an appropriate event handler (onSubmit for the code above, in the returned page for the FormMail script).
In the page you want to have a popup hyperlink, use this code:
This creates a popup window of www.location,com, height 200px, width 200px.