breadcrump = ""; orgbreadcrump = ""; if(breadcrump > "") { breadcrump += "» " + $.trim(document.title); $(window).bind('hashchange', function() { var hash = window.location.hash.replace(/^#/,''); hash = decodeURIComponent(hash); url = window.location.href.replace(location.hash, ""); if(window.location.hash > "") { hashbreadcrump = orgbreadcrump + "» " + $.trim(document.title) + " » " + hash; } else { hashbreadcrump = orgbreadcrump + "» " + $.trim(document.title) + " » " + hash; } $(".breadcrump").text(""); $(".breadcrump").append(hashbreadcrump); }); $(".breadcrump").append(breadcrump); $(".breadcrump").show(); $("body").css("margin-top", "120px"); if(window.location.hash > "") { window.dispatchEvent(new HashChangeEvent("hashchange")); } }