You may also want to leave an HTML link to the survey in case the JavaScript fails - "If you are not redirected within 30 seconds, click on this link..."
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.