view.contentElement.className = "content " + view.title.toLowerCase(); 
view.contentElement.className = "content " + view.name; 
WebInspector.Panel = function(views){    this._visible = false;    this.element = document.createElement("div");    this.element.className = "panel";    this.views = {};    this.viewButtons = [];    if (views) {        var selectViewFunction = function(event)        {            var clickedView = event.currentTarget.view;            clickedView.panel.currentView = clickedView;        };        for (var i = 0; i < views.length; ++i) {            var view = views[i];            view.panel = this;            view.buttonElement = document.createElement("button");            view.buttonElement.setAttribute("title", view.title);            view.buttonElement.addEventListener("click", selectViewFunction, false);            view.buttonElement.appendChild(document.createElement("img"));            view.buttonElement.view = view;            view.contentElement = document.createElement("div");            view.contentElement.className = "content " + view.title.toLowerCase();            this.views[view.title.toLowerCase()] = view;            this.viewButtons.push(view.buttonElement);            this.element.appendChild(view.contentElement);        }    }}
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/11650fd39ffebe23630ae00304720f3195cfabd4/Panel.js/buggy/WebCore/page/inspector/Panel.js