rem: var refreshButton = $('im_refreshButton'); 
add: /*	var refreshButton = $('im_refreshButton');*/ 
context: function im_mm_setStatus(status){	var refreshButton = $('im_refreshButton');		switch(status)	{		case 'busy': // not allowed to refresh - wait for ajax transaction to finish			// disable zoom, pan...						// if(!$('map')) break; // ETj						Event.stopObserving('im_mm_map', 'mousedown', im_mm_mousedownEventListener);			Event.observe('im_mm_map', 'mousedown', noOp);						// change cursor			$('im_mm_map').style.cursor = 'wait'						// change refresh button status/*			refreshButton.className = 'im_disabled';			refreshButton.disabled = true;*/			/*			$('im_pleaseWait').style.display = 'block';*/			$('im_mm_wait').style.display='block';						break;		case 'idle': // all operations allowed			// enable zoom, pan...			Event.stopObserving('im_mm_map', 'mousedown', noOp);			Event.observe('im_mm_map', 'mousedown', im_mm_mousedownEventListener);						// change refresh button status			$('im_mm_map').style.cursor = 'crosshair'/*			refreshButton.className = 'im_disabled';			refreshButton.disabled = true;*/			/*			$('im_pleaseWait').style.display = 'none';*/			$('im_mm_wait').style.display='none';						break;		case 'refresh': // refresh buton highlighted - means that refresh is needed after the user made some operations on layers			// change refresh button status/*			refreshButton.className = 'im_refresh';			refreshButton.disabled = false;*/			break;	}}
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