function e_handler(varargin)

disp(['Event ',varargin{end},' triggered!!!'])

if strcmp(varargin{end},'NewYear')
    disp('HAPPY NEW YEAR!')
end


%   Copyright 1984-2002 The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2002/04/08 20:04:40 $
