rem: im_mm_setAOIandZoom(); 
context: function im_mm_resizeZoombox(e){	Event.stop(e); // prevents from dragging the map image (on Explorer)		// 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;            // Prevents zoombox exiting from map area            pX = Math.max(pX, offsetX+2);            pY = Math.max(pY, offsetY+2);                        pX = Math.min(pX, offsetX + w - 2);            pY = Math.min(pY, offsetY + h - 2);	// set the zoom box position and size	im_mm_drawBox ($('im_mm_zoombox'),		Math.min(pX, im_mm_startX),  // left		Math.min(pY, im_mm_startY),  // top		Math.abs(pX - im_mm_startX), // width		Math.abs(pY - im_mm_startY)  // height	);		im_mm_setAOIandZoom();}
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