Just wondering how could I do the following:
When a user clicks start my startDrawing function is active and a listener is active. On stop I would remove the listener

Code:
<a href="javascript:startDrawing();" id="StartButton">Start </a>| <a href="javascript:stopDrawing();" style="display:none" id="StopButton">Stop</a>
My startDrawing function
Code:
function startDrawing() {
	drawListener = 	GEvent.addListener(map, 'click', function(overlay, point) {
		alert("clicked");
		if (overlay) {
		 // map.removeOverlay(overlay);
		} else if (point) {
		//add objects to global arrays
		  alert(point.x);
		}
	  });
	return drawListener;
}//end startDrawing
Any ideas