Make GTOID accessible from javascript and use the SHA method to display the parent link in history.js.