% opens the about box
tmp_TopPos = get(h.Main.Top, 'position');
h.About.Position = tmp_TopPos + [ 0 -4*tmp_TopPos(4) 100 50 ];
clear tmp_TopPos
h.About.Top = figure(998);
set(h.About.Top, 'Position', h.About.Position, 'MenuBar', 'none', ...
'NumberTitle', 'off', 'Name', 'About HTML Indexer', 'resize', 'off');
%h.About.Text.Position = [100 10 250 50 ];
h.About.Text = uicontrol('Parent',h.About.Top, ...
'Units','points', ...
'BackgroundColor',[0.66 0.6 0.56], ...
'FontName','Verdana', ...
'HorizontalAlignment','center', ...
'ListboxTop',0, ...
'units', 'normalized', ...
'Position', [0.1 0.1 0.89 0.8], ...
'String',{'HTML Indexer', 'batch: html index, contact sheet ', ...
'design by Tudor Dima, v.0.6, 05.07.2011', ...
'http://www.mathworks.com/matlabcentral/fileexchange/authors/15308'}' , ...
'Style','text', ...
'Tag','StaticText1');
h.About.Push = uicontrol('Parent',h.About.Top, ...
'Units','points', ...
'BackgroundColor',[0.66 0.60 0.56], ...
'Callback', 'close(h.About.Top); clear h.About',...
'FontName','Verdana', ...
'HorizontalAlignment','center', ...
'Interruptible', 'off', ...
'ListboxTop',0, ...
'units', 'normalized', ...
'Position', [0.01 0.3 0.08 0.4], ...
'String','OK!', ...
'Style','pushbutton', ...
'Tag','pushbutton1');