2 * @brief Javascript for the display module
5 // Catch the GUID from the URL
6 var itemGuid = window.location.pathname.split("/").pop();
7 var itemGuidSafe = itemGuid.replace(/%.*/, '');
9 $(window).load(function(){
10 // Scroll to the Item by its GUID
11 scrollToItem('item-' + itemGuidSafe);