% GUIglobalmap
% Function for the MODIS GUI
% Copyright by Jasmine S Nahorniak, Oregon State University.
% Mar 1 2000

function GUIglobalmap(id);


if id==1,

 GUIbutton('Pushbutton13','global','on');
 
% north latitude
set(findobj('Tag','EditText15'),'String','90');
% south latitude
set(findobj('Tag','EditText17'),'String','-90');
% west longitude
set(findobj('Tag','EditText16'),'String','-180');
% east longitude
set(findobj('Tag','EditText18'),'String','180');

GUIbutton('Pushbutton13','global','off');

elseif id==2,

 GUIbutton('Pushbutton8','global','on');

% north latitude
set(findobj('Tag','EditText8'),'String','90');
% south latitude
set(findobj('Tag','EditText9'),'String','-90');
% west longitude
set(findobj('Tag','EditText10'),'String','-180');
% east longitude
set(findobj('Tag','EditText11'),'String','180');

 GUIbutton('Pushbutton8','global','off');

end

