rem: var refreshButton = $('im_refreshButton'); 
add: /*	var refreshButton = $('im_refreshButton');*/ 
context: function 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_map', 'mousedown', mousedownEventListener);			Event.observe('im_map', 'mousedown', noOp);						// change cursor			$('im_map').style.cursor = 'wait'						// change refresh button status			refreshButton.className = 'im_disabled';			refreshButton.disabled = true;						$('im_pleaseWait').show(); //style.display = 'block';			break;		case 'idle': // all operations allowed			// enable zoom, pan...			Event.stopObserving('im_map', 'mousedown', noOp);			Event.observe('im_map', 'mousedown', mousedownEventListener);						// change refresh button status			$('im_map').style.cursor = 'crosshair'			refreshButton.className = 'im_disabled';			refreshButton.disabled = true;						$('im_pleaseWait').hide(); //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/d860963afcc23077a988cf109abe62a0edcdd6ac/im_bigmap.js/buggy/web/intermap/scripts/im_bigmap.js