(function (document, $, H5AI) { H5AI.extended = (function () { var initBreadcrumb = function () { var $ul = $("body > nav ul"), pathname = "/", path = H5AI.connector.getPath(pathname), pathnameParts = document.location.pathname.split("/"), lastPart = "", title = document.domain; $ul.append(H5AI.html.updateCrumbHtml(path)); $.each(pathnameParts, function (idx, part) { if (part !== "") { pathname += part + "/"; $ul.append(H5AI.html.updateCrumbHtml(H5AI.connector.getPath(pathname))); lastPart = part + " - "; title += " > " + part; } }); document.title = H5AI.util.checkedDecodeUri(lastPart + title); }, initExtendedView = function () { var $ul, $li; $ul = $("