rem: imc_minimapAction('zoomin', 
add: imc_mm_action('zoomin', 
context: function im_mm_zoomToAoi(){            if(! im_mm_aoibox)            {                alert("No AOI defined!");                return            }            	// get aoi coords	var aoipos = Position.cumulativeOffset($('im_mm_aoibox'));	var aoix = aoipos[0];	var aoiy = aoipos[1];		var aoidim = Element.getDimensions($('im_mm_aoibox'));	var aoiw = aoidim.width;	var aoih = aoidim.height;	// get map image offset	var mappos = Position.cumulativeOffset($('im_mm_image'));	var mapx = mappos[0];	var mapy = mappos[1];            var mapw = $('im_mm_image').clientWidth;            var maph = $('im_mm_image').clientHeight;	im_mm_deleteAoi();	im_mm_setStatus('busy');	imc_minimapAction('zoomin', 		aoix- mapx, // xmin		aoiy - mapy + aoih, // ymax		aoix -mapx + aoiw, // xmax		aoiy - mapy, // ymin		mapw, maph	);		}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/89c44cd74f750c14597ab0be12fc5a5a913a0982/im_minimap.js/buggy/web/intermap/scripts/im_minimap.js