%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%   !!!      NEMENTE OBSAH TOHOTO SOUBORU       !!!
%%
%%   !!!   DO NOT CHANGE CONTENTS OF THIS FILE   !!!
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  tento soubor obsahuje globalni definice pro formulare
%  Grantove agentury Akademie ved Ceske republiky
%  (c) april 1996 Frantisek Hakl & Roman Neruda
%                 (hakl@uivt.cas.cz, roman@uivt.cas.cz)
%
%
% ============ Cestina =================================

\def\softd{{\leavevmode\setbox1=\hbox{d}%
\hbox to 1.05\wd1{d\kern-0.4ex{\char039}\hss}}}%cstocs
\def\softt{{\leavevmode\setbox1=\hbox{t}%
\hbox to \wd1{t\kern-0.6ex{\char039}\hss}}}%cstocs
\def\softl{l\kern-0.45ex\raise0.1ex\hbox{'}\kern-0.10ex}%cstocs
\def\softL{L\kern-0.8ex\raise0.1ex\hbox{'}\kern0.1ex}%cstocs
% endofdefsfromcstocs %

% ========= Porovnani stringu =====================================

\gdef\ifEqualStrings#1#2{\gdef\testa{#1}\gdef\testb{#2}%
                    \ifx\testa\testb}


% ========= Staticka promenna pro prenos nadpisu tabulky  =========

\gdef\NadpisTabulky{}

% ========= Sirka car =========

\gdef\TloustkaCary{0.35mm}

\setlength{\arrayrulewidth}{\TloustkaCary}  %  tloustka ramecku
\renewcommand{\footnoterule}{\rule{0mm}{0mm} \vspace{0mm}}
              % zadna cara ve footnote


% ========= Sirka tabulek =========

\gdef\CelkovaSirka{165mm}

% ========= Hodnoty \arraystretch pro prostredi tabular =========

\gdef\mezera{\vrule width 0mm height 3mm depth 2mm}
\gdef\NormalSirkaTab{\renewcommand{\arraystretch}{1}}
\gdef\SirkaTabAjedna{\renewcommand{\arraystretch}{1.4}}
\gdef\SirkaTabG{\renewcommand{\arraystretch}{1.6}}

% ========= Hlavicky stranek =========

\renewcommand{\thefootnote}{\fnsymbol{footnote}} % * ve footnote
\gdef\NameOfCurrentPage{UNDEFINED}
\gdef\HeslovityNazev{UNDEFINED}
\newcounter{CurrentSubpageNumber}

\gdef\Hlavicka{   \begin{center}
                    {\LARGE\bf GRANTOV\'A AGENTURA AKADEMIE V\v{E}D \v{C}R}
                 \end{center}
                 \hfill {\large Registra\v{c}n\'{\i} \v{c}\'{\i}slo}
                        \footnote[1]{{\large vypl\v{n}uje Sekretari\'at GA AV}}
                 \hspace{10mm}
}
\gdef\aHlavicka{ \begin{center}
                  {\Large\bf GRANT AGENCY OF THE ACADEMY OF SCIENCES}\\[2mm]
                  {\bf OF THE CZECH REPUBLIC}
                \end{center}
}
\gdef\PrintPageName{
                   \begin{flushright}
                       {\large\bf \NameOfCurrentPage}\\
                       {\tiny \rule{0mm}{0mm}\vspace{-1.0ex}\HeslovityNazev} \\[7mm]
                   \end{flushright}
}
\gdef\JmenoStranky#1{ \newpage
                     \gdef\NameOfCurrentPage{#1}
                     \setcounter{CurrentSubpageNumber}{1}
                     \PrintPageName
}
\gdef\NewSubPage{\newpage
                \PrintPageName
                \begin{flushright}
                    continuation, page No. \arabic{CurrentSubpageNumber}
                \end{flushright}
                \addtocounter{CurrentSubpageNumber}{1}
}

\gdef\NovaPodStranka{\newpage
                    \PrintPageName
                    \begin{flushright}
                         pokra\v{c}ov\'an\'{\i}, strana \v{c}. \arabic{CurrentSubpageNumber}
                    \end{flushright}
                    \addtocounter{CurrentSubpageNumber}{1}
}

\pagestyle{empty}

% ========= Boxy =========
\setlength{\fboxrule}{\TloustkaCary}
\gdef\SmallBox#1#2{ \framebox[#1][c]{\rule[-1mm]{0mm}{4mm}#2} } % sirka, text


% ========= Podtrzene texty =========

\gdef\CelePodtrzeno#1#2#3{  %  nazev, text, delka podtrzitka
   \begin{tabular}{@{}p{#3}}
     #1 #2 \\ \hline
   \end{tabular}
}
\gdef\Podtrzeno#1#2#3{     %  nazev, text, delka podtrzitka
   \begin{tabular}{@{}lp{#3}}
     #1 & \hfill #2 \hfill \rule{0pt}{0pt} \\ \cline{2-2}
   \end{tabular}
}

% ========= Velikost stranky =========
\setlength{\voffset}{0pt}
\setlength{\topmargin}{-30pt}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\topskip}{0pt}
\setlength{\textheight}{27.2cm}
\setlength{\footskip}{10pt}
\setlength{\footheight}{10pt}

\setlength{\hoffset}{-5mm}
\setlength{\marginparsep}{0pt}
\setlength{\marginparwidth}{0pt}
\setlength{\oddsidemargin}{0pt}
\setlength{\evensidemargin}{0pt}
\setlength{\textwidth}{\CelkovaSirka}


% ========= Definice pro A1 =========


\gdef\InstituceBankSpoj{}
\gdef\InstitucePrislusnost{}
\newcounter{JakaInstituce}           % 1-NAVRHOVATEL, 2-SPOLUNAVRHOVATEL

\gdef\Projekt#1#2#3#4#5#6#7#8{
%
\SirkaTabAjedna
\vspace{5mm}
%
\noindent
{\large
\begin{tabular*}{\CelkovaSirka}{p{29mm}p{130mm}@{\extracolsep{\fill}}}
{\bf #1} & \\                               %  Projekt
#2 & {\bf #3} \\ \cline{2-2}                %  Nazev , Jmeno1
\multicolumn{2}{l}{{\bf #4}} \\ \cline{1-2} %  Jmeno2
#5 & {\bf #6} \\ \cline{2-2}                %  Nazev , Cil1
\multicolumn{2}{l}{{\bf #7}} \\ \cline{1-2} %  Cil2
\multicolumn{2}{l}{{\bf #8}} \\ \cline{1-2} %  Cil3
\end{tabular*}
\vspace{5mm}
%
} %  end large
} %  konec Projekt
%

\gdef\Navrhovatel#1#2#3#4#5#6#7#8{
%
\SirkaTabAjedna
\vspace{5mm}
%
\noindent
\begin{tabular*}{\CelkovaSirka}
{@{\extracolsep{\fill}}p{20mm}p{25mm}p{35mm}p{20mm}p{30mm}}
{\large\bf #1} & & & & \\   %  Navrhovatel
{\small #2} & {\small Jm\'eno} & {\small P\v{r}\'{\i}jmen\'{\i}} &
{\small V\v{e}d. hodnost} & {\small Rodn\'e \v{c}\'{\i}slo} \\
\hline
\multicolumn{1}{|l}{#3}  &   %  Tituly
\multicolumn{1}{|l}{#4}  &   %  Jmeno
\multicolumn{1}{|l}{#5}  &   %  Prijmeni
\multicolumn{1}{|l}{#6}  &   %  Ved. hodnost
\multicolumn{1}{|l|}{#7} \\  %  Rodne cislo
\hline
\multicolumn{4}{@{}l}{{\small Pracovn\'{\i} kapacita v\v{e}novan\'a projektu (v
\% z pln\'eho pracovn\'{\i}ho \'uvazku)}}  &
\multicolumn{1}{@{}l}{\raisebox{-1em}{\SmallBox{15mm}{#8 \%}}}  %  Procento uvazku
\end{tabular*}
\vspace{5mm}
%
} %  konec Navrhovatel
%



\gdef\Instituce#1#2#3#4#5#6#7#8#9{
%
\SirkaTabAjedna
\vspace{5mm}
%
\begin{tabular*}{\CelkovaSirka}
{@{\extracolsep{\fill}}p{27mm}p{25mm}p{33mm}p{27mm}p{20mm}}
\multicolumn{5}{@{}l}{{\large\bf \NadpisTabulky}} \\
{\small N\'azev} & & & {\small typ organizace} & {\small I\v{C}O} \\
\hline
\multicolumn{3}{|l}{#1}  &    %  Nazev
\multicolumn{1}{|l}{#2}  &    %  typ organizace
\multicolumn{1}{|l|}{#3} \\   %  ICO
\hline
{\small Ulice} & & & {\small M\'{\i}sto} & \\
\hline
\multicolumn{3}{|l}{#4}  &    %  Ulice
\multicolumn{2}{|l|}{#5} \\   %  Misto
\hline
{\small PS\v{C}} & {\small TEL.} & {\small FAX} &
\multicolumn{2}{l}{\small E-mail} \\
\hline
\multicolumn{1}{|l}{#6}  &    %  PSC
\multicolumn{1}{|l}{#7}  &    %  TEL
\multicolumn{1}{|l}{#8}  &    %  FAX
\multicolumn{2}{|l|}{#9} \\   %  E-mail
\hline
\ifnum \arabic{JakaInstituce} = 1
  {\small Bankovn\'{\i} spojen\'{\i}:} &
  \multicolumn{4}{|l|}{\InstituceBankSpoj} \\  %  Bankovni spojeni
  \cline{2-5}
  \multicolumn{2}{@{}l}{\small P\v{r}\'{\i}slu\v{s}nost k resortu:} &
  \multicolumn{3}{|l|}{\InstitucePrislusnost} \\  %  PrislusnostkResortu
\fi
\ifnum \arabic{JakaInstituce} = 2
  {\small Bankovn\'{\i} spojen\'{\i}:} &
  \multicolumn{4}{|l|}{\SpoluInstituceBankSpoj} \\  %  Bankovni spojeni
  \cline{2-5}
  \multicolumn{2}{@{}l}{\small P\v{r}\'{\i}slu\v{s}nost k resortu:} &
  \multicolumn{3}{|l|}{\SpoluInstitucePrislusnost} \\  %  PrislusnostkResortu
\fi
\cline{3-5}
\end{tabular*}
\vspace{5mm}
%
} %  konec Investigator
%

\gdef\KontaktniAdresa#1#2#3#4#5#6{
%
\SirkaTabAjedna
\vspace{5mm}
%
\begin{tabular*}{\CelkovaSirka}
{@{\extracolsep{\fill}}p{25mm}p{40mm}p{70mm}}
\multicolumn{3}{@{}l}{{\large\bf \NadpisTabulky}} \\
{\small N\'azev pracovi\v{s}t\v{e}} & & \\
\hline
\multicolumn{3}{|l|}{#1} \\  %  Nazev pracoviste
\hline
{\small Ulice} & & {\small M\'{\i}sto} \\
\hline
\multicolumn{2}{|l}{#2}  &   %  Ulice
\multicolumn{1}{|l|}{#3} \\  %  Misto
\hline
{\small PS\v{C}} & {\small TEL.} & {\small FAX} \\
\hline
\multicolumn{1}{|l}{#4}  &    %  PSC
\multicolumn{1}{|l}{#5}  &    %  TEL
\multicolumn{1}{|l|}{#6}  \\   %  FAX
\hline
\end{tabular*}
\vspace{5mm}
%
} %  konec KontaktniAdresa
%


% ========= Definice pro A2 =========

\gdef\ProjektAdva#1#2#3#4#5{
%
\SirkaTabAjedna
\vspace{5mm}
%
{\large
\noindent
\begin{tabular*}{\CelkovaSirka}{p{55mm}p{105mm}@{\extracolsep{\fill}}}
#1 & {\bf #2} \\ \cline{2-2}                %  Navrhovatel , Jmeno1
#3 & {\bf #4} \\ \cline{2-2}                %  Nazev , Nazev proj. 1
\multicolumn{2}{l}{{\bf #5}} \\ \cline{1-2} %  Nazev proj. 2
\end{tabular*}
\vspace{5mm}
%
} %  end large
} %  konec ProjektAdva
%



% ========= Definice pro A3 =========

\newcounter{Principal}

\gdef\Investigator#1#2#3#4#5#6#7#8#9{
%
\SirkaTabAjedna
\vspace{15mm}
\begin{flushleft}
\ifnum \value{Principal} = 0
   \noindent {\large\bf Principal co-investigator:} \\
\else
   \noindent {\large\bf Principal investigator:} \\
\fi
\end{flushleft}
%
\begin{tabular*}{\CelkovaSirka}{@{\extracolsep{\fill}}p{30mm}p{30mm}p{45mm}p{35mm}}
\ifnum \value{Principal} = 0
   {\small 06 Titles}
\else
   {\small 04 Titles}
\fi
& {\small Name} & {\small Surname} & {\small Scientific degree} \\
\hline
\multicolumn{1}{|l}{#1}  &    %  Titles
\multicolumn{1}{|l}{#2}  &    %  Name
\multicolumn{1}{|l}{#3}  &    %  Surname
\multicolumn{1}{|l|}{#4}   \\ %  Scientific degree
\hline
\ifnum \value{Principal} = 0
   {\small 07 Institution name}
\else
   {\small 05 Institution name}
\fi
 & & & \\
\hline
\multicolumn{4}{|l|}{#5} \\  %  Institution name
\hline
{\small Address} & & & \\
\hline
\multicolumn{4}{|l|}{#6} \\  %  Address
\hline
{\small Code} & {\small Phone} & {\small FAX} & \\
\hline
\multicolumn{1}{|l}{#7}  &    %  Code
\multicolumn{1}{|l}{#8}  &    %  Phone
\multicolumn{2}{|l|}{#9}   \\ %  FAX
\hline
\end{tabular*}
\vspace{5mm}
%
} %  konec Investigator
%



% ========= Definice pro List G =========


\gdef\SirkaTabG{\renewcommand{\arraystretch}{2.3}}
\gdef\MezeraTabG{4mm}

\gdef\DalsiZdroje#1#2#3#4#5#6#7{
%
\vspace{\MezeraTabG}
\SirkaTabG
\begin{tabular*}{\CelkovaSirka}{p{30mm}@{\extracolsep{\fill}}p{35mm}p{25mm}p{50mm}}
{\small N\'azev projektu} & & & \\
\hline
\multicolumn{4}{|p{160mm}|}{#1} \\  %  NazevProjektu
\hline
\begin{minipage}{28mm} \vspace{2ex}
  \begin{center} {\small Jm\'eno \v{r}e\v{s}itele} \end{center}
\end{minipage} &
\begin{minipage}{33mm} \vspace{2ex}
  \begin{center} {\small \v{R}e\v{s}itelsk\'e pracovi\v{s}t\v{e}} \end{center}
\end{minipage} &
\begin{minipage}{18mm}
  \begin{center} {\small Doba \v{r}e\v{s}en\'{\i} \\[-1ex] projektu} \end{center}
\end{minipage} &
\begin{minipage}{48mm}
 \ifEqualStrings{#7}{1}
  \begin{center} {\small N\'azev agentury (instituce), kter\'a \\[-1ex]
                         projekt podporuje}
  \end{center}
 \fi
 \ifEqualStrings{#7}{2}
  \begin{center} {\small N\'azev agentury (instituce), \\[-1ex]
                         u kter\'e je pod\'ana \v{z}\'adost}
  \end{center}
 \fi
 \ifEqualStrings{#7}{3}
  \begin{center} {\small N\'azev agentury (instituce), kter\'a \\[-1ex]
                         projekt podporuje nebo u kter\'e je \\[-1ex]
                         pod\'ana \v{z}\'adost}
  \end{center}
 \fi
\end{minipage} \\
\hline
%
\multicolumn{1}{|p{35mm}}{#2} &  %  Jmeno
\multicolumn{1}{|p{35mm}}{#3} &  %  Pracoviste
\multicolumn{1}{|l}{
\begin{minipage}{23mm}
  {\small od #4 \\[-1ex] do #5 }   % reseno OD ,  reseno DO
\end{minipage}
} &
\multicolumn{1}{|p{45mm}|}{#6} \\  % Agentura
\hline
%
\end{tabular*}
\vspace{\MezeraTabG}
%
} %  konec DalsiZdroje
%

\gdef\UkoncenyProjekt#1#2#3#4#5#6{
%
\vspace{\MezeraTabG}
\SirkaTabG
\begin{tabular*}{\CelkovaSirka}{p{60mm}@{\extracolsep{\fill}}p{45mm}p{25mm}}
{\small N\'azev projektu} &  & \\
\hline
\multicolumn{3}{|p{160mm}|}{#1} \\  %  NazevProjektu
\hline
\begin{minipage}{58mm} \vspace{2ex}
  \begin{center} {\small Jm\'eno \v{r}e\v{s}itele} \end{center}
\end{minipage} &
\begin{minipage}{43mm} \vspace{2ex}
  \begin{center} {\small \v{R}e\v{s}itelsk\'e pracovi\v{s}t\v{e}} \end{center}
\end{minipage} &
\begin{minipage}{18mm}
  \begin{center} {\small Doba \v{r}e\v{s}en\'{\i} \\[-1ex] projektu} \end{center}
\end{minipage} \\
\hline
%
\multicolumn{1}{|p{70mm}}{#2} &  %  Jmeno
\multicolumn{1}{|p{45mm}}{#3} &  %  Pracoviste
\multicolumn{1}{|l|}{
\begin{minipage}{23mm}
  {\small od #4 \\[-1ex] do #5 }   % reseno OD ,  reseno DO
\end{minipage}
} \\
\hline
%
\end{tabular*}
\vspace{\MezeraTabG}
%
} %  konec UkonceneProjekty
%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%   dale  Roman

\gdef\odraz{\hglue1cm -- \hspace{.5ex}}       % for gapld
\gdef\tbl#1{\centerline{#1}}                 % for gapld
\gdef\SirTabPrD2{141mm}

\gdef\SirkaKomF{153mm}
\gdef\KomFSep{5mm}
\gdef\VyskaBoxF{50mm}

\gdef\HlavickaF#1#2#3#4{
%
\SirkaTabAjedna
\vspace{5mm}
%
\noindent
\begin{tabular*}{\CelkovaSirka}{p{30mm}p{125mm}@{\extracolsep{\fill}}}
N\'azev instituce: & #1 \\ \cline{2-2}        % instituce
\multicolumn{2}{c}{} \\
Navrhovatel:     & #2 \\ \cline{2-2}        % navrhovatel
N\'azev projektu:  & #3 \\ \cline{2-2}        % nazev - 1. radka
\multicolumn{2}{l}{{#4}} \\ \cline{1-2}      % nazev - 2. radka
\end{tabular*}
\vspace{5mm}
%
}

\gdef\VyskaBoxEi{35mm}
\gdef\VyskaBoxEii{26mm}

\gdef\BigBox#1#2{%
\fbox{\fboxsep0pt\rule[-1mm]{0mm}{12mm}\parbox{#1}{#2}}
} % sirka, text

\gdef\VyskaBoxG{65mm}
\gdef\AThreeBox#1{\SmallBox{20mm}{#1}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%     funkce pro  PUBLIKACNI  formular
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\gdef\PublikaceProjekt#1#2#3#4#5#6#7{
%
\SirkaTabAjedna
\vspace{5mm}
%
\noindent
{\large
\begin{tabular*}{\CelkovaSirka}{p{34mm}p{125mm}@{\extracolsep{\fill}}}
01 N\'azev publikace & {\bf #1}  \\ \cline{1-2}
\multicolumn{2}{l}{{\bf #2}}  \\ \hline
\hspace{1em} Anglick\'y n\'azev & {\bf #3} \\ \cline{1-2}
\multicolumn{2}{l}{{\bf #4}}  \\ \hline
02 V\v{e}deck\'y c\'{\i}l & \\
\hspace{1em} publikace & {\bf #5} \\ \cline{1-2}
\multicolumn{2}{l}{{\bf #6}}  \\ \hline
\multicolumn{2}{l}{{\bf #7}}  \\ \hline
\end{tabular*}
\vspace{5mm} %
}% end font
}

\gdef\PublikaceNavrhovatel#1#2#3#4#5#6#7{
%
\SirkaTabAjedna
\vspace{5mm}
%
\noindent
\begin{tabular*}{\CelkovaSirka}
{@{\extracolsep{\fill}}p{20mm}p{25mm}p{35mm}p{20mm}p{30mm}}
{\large\bf #1} & & & & \\   %  Navrhovatel
{\small #2} & {\small Jm\'eno} & {\small P\v{r}\'{\i}jmen\'{\i}} &
{\small V\v{e}d. hodnost} & {\small Rodn\'e \v{c}\'{\i}slo} \\
\hline
\multicolumn{1}{|l}{#3}  &   %  Tituly
\multicolumn{1}{|l}{#4}  &   %  Jmeno
\multicolumn{1}{|l}{#5}  &   %  Prijmeni
\multicolumn{1}{|l}{#6}  &   %  Ved. hodnost
\multicolumn{1}{|l|}{#7} \\  %  Rodne cislo
\hline
\end{tabular*}
\vspace{5mm}
%
} %  konec Navrhovatel
%

\gdef\HlavickaPubC#1#2#3#4{
%
\SirkaTabAjedna
\vspace{5mm}
%
\noindent
\begin{tabular*}{\CelkovaSirka}{p{33mm}p{122mm}@{\extracolsep{\fill}}}
N\'azev instituce: & #1 \\ \cline{2-2}        % instituce
\multicolumn{2}{c}{} \\
Navrhovatel:     & #2 \\ \cline{2-2}        % navrhovatel
N\'azev publikace:  & #3 \\ \cline{2-2}        % nazev - 1. radka
\multicolumn{2}{l}{{#4}} \\ \cline{1-2}      % nazev - 2. radka
\end{tabular*}
\vspace{5mm}
%
}


\gdef\PublikaceZdroje#1#2#3#4#5#6{
%
\vspace{\MezeraTabG}
\SirkaTabG
\begin{tabular*}{\CelkovaSirka}{p{40mm}@{\extracolsep{\fill}}p{35mm}p{25mm}p{50mm}}
\begin{minipage}{40mm} \vspace{2ex}
  {\small N\'azev grantov\'eho projektu}
\end{minipage} & & &
\begin{minipage}{45mm} \vspace{2ex}
  \begin{center} {\small \v{C}\'{\i}s. grant. proj.}
  \end{center}
\end{minipage} \\
\hline
\multicolumn{3}{|p{100mm}|}{#1} &   %  NazevProjektu
\multicolumn{1}{|p{45mm}|}{#2} \\   %  Cislo projektu
\hline
\begin{minipage}{28mm} \vspace{2ex}
  \begin{center} {\small Jm\'eno \v{r}e\v{s}itele} \end{center}
\end{minipage} &
\begin{minipage}{33mm} \vspace{2ex}
  \begin{center} {\small \v{R}e\v{s}itelsk\'e pracovi\v{s}t\v{e}} \end{center}
\end{minipage} &
\begin{minipage}{18mm}
  \begin{center} {\small Rok \\[-1ex] ukon\v{c}en\'{\i}} \end{center}
\end{minipage} &
\begin{minipage}{48mm}
  \begin{center} {\small N\'azev agentury, kter\'a projekt \\[-1ex]
                         podpo\v{r}ila}
  \end{center}
\end{minipage} \\
\hline
%
\multicolumn{1}{|p{35mm}}{#3} &    % Jmeno
\multicolumn{1}{|p{35mm}}{#4} &    % Pracoviste
\multicolumn{1}{|p{23mm}}{#5} &    % Rok ukonceni
\multicolumn{1}{|p{45mm}|}{#6} \\  % Agentura
\hline
%
\end{tabular*}
\vspace{\MezeraTabG}
%
} %  konec DalsiZdroje
%

