if (FBtrace.DBG_PANELS) 																													 /*@explore*/ FBTrace.sysout("chrome.getBestPanelName panelType: "+panelType+" level: "+level+" bestPanel: "+bestPanel+" bestLevel: "+bestLevel+"\n"); /*@explore*/ 
function getBestPanelName(object, context, panelName){    if (!panelName)        panelName = context.panelName;    // Check if the suggested panel name supports the object, and if so, go with it    if (panelName)    {        panelType = Firebug.getPanelType(panelName);        if (panelSupportsObject(panelType, object))            return panelType.prototype.name;    }    // The suggested name didn't pan out, so search for the panel type with the    // most specific level of support    var bestLevel = 0;    var bestPanel = null;    for (var i = 0; i < Firebug.panelTypes.length; ++i)    {        var panelType = Firebug.panelTypes[i];        if (!panelType.prototype.parentPanel)        {            var level = panelSupportsObject(panelType, object);            if (!bestLevel || (level && (level < bestLevel) ))  // XXXjjb I do not understand why this works            {                bestLevel = level;                bestPanel = panelType;            }        }    }    return bestPanel ? bestPanel.prototype.name : null;}
2454	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2454/2e2e6e5e5acba26e69243682fad1c16a0bea8a6a/chrome.js/buggy/extension/content/firebug/chrome.js