 if (shrinkCrumb && shrinkCrumb !== significantCrumb) shrinkingFunction(shrinkCrumb);  if (crumbsAreSmallerThanContainer()) return true; 
} else {   var startIndex = 0; var endIndex = crumbs.childNodes.length - 1; while (startIndex != significantIndex || endIndex != significantIndex) { var startDistance = significantIndex - startIndex; var endDistance = endIndex - significantIndex; if (startDistance >= endDistance) var index = startIndex++; else var index = endIndex--; if (shrinkCrumbAtIndex(index)) return true; } 
        function makeCrumbsSmaller(shrinkingFunction, significantCrumb)        {            if (!significantCrumb)                significantCrumb = (hoveredCrumb || selectedCrumb);            // Look for the significant crumb in reverse order, so if we don't find it the index will be Zero.            // A Zero index is the right most visual position in the breadcrumb.            for (var significantIndex = (crumbs.childNodes.length - 1); significantIndex >= 0; --significantIndex)                if (crumbs.childNodes[significantIndex] === significantCrumb)                    break;            // Shrink crumbs one at a time by applying the shrinkingFunction until the crumbs            // fit in the crumbsContainer or we run out of crumbs to shrink. Crumbs are shrunk            // in order of descending distance from the signifcant crumb, with a tie going            // to crumbs on the left.            var startIndex = 0;            var endIndex = crumbs.childNodes.length - 1;            while (startIndex != significantIndex || endIndex != significantIndex) {                var startDistance = significantIndex - startIndex;                var endDistance = endIndex - significantIndex;                if (startDistance > endDistance) {                    var shrinkCrumb = crumbs.childNodes[startIndex];                    ++startIndex;                } else {                    var shrinkCrumb = crumbs.childNodes[endIndex];                    --endIndex;                }                if (shrinkCrumb && shrinkCrumb !== significantCrumb)                    shrinkingFunction(shrinkCrumb);                if (crumbsAreSmallerThanContainer())                    return true; // No need to compact the crumbs more.            }            // We are not small enough yet, return false so the caller knows.            return false;        }
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/aa21b74d92a40d1545166f101b1a87c3763ecfd3/DocumentPanel.js/clean/WebCore/page/inspector/DocumentPanel.js