rem: backdropLabel.ondblclick = this.doubleClick.bindAsEventListener(this); backdropLabel.onmousedown = this.singleClick.bindAsEventListener(this); 
add: backdropLabelOuter.ondblclick = this.doubleClick.bindAsEventListener(this); backdropLabelOuter.onmousedown = this.singleClick.bindAsEventListener(this); 
context:     addTab: function(layer) {        // Outer DIV - for Rico Corners        //        var backdropLabelOuter = document.createElement('div');        backdropLabelOuter.id = "LayerSwitcher_" + layer.name + "_Tab";        backdropLabelOuter.style.marginTop = "4px";        backdropLabelOuter.style.marginBottom = "4px";                // Inner Label - for Rico Corners        //        var backdropLabel = document.createElement('p');        backdropLabel.innerHTML = layer.name;        backdropLabel.style.marginTop = "0px";        backdropLabel.style.marginBottom = "0px";        backdropLabel.style.paddingLeft = "10px";        backdropLabel.style.paddingRight = "10px";                // add reference to layer onto the div for use in event handlers        backdropLabel.layer = layer;        // set event handlers        backdropLabel.ondblclick = this.doubleClick.bindAsEventListener(this);        backdropLabel.onmousedown = this.singleClick.bindAsEventListener(this);                // add label to div        backdropLabelOuter.appendChild(backdropLabel);                this.backdrops.append(backdropLabel);                 // add div to main LayerSwitcher Div        this.div.appendChild(backdropLabelOuter);        Rico.Corner.round(backdropLabelOuter, {corners: "tl bl",                                      bgColor: "transparent",                                      color: "white",                                      blend: false});        this.setTabActivation(backdropLabel, layer.getVisibility());    },
meta: 4411	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4411/4ef55c74148604fe51a0144d0cd40abac5d7a2c1/LayerSwitcher.js/buggy/lib/OpenLayers/Control/LayerSwitcher.js