In the javescript I use code like:
window.location.href = "http://example.zomdir.com";
However this code gives a broken backbutton in Internet Explorer 8. After such a redirect and pressing the backbutton the user gets the message "The webpage is expired". To solve this I have coded the redirect like this:
It is a small change, but it fixed the problem.