How do I control the behavior of window.location in Javascript?
<p>At the bottom of my page I have window.location = ...</p>

<p>I wish my page (let's call it jspage) to load, and then only once everything is fully loaded do the redirect.  At the moment I get "stuck" on the referring page while jspage is processing, then jspage flashes up for a tiny instant and I am redirected</p>
