add: OpenLayers.Event.observe(btn, "click", this.doubleClick.bindAsEventListener(btn)); 
context:     _addButton:function(id, img, xy, sz) {        var imgLocation = OpenLayers.Util.getImagesLocation() + img;        var btn = OpenLayers.Util.createAlphaImageDiv(                                    "OpenLayers_Control_PanZoom_" + id,                                     xy, sz, imgLocation, "absolute");        //we want to add the outer div        this.div.appendChild(btn);        OpenLayers.Event.observe(btn, "mousedown",                                  this.buttonDown.bindAsEventListener(btn));        OpenLayers.Event.observe(btn, "mouseup",                                  this.doubleClick.bindAsEventListener(btn));        OpenLayers.Event.observe(btn, "dblclick",                                  this.doubleClick.bindAsEventListener(btn));        btn.action = id;        btn.map = this.map;        btn.slideFactor = this.slideFactor;        //we want to remember/reference the outer div        this.buttons.push(btn);        return btn;    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/377e805f264414471da7e24c77f0a164e046462b/PanZoom.js/buggy/lib/OpenLayers/Control/PanZoom.js