var title = prototype.toString().replace(/^\[object (\w*?)(Prototype)?\]$/i, "$1"); 
var title = Object.prototype.toString.call(prototype).replace(/^\[object (\w*?)(Prototype)?\]$/i, "$1"); 
    updateProperties: function()    {        if (!this.views.dom.contentElement.sidebarPanes.properties.expanded)            return;        if (!this.views.dom.contentElement.sidebarPanes.properties.needsUpdate)            return;        this.views.dom.contentElement.sidebarPanes.properties.needsUpdate = false;        var propertiesBody = this.views.dom.contentElement.sidebarPanes.properties.bodyElement;        propertiesBody.removeChildren();        this.views.dom.contentElement.sidebarPanes.properties.sections = [];        if (!this.focusedDOMNode)            return;        for (var prototype = this.focusedDOMNode; prototype; prototype = prototype.__proto__) {            var hasChildren = false;            for (var prop in prototype) {                if (prop === "__treeElementIdentifier")                    continue;                if (!prototype.hasOwnProperty(prop))                    continue;                hasChildren = true;                break;            }            if (!hasChildren)                continue;            var title = prototype.toString().replace(/^\[object (\w*?)(Prototype)?\]$/i, "$1");            var section = new WebInspector.PropertiesSection(title);            section.onpopulate = WebInspector.DOMPropertiesSection.onpopulate(prototype);            propertiesBody.appendChild(section.element);            this.views.dom.contentElement.sidebarPanes.properties.sections.push(section);        }    },
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/9689177892553eeac654041dc90531e61a343f38/ResourcePanel.js/clean/WebCore/page/inspector/ResourcePanel.js