var browseView = panel.views.browse; 
    updateTableList: function()    {        var browseView = this.views.browse;        if (!browseView.tableSelectElement) {            browseView.tableSelectElement = document.createElement("select");            browseView.tableSelectElement.className = "database-table-select hidden";            var panel = this;            var changeTableFunction = function()            {                var browseView = panel.views.browse;                var index = browseView.tableSelectElement.selectedIndex;                if (index != -1)                    panel.currentTable = browseView.tableSelectElement.options[index].value;                else                    panel.currentTable = null;            };            browseView.tableSelectElement.addEventListener("change", changeTableFunction, false);        }        browseView.tableSelectElement.removeChildren();        var selectedTableName = this.currentTable;        var tableNames = InspectorController.databaseTableNames(this.resource.database).sort();        var length = tableNames.length;        for (var i = 0; i < length; ++i) {            var option = document.createElement("option");            option.value = tableNames[i];            option.text = tableNames[i];            browseView.tableSelectElement.appendChild(option);            if (tableNames[i] === selectedTableName)                browseView.tableSelectElement.selectedIndex = i;        }        if (!selectedTableName && length)            this.currentTable = tableNames[0];    },
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/cc88f9529656de4c98bb56849e3726c8f5e442e1/DatabasePanel.js/buggy/WebCore/page/inspector/DatabasePanel.js