function hidebtns(hbtns)
%  Name:   hidebtns
%
%  Usage:  hidebtns(hbtns)
%
%	Description: Hides the buttons whose
%	handles are 'hbtns', after storing
%	their current state in their user
%	data variables  
%
%
%

%  Version SWD960822
%
%  Author(s): Scott W. Doebling, doebling@lanl.gov
%
%  Institution: Los Alamos National Laboratory,
%               ESA-EA
%
%  Copyright (c) 1996, The Regents of the University
%       of California. (See top level of code for
%       full copyright statement.)


%
%  Store current state in user data
%

for i = 1:length(hbtns),
    set(hbtns(i),'userdata',get(hbtns(i),'visible'))
end

set(hbtns,'visible','off')
