Forum Moderators: open
The location.replace() method does just what it sounds like, it REPLACES the current location's address in the history instead of adding a new one. That leaves the back button in an intuitive state for any kind of quick redirect. Handy in your situation, browser or resoilution sniffing, etc.
location.replace("alternate_page.html")