You don't really have a choice when it comes to opening and closing new windows. For form submissions, you can certainly use the old <input type="submit"/> element and you can just wait to validate the data when the form is submitted instead of doing any of it client-side. You can't really access a lot of browser settings from server-side logic, but you can at least get the user-agent string.
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/