rem: this.map.viewPortDiv.removeChild(document.getElementById("zoomBox")); 
add: this.map.viewPortDiv.removeChild(this.zoomBox); 
context:     zoomBoxEnd: function(evt) {        if (this.mouseDragStart != null) {            if (Math.abs(this.mouseDragStart.x - evt.xy.x) > 5 ||                    Math.abs(this.mouseDragStart.y - evt.xy.y) > 5) {                   var start = this.map.getLonLatFromViewPortPx( this.mouseDragStart );                 var end = this.map.getLonLatFromViewPortPx( evt.xy );                var top = Math.max(start.lat, end.lat);                var bottom = Math.min(start.lat, end.lat);                var left = Math.min(start.lon, end.lon);                var right = Math.max(start.lon, end.lon);                var bounds = new OpenLayers.Bounds(left, bottom, right, top);                var zoom = this.map.getZoomForExtent(bounds);                this.map.setCenter(new OpenLayers.LonLat(                  (start.lon + end.lon) / 2,                  (start.lat + end.lat) / 2                 ), zoom);            } else {                var end = this.map.getLonLatFromViewPortPx( evt.xy );                this.map.setCenter(new OpenLayers.LonLat(                  (end.lon),                  (end.lat)                 ), this.map.getZoom() + 1);            }                this.map.viewPortDiv.removeChild(document.getElementById("zoomBox"));            this.zoomBox = null;       }         },
meta: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/24381c2f370fe994a653f81074f91e58fc0333d5/MouseDefaults.js/buggy/lib/OpenLayers/Control/MouseDefaults.js