Is there functionality in DOM so that on an unload event, the DOM tells me the current browser's anchor position in window.location, etc. I would like to record this in a database so that the next time the user visits the page, it is to the anchor position that was vacated.