rem: this.Element.remove($('im_mm_zoombox')); 
add: Element.remove($('im_mm_zoombox'));  im_mm_setAOIandZoom(); 
context: function im_mm_stopZoombox(e){	// get the current cursor position	var pX = Event.pointerX(e);	var pY = Event.pointerY(e);		// get map image offset	var offset = Position.cumulativeOffset($('im_mm_image'));	var offsetX = offset[0];	var offsetY = offset[1];            var w = $('im_mm_image').clientWidth;            var h = $('im_mm_image').clientHeight;	im_mm_setStatus('busy');	imc_mm_action(im_mm_currentTool, // may be zoomin or zoomout		Math.min(pX, im_mm_startX) - offsetX, // xmin		Math.max(pY, im_mm_startY) - offsetY, // ymax		Math.max(pX, im_mm_startX) - offsetX, // xmax		Math.min(pY, im_mm_startY) - offsetY,  // ymin		w,h	);		// remove listeners and div	Event.stopObserving(document, 'mousemove', im_mm_resizeZoombox);	Event.stopObserving(document, 'mouseup', im_mm_stopZoombox);	this.Element.remove($('im_mm_zoombox'));}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/2039ef6891ae8b2e8ada405eadb6143048b79ef4/im_minimap.js/buggy/web/intermap/scripts/im_minimap.js