%%
%% $Id$
%%
\documentclass[
a4paper,
runningheads
]{llncs}

\usepackage[english]{babel}

\usepackage{fontenc}
\usepackage[utf8]{inputenc}

\usepackage{color}

\input{system}
\begin{document}

	\lstdefinelanguage{JavaScript}{
	  keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break}
	  keywordstyle=\color{blue}\bfseries,
	  ndkeywords={class, export, boolean, throw, implements, import, this},
	  ndkeywordstyle=\color{darkgray}\bfseries,
	  identifierstyle=\color{black},
	  sensitive=false,
	  comment=[l]{//},
	  morecomment=[s]{/*}{*/},
	  commentstyle=\color{mygray}\ttfamily,
	  stringstyle=\color{red}\ttfamily,
	  morestring=[b]',
	  morestring=[b]"
	}

\lstset{basicstyle=\ttfamily\footnotesize,captionpos=b,numbers=left,numbersep=5pt,numberstyle=\tiny,stepnumber=1,breaklines=true,showstringspaces=false,float=!h, language=JavaScript,
		keywordstyle=\bf,
	    commentstyle=\color{darkgreen}, 
	    stringstyle=\color{darkblue},frame=single}
	
\input{content}
\end{document}
%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% coding: utf-8
%%% End: 
