\documentclass[pdftex,a4paper,12pt,twoside]{article} 
\usepackage[final]{pdfpages}
\usepackage[backref]{hyperref}

\usepackage[utf8]{inputenc}
\usepackage[official,right]{eurosym}
\usepackage{rotating}

\usepackage[czech]{babel}
%\usepackage[czech]{isodate}
\usepackage[parfill]{parskip}
\usepackage{graphicx}
\usepackage{sidecap}
\usepackage{wrapfig}
\usepackage{float}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage{index}
\usepackage{listings}

\usepackage{breakurl}

\pagenumbering{Roman}
\pagenumbering{arabic}
\hypersetup{colorlinks=true,linkcolor=black,urlcolor=blue, citecolor=black,urlcolor=blue}


%\usepackage[ps2pdf,unicode,pdfstartview=FitH]{hyperref}   % Musí být za všemi ostatními balíčky

\hypersetup{colorlinks=true,linkcolor=black, urlcolor=blue, citecolor=black,urlcolor=blue}
\hypersetup{unicode=true}
 
\let\indexstyle=2
\newindex{default}{idx}{ind}{Rejstřík}

\begin{document} 

\let\openright=\cleardoublepage

\begin{titlepage}
\begin{center}



\textsc{\LARGE  Programátorská dokumentace}\\


%\vfill
%\textsc{\Huge  Klient}\\



\vspace{25mm}


% Upper part of the page
\begin{figure}[H]
\begin{center}
	\includegraphics[keepaspectratio=true, scale=0.7]{./DivergentTerritoryBig.png}
\end{center}					
\end{figure}
	
	
 
\vfill

% Authors
\begin{center}

%\author{Jakub Melka, Štěpán Poljak, Martin Růžička, Martin Urza}

Martin Růžička \\
Štěpán Poljak \\
Jakub Melka \\
Martin Urza



\end{center}
\end{center}
\end{titlepage}

\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\normalfont\normalsize\bfseries}}
\makeatother

\newcommand{\dspFuncName}[1]
{
\textbf{\texttt{#1}}\index{#1@\textbf{\texttt{#1}}}
}
\newcommand{\dspFuncNameEx}[2]
{
\textbf{\texttt{#1}}\index{#2!#1}
}


% disables chapter, section and subsection numbering
%\setcounter{secnumdepth}{-1} 
\tableofcontents
\newpage

%\pagestyle{fancy}

\cleardoublepage
\input{klient}

\cleardoublepage
\input{server}


%\cleardoublepage

\addcontentsline{toc}{section}{Index}
\printindex


\end{document}               
