 var section = this; this.headerElement.addEventListener("click", function() { section.expanded = !section.expanded; }, false); 
this.headerElement.addEventListener("click", this.toggleExpanded.bind(this), false); 
WebInspector.PropertiesSection = function(title, subtitle){    this.element = document.createElement("div");    this.element.className = "section";    this.headerElement = document.createElement("div");    this.headerElement.className = "header";    this.titleElement = document.createElement("div");    this.titleElement.className = "title";    this.subtitleElement = document.createElement("div");    this.subtitleElement.className = "subtitle";    this.headerElement.appendChild(this.titleElement);    this.headerElement.appendChild(this.subtitleElement);    var section = this;    this.headerElement.addEventListener("click", function() { section.expanded = !section.expanded; }, false);    this.propertiesElement = document.createElement("ol");    this.propertiesElement.className = "properties";    this.propertiesTreeOutline = new TreeOutline(this.propertiesElement);    this.propertiesTreeOutline.section = this;    this.element.appendChild(this.headerElement);    this.element.appendChild(this.propertiesElement);    this.title = title;    this.subtitle = subtitle;    this.expanded = false;}
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/cc88f9529656de4c98bb56849e3726c8f5e442e1/PropertiesSection.js/buggy/WebCore/page/inspector/PropertiesSection.js