%function mouseUtmTip(handles)
function mouseUtmTip(handles)
	global origin
pos = get(gca,'CurrentPoint');
x = pos(1,1);
y = pos(1,2);
if ~isempty(origin),
	sx = x+origin(1);
	sy = y+origin(2);
else
	sx = x;
	sy = y;
end
nstr = ['N ' mynum2str(sy,0)];
estr = ['E ' mynum2str(sx,0)];

try,
	set(handles.northings_box,'String',nstr)
	set(handles.eastings_box,'String',estr)
catch, end