// Catch the GUID from the URL
var itemGuid = window.location.pathname.split("/").pop();
+var itemGuidSafe = itemGuid.replace(/%.*/, '');
-$(document).ready(function(){
+$(window).load(function(){
// Scroll to the Item by its GUID
- scrollToItem('item-'+itemGuid);
+ scrollToItem('item-' + itemGuidSafe);
});