My guess would be that you need to make the whole browser window load
the page. What if you made the link load the whole page (which would
still visually look like the old page), but it then pops up the
document? That way the url would represent the right way to access the
Sometimes Ajax isn't the best option if you want your address bar to
maintain the state of your application.