%%
%% This is file `hyperref.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hyperref.dtx  (with options: `package')
%% 
\def\fileversion{4.25}
\def\filedate{1997/05/05}
\def\docdate {1997/03/12}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\newif\ifHyper@Backref
\newif\ifHyper@driverloaded
\newif\ifHyper@psize
\newif\ifHyper@colorlinks
\newif\ifHyper@Figures
\newif\ifHyper@Nesting
\newif\ifHyper@Index
\newif\ifHyper@Plainpages
\newif\if@ActiveAnchor
\newif\ifHyper@raiselinks
\newif\ifHyper@breaklinks
\newif\ifHyper@pageanchor
\newif\ifHyper@debug
\Hyper@pageanchortrue
\Hyper@raiselinksfalse
\Hyper@breaklinksfalse
\newdimen\@linkdim
\Hyper@psizefalse
\Hyper@Indextrue
\Hyper@Figuresfalse
\Hyper@Nestingfalse
\Hyper@Backreffalse
\Hyper@driverloadedfalse
\def\pdf@bbox{pdf@llx pdf@lly pdf@urx pdf@ury}
\ProvidesPackage{hyperref}[\filedate\space\fileversion\space Hypertext links for LaTeX]
\RequirePackage{keyval}
\RequirePackage{nameref}
\DeclareOption{draft}{\AtBeginDocument{%
    \gdef\hyper@anchor#1#2{#2}%
    \gdef\hyper@@link[#1]#2#3#4{#4}%
    \def\hyper@anchorstart#1{}%
    \def\literalps@out#1{}%
    \def\hyper@anchorend{}%
    \def\hyper@linkstart#1{}%
    \def\hyper@linkend{}%
    \def\hyperbaseurl#1{}%
    \def\@writetorep#1#2#3{}%
    \typeout{* Hyperref: Turn on draft mode *}
   }%
}
\DeclareOption{nolinks}{\AtBeginDocument{%
    \gdef\hyper@anchor#1#2{#2}%
    \gdef\hyper@@link[#1]#2#3#4{#4}%
    \def\hyper@anchorstart#1{}%
    \def\hyper@anchorend{}%
    \def\hyper@linkstart#1{}%
    \def\hyper@linkend{}}
}
\DeclareOption{a4paper}{\def\special@paper{210mm,297mm}}
\DeclareOption{a5paper}{\def\special@paper{148mm,210mm}}
\DeclareOption{b5paper}{\def\special@paper{176mm,250mm}}
\DeclareOption{letterpaper}{\def\special@paper{8.5in,11in}}
\DeclareOption{legalpaper}{\def\special@paper{8.5in,14in}}
\DeclareOption{executivepaper}{\def\special@paper{7.25in,10.5in}}
\DeclareOption{colorlinks}{%
   \AtEndOfPackage{\RequirePackage{color}}%
   \def\colorlink#1{\color{#1}}%
   \Hyper@colorlinkstrue
}
\DeclareOption{nocolorlinks}{%
   \def\colorlink#1{}%
   \Hyper@colorlinksfalse
}
\DeclareOption{pdftex}{%
   \input{pdftex.cfg}
   \Hyper@breaklinkstrue
   \Hyper@driverloadedtrue
}
\DeclareOption{dvipdf}{%
   \input{dvipdf.cfg}
   \Hyper@driverloadedtrue
}
\DeclareOption{nativepdf}{%
   \input{pdfmark.cfg}
   \Hyper@driverloadedtrue
}
\DeclareOption{pdfmark}{%
   \input{pdfmark.cfg}
   \Hyper@driverloadedtrue
   }
\DeclareOption{hypertex}{%
   \input{hypertex.cfg}
   \Hyper@driverloadedtrue
   }
\DeclareOption{dviwindo}{%
    \input{dviwindo.cfg}%
    \ExecuteOptions{colorlinks}%
    \PassOptionsToPackage{dviwindo}{color}%
    \Hyper@driverloadedtrue}
\DeclareOption{latex2html}{%
   \AtBeginDocument{\@@latextohtmlX}%
   }
\DeclareOption{ps2pdf}{%
   \def\pdf@bbox{%
      pdf@llx .12 mul 72 add
      pdf@lly -.12 mul 770 add
      pdf@urx .12 mul 72 add
      pdf@ury -.12 mul 770 add}
   \input{pdfmark.cfg}
   \Hyper@driverloadedtrue
}
\DeclareOption{nobookmarks}{
 \AtEndOfPackage{\global\let\ReadBookmarks\relax}%
}
\DeclareOption{nodebug}{%
   \Hyper@debugfalse
}
\DeclareOption{debug}{%
   \Hyper@debugtrue
}
\DeclareOption{raiselinks}{%
  \Hyper@raiselinkstrue
}
\DeclareOption{noraiselinks}{%
  \Hyper@raiselinksfalse
}
\DeclareOption{breaklinks}{%
  \Hyper@breaklinkstrue
}
\DeclareOption{nobreaklinks}{%
  \Hyper@breaklinksfalse
}
\DeclareOption{nopageanchor}{%
  \Hyper@pageanchorfalse
}
\DeclareOption{pageanchor}{%
  \Hyper@pageanchortrue
}
\DeclareOption{backref}{%
  \PassOptionsToPackage{hyperref}{backref}
  \Hyper@Backreftrue
}
\DeclareOption{pagebackref}{%
  \PassOptionsToPackage{hyperpageref}{backref}
  \Hyper@Backreftrue
}
\DeclareOption{hyperindex}{%
  \Hyper@Indextrue
}
\DeclareOption{nohyperindex}{%
  \Hyper@Indexfalse
}
\DeclareOption{plainpages}{%
   \Hyper@Plainpagestrue
}
\DeclareOption{noplainpages}{%
   \Hyper@Plainpagesfalse
}
\DeclareOption{hyperfigures}{\Hyper@Figurestrue}
\DeclareOption{nohyperfigures}{\Hyper@Figuresfalse}
\DeclareOption{nonesting}{%
  \Hyper@Nestingfalse
}
\DeclareOption{nesting}{%
  \Hyper@Nestingtrue
}
\DeclareOption{dvipsone}{%
   \input{pdfmark.cfg}
   \Hyper@driverloadedtrue
    \def\Hyper@dvidriver{1}%
}
\def\Hyper@dvidriver{0}
\def\@nil{}
\def\special@paper{210mm,297mm}
\ExecuteOptions{noraiselinks,nobreaklinks,nocolorlinks,noplainpages,%
  nonesting,hyperindex,nohyperfigures,pageanchor}
\InputIfFileExists{hyperref.cfg}{}{}
\ProcessOptions
\ifHyper@driverloaded\else\input{hypertex.cfg}\fi
\ifHyper@Backref
 \RequirePackage{backref}
\else
 \def\Hyper@backout#1{}%
\fi
\@ActiveAnchorfalse
\def\hyper@link{\@ifnextchar[{\hyper@@link}{\hyper@@link[Normal]}}
\long\def\hyper@anchor#1#2{\hyper@@anchor#1\relax#2\relax}
\long\def\hyper@@anchor#1\relax#2#3\relax{%
\ifx\\#1\\#2\typeout{empty link? #1: #2#3}%
\else
 \def\anchor@spot{#2#3}%
 \def\put@me@back{}%
 \ifx\relax#2\relax
 \else
    \ifHyper@Nesting
    \else
       \ifcat a\noexpand#2\relax
       \else
         \ifcat 0\noexpand#2 \relax
         \else
           \def\anchor@spot{}%
           \def\put@me@back{#2#3}%
         \fi
      \fi
    \fi
 \fi
 \if@ActiveAnchor
      \anchor@spot
 \else
      \hyper@@@anchor{#1}%
 \fi
 \expandafter\put@me@back
\fi
}
\def\hyperlink#1#2{%
  \hyper@link{}{\hyper@hash#1}{#2}%
}%
\def\href#1#2{%
  \bgroup
  \let\%\@percentchar
  \let\#\hyper@hash
  \let\~\hyper@tilde
  \hyper@link{#1}{}{#2}%
  \egroup
}
\let\old@url\url
\def\url#1{\href{#1}{\old@url{#1}}}
\def\hypertarget#1#2{%
\ifHyper@Nesting
  \hyper@anchor{#1}{#2}%
\else
  \hyper@anchor{#1}#2
\fi
}
\def\hyperref{\@ifnextchar[{\label@hyperref}{\@hyperref}}
\def\@hyperref#1#2#3#4{% URL, category, name, text
  \bgroup
  \let\%\@percentchar
  \let\#\hyper@hash
  \let\~\hyper@tilde
  \ifx\\#2\\%
    \ifx\\#3\\%
     \hyper@link{#1}{}{#4}%
    \else
        \hyper@link{#1}{\hyper@hash#3}{#4}%
    \fi
  \else
    \hyper@link{#1}{\hyper@hash#2.#3}{#4}%
  \fi
  \egroup
}
\def\hyperdef{\@ifnextchar[{\label@hyperdef}{\@hyperdef}}
\def\@hyperdef#1#2#3#4{% URL, category, name, text
\ifHyper@Nesting
  \hyper@anchor{#1#2.#3}{#4}%
\else
  \hyper@anchor{#1#2.#3}#4
\fi
}
\def\label@hyperref[#1]#2{%
  \expandafter\label@@hyperref{\csname r@#1\endcsname}{#1}{#2}%
}
\def\label@@hyperref#1#2#3{%
  \ifx#1\relax
   \protect\G@refundefinedtrue
    \@latex@warning{Hyper reference `#2' on page \thepage \space
             undefined}%
   \hyper@link{}{??}{#3}%
  \else
   \hyper@link{}{#1}{#3}%
  \fi
}
\def\label@hyperdef[#1]#2#3#4#5{% label name, url, category, name,
                                % anchor text
  \@bsphack
  \protected@write\@auxout{}%
         {\string\newlabel{#1}{#2\protect\hyper@hash#3.#4}}%
  \@esphack
  \ifHyper@Nesting
   \hyper@anchor{#2#3.#4}{#5}%
  \else
   \hyper@anchor{#2#3.#4}#5
  \fi
}
\let\htmladdimg\hyperimage
\def\htmladdnormallink#1#2{\href{#2}{#1}}
\def\htmladdnormallinkfoot#1#2{\href{#2}{#1}\footnote{#2}}
\def\htmlref#1#2{% anchor text, label
  \label@hyperref[#2]{#1}%
}
\def\@@latextohtmlX{%
 \let\hhyperref\hyperref
 \def\hyperref##1##2##3##4{% anchor text for HTML
                     % text to print before label in print
                     % label
                     % post-label text in print
  ##2\ref{##4}##3}%
}
\let\real@setref\@setref
\def\@setref#1#2#3{% csname, extract macro, ref
  \ifx#1\relax
   \protect\G@refundefinedtrue
   \nfss@text{\reset@font\bfseries ??}%
   \@latex@warning{Reference `#3' on page \thepage \space
             undefined}%
  \else
   \hyper@link{}{\hyper@hash\expandafter\@fourthoffour#1\@empty\@empty}%
       {\expandafter#2#1\@empty\@empty\null}%
  \fi}
\def\pageref#1{\expandafter\@pagesetref\csname r@#1\endcsname
                                   \@secondoftwo{#1}}
\def\@pagesetref#1#2#3{% csname, extract macro, ref
  \ifx#1\relax
   \protect\G@refundefinedtrue
   \nfss@text{\reset@font\bfseries ??}%
   \@latex@warning{Reference `#3' on page \thepage \space
             undefined}%
  \else
   \hyper@link{}{\hyper@hash page.\expandafter\@secondoffour#1}%
       {\expandafter\@secondoffour#1}%
  \fi}
\def\realpageref#1{\expandafter\real@setref
  \csname r@#1\endcsname\@secondoffour{#1}}
\@ifundefined{thepart}{}{\newcommand\theHpart{\arabic{part}}}
\@ifundefined{thechapter}{%
     \newcommand\theHsection        {\arabic{section}}
     \newcommand\theHfigure         {\arabic{figure}}
     \newcommand\theHtable         {\arabic{table}}
  }{%
  \@ifundefined{thepart}%
    {\newcommand\theHchapter       {\arabic{part}.\arabic{chapter}}}
    {\newcommand\theHchapter       {\arabic{chapter}}}
  \newcommand\theHfigure        {\theHchapter.\arabic{figure}}
  \newcommand\theHtable        {\theHchapter.\arabic{table}}
  \newcommand\theHsection       {\theHchapter.\arabic{section}}
  }
\newcommand\theHsubsection    {\theHsection.\arabic{subsection}}
\newcommand\theHsubsubsection {\theHsubsection .\arabic{subsubsection}}
\newcommand\theHparagraph     {\theHsubsubsection.\arabic{paragraph}}
\newcommand\theHsubparagraph  {\theHparagraph.\arabic{subparagraph}}
\newcommand\theHtheorem       {\theHsection.\arabic{theorem}}
\newcommand\theHthm       {\theHsection.\arabic{thm}}
\newcommand\theHenumi  {\theHparagraph.\arabic{enumi}}
\newcommand\theHenumii  {\theHenumi.\arabic{enumii}}
\newcommand\theHenumiii  {\theHenumii.\arabic{enumiii}}
\newcommand\theHenumiv  {\theHenumiii.\arabic{enumiv}}
\newcommand\theHequation {\theHsection.\arabic{equation}}
\newcommand\theHHfootnote  {\arabic{Hfootnote}}
\newcommand\theHmpfootnote  {\arabic{mpfootnote}}
\let\theHHmpfootnote\theHHfootnote
\newcommand\theHslide  {\arabic{slide}}
\let\orig@appendix\appendix
\def\appendix{\orig@appendix
\@ifundefined{thechapter}%
 {\renewcommand\theHsection{\Alph{section}}}%
 {\renewcommand\theHchapter{\Alph{chapter}}}%
}
\let\H@refstepcounter\refstepcounter
\def\refstepcounter#1{%
 \def\w@t{equation}%
 \H@refstepcounter{#1}%
 \ifx#1\w@t
  \make@stripped@name{\theequation}%
  \let\theHequation\newname
 \fi
 \@ifundefined{theH#1}{%
  \expandafter\def\csname theH#1\endcsname{\arabic{#1}}%
  %\typeout{theH#1 defaulted to arabic counter}%
 }{}%
 \hyper@makecurrent{#1}%
 \hyper@anchorstart{\@currentHref}%
 \hyper@anchorend
}
\def\hyper@makecurrent#1{%
 \edef\@currentHlabel{\csname theH#1\endcsname}%
 \global\edef\@currentHref{#1.\expandafter
    \strip@prefix\meaning\@currentHlabel}%
}
\let\new@refstepcounter\refstepcounter
\let\H@equation\equation
\let\H@endequation\endequation
\@ifpackageloaded{amsmath}{}{%
 \def\equation{%
 \let\refstepcounter\H@refstepcounter
 \H@equation
 \make@stripped@name{\theequation}%
 \let\theHequation\newname
 \hyper@makecurrent{equation}%
 \hyper@anchorstart{\@currentHref}%
 \let\refstepcounter\new@refstepcounter
 }\def\endequation{\hyper@anchorend\H@endequation}}
\let\H@eqnarray\eqnarray
\let\H@endeqnarray\endeqnarray
\def\eqnarray{%
 \let\reserved@a\relax
 \H@eqnarray
 \make@stripped@name{\theequation}%
 \let\theHequation\newname
 \hyper@makecurrent{equation}%
 \hyper@anchorstart{\@currentHref}%
}
\def\endeqnarray{%
 \hyper@anchorend
 \H@endeqnarray
}
\@ifundefined{subeqnarray}{}%
{\let\H@subeqnarray\subeqnarray
 \let\H@endsubeqnarray\endsubeqnarray
 \def\subeqnarray{%
  \let\reserved@a\relax
  \H@subeqnarray
  \make@stripped@name{\theequation}%
  \let\theHequation\newname
  \hyper@makecurrent{equation}%
  \hyper@anchorstart{\@currentHref}%
  }%
  \def\endsubeqnarray{%
   \hyper@anchorend
   \H@endsubeqnarray
  }%
\newcommand\theHsubequation {\theHequation\alph{subequation}}%
}
\def\make@stripped@name#1{{%
 \escapechar\m@ne
 \global\let\newname\@empty
 \protected@edef\@tempa{#1}%
 \edef\@tempb{%
  \noexpand\@tfor\noexpand\@tempa:=\expandafter\strip@prefix\meaning\@tempa}%
 \@tempb\do{%
  \if{\@tempa\else
    \if}\@tempa\else
      \xdef\newname{\newname\@tempa}%
    \fi
  \fi}}}
\newcounter{Hfootnote}
\let\H@@footnotemark\@footnotemark
\let\H@@footnotetext\@footnotetext
\let\H@@mpfootnotetext\@mpfootnotetext
\long\def\@mpfootnotetext#1{%
  \H@@mpfootnotetext{%
\ifHyper@Nesting
  \hyper@anchor{\@currentHref}{#1}%
\else
  \hyper@anchor{\@currentHref}#1%
\fi
  }%
}
\long\def\@footnotetext#1{%
  \H@@footnotetext{%
\ifHyper@Nesting
  \hyper@anchor{\@currentHref}{#1}%
\else
  \hyper@anchor{\@currentHref}#1%
\fi
  }%
}
\def\@footnotemark{%
 \H@refstepcounter{Hfootnote}%
 \hyper@makecurrent{Hfootnote}%
 \hyper@linkstart{\hyper@hash\@currentHref}%
 \H@@footnotemark\hyper@linkend
}
\def\realfootnote{\@ifnextchar[\@xfootnote{\stepcounter{\@mpfn}%
     \protected@xdef\@thefnmark{\thempfn}%
     \H@@footnotemark\H@@footnotetext}}
\let\orig@maketitle\maketitle
\def\maketitle{%
 \let\H@@origfootnotemark\@footnotemark
 \let\H@@origfootnotetext\@footnotetext
 \let\@footnotemark\H@@footnotemark
 \let\@footnotetext\H@@footnotetext
 \orig@maketitle
 \ifx\@footnotemark\H@@footnotemark
  \let\@footnotemark\H@@origfootnotemark
 \fi
 \ifx\@footnotetext\H@@footnotetext
  \let\@footnotetext\H@@origfootnotetext
 \fi
}
\def\caption{\H@refstepcounter\@captype \@dblarg{\@caption\@captype}}
\long\def\@caption#1[#2]#3{%
  \hyper@makecurrent{\@captype}%
  \par\addcontentsline{\csname
  ext@#1\endcsname}{#1}{\protect\numberline{\csname
  the#1\endcsname}{\ignorespaces #2}}\begingroup
    \@parboxrestore
    \normalsize
    \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces
\ifx\\#3\\\def\cap@contents{~}\else\def\cap@contents{#3}\fi
\ifHyper@Nesting
 \hyper@anchorstart{\@currentHref}\cap@contents\hyper@anchorend
\else
 \hyper@anchor{\@currentHref}\cap@contents{}%
\fi
}\par
  \endgroup}
\def\hyper@natlinkstart#1{%
  \Hyper@backout{#1}%
  \hyper@linkstart{\hyper@hash cite.#1}%
}
\def\hyper@natlinkend{%
 \hyper@linkend[Cite]%
}
\def\hyper@natanchorstart#1{%
     \hyper@anchorstart{cite.#1}%
}
\def\hyper@natanchorend{\hyper@anchorend}
\@ifpackageloaded{natbib}{}{%
\def\bibcite#1#2{%
 \@newl@bel{b}{#1}{\hyper@link[Cite]{}{\hyper@hash cite.#1}{#2}}}%
\providecommand{\@BIBLABEL}{\@biblabel}%
\def\@lbibitem[#1]#2{%
 \item[\hyper@anchorstart{cite.#2}\@BIBLABEL{#1}\hyper@anchorend\hfill]%
 \if@filesw{\let\protect\noexpand
   \immediate\write\@auxout{%
     \string\bibcite{#2}{#1}}}%
  \fi
  \ignorespaces
}%
\def\@bibitem#1{%
 \item
 \hyper@anchor{cite.#1}{\relax}%
 \if@filesw {\let\protect\noexpand
 \immediate\write\@auxout{%
   \string\bibcite{#1}{\the\value{\@listctr}}}}%
 \fi
 \ignorespaces
}%
}
\@ifclassloaded{revtex}{%
 \typeout{*** Hyperref compatibility with revtex **** }%
 \def\revtex@checking#1#2{%
   \expandafter\let\expandafter\T@temp\csname b@#1\endcsname
   \expandafter\def\csname b@#1\endcsname{#2}%
   \@SetMaxRefLabel{#1}%
   \expandafter\let\csname b@#1\endcsname\T@temp
  }%
\@ifundefined{@CITE}{\def\@CITE{\@cite}}{}
\def\@CITEX[#1]#2{%
  \let\@citea\@empty
  \leavevmode\unskip$^{\scriptstyle
  \@CITE{\@for\@citeb:=#2\do
    {\@citea\def\@citea{,\penalty\@m\ }%
     \edef\@citeb{\expandafter\@firstofone\@citeb}%
     \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
     \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
       \G@refundefinedtrue
       \@latex@warning
         {Citation `\@citeb' on page \thepage \space undefined}}%
       {{\csname b@\@citeb\endcsname}}}}{#1}}$}
\def\@citex[#1]#2{%
  \let\@citea\@empty
  \@cite{\@for\@citeb:=#2\do
    {\@citea\def\@citea{,\penalty\@m\ }%
     \edef\@citeb{\expandafter\@firstofone\@citeb}%
     \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
     \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
       \G@refundefinedtrue
       \@latex@warning
         {Citation `\@citeb' on page \thepage \space undefined}}%
       {\hbox{\csname b@\@citeb\endcsname}}}}{#1}}
}{}
\@ifpackageloaded{harvard}{%
 \typeout{*** Hyperref compatibility with harvard **** }%
 \Hyper@raiselinksfalse
 \def\harvardcite#1#2#3#4{%
  \global\@namedef{HAR@fn@#1}{\hyper@link[Cite]{}{\hyper@hash cite.#1}{#2}}%
  \global\@namedef{HAR@an@#1}{\hyper@link[Cite]{}{\hyper@hash cite.#1}{#3}}%
  \global\@namedef{HAR@yr@#1}{\hyper@link[Cite]{}{\hyper@hash cite.#1}{#4}}%
  \global\@namedef{HAR@df@#1}{\csname HAR@fn@#1\endcsname}%
 }%
 \def\HAR@citetoaux#1{%
   \if@filesw\immediate\write\@auxout{\string\citation{#1}}\fi%
   \ifHyper@Backref
    \def\@nothing{}%
    \ifx\@nothing\@currentlabel\else
     \@bsphack
     \protected@write\@auxout{}%
     {\string\@writefile{brf}%
       {\string\backcite{#1}{{\@currentlabel}{\thepage}{\@currentHref}}}}%
     \@esphack
    \fi
  \fi
 }
 \def\harvarditem{\@ifnextchar[{\@harvarditem}{\@harvarditem[\null]}}
 \def\@harvarditem[#1]#2#3#4#5\par{%
 \item[]%
 \hyper@anchor{cite.#4}{\relax}%
 \if@filesw{ \def\protect##1{\string ##1\space}%
 \ifthenelse{\equal{#1}{\null}}
  {\def\next{{#4}{#2}{#2}{#3}}}
  {\def\next{{#4}{#2}{#1}{#3}}}
 \immediate\write\@auxout{\string\harvardcite\codeof\next}%
 }\fi%
 \protect\hspace*{-\labelwidth}\protect\hspace*{-\labelsep}\ignorespaces%
 #5
 \ifHyper@Backref
  \newblock
  \backref{\csname br@#4\endcsname}%
 \fi
 \par
}%
}{}
\def\@begindvi{%
  \unvbox \@begindvibox
 \ifHyper@pageanchor
  \@hyperfixhead
  \global\let \@begindvi \@hyperfixhead
 \else
  \global\let \@begindvi \@empty
 \fi
}
\def\hyperpageanchor{%
   \ifHyper@Plainpages
     \hyper@anchor{page.\arabic{page}}\relax
   \else
     \hyper@anchor{page.\thepage}\relax
   \fi
 }
\let\HYPERPAGEANCHOR\hyperpageanchor
\def\@hyperfixhead{%
 \let\H@old@thehead\@thehead
   \ifHyper@Plainpages
     \gdef\@foo{\hyper@anchor{page.\arabic{page}}}%
   \else
     \gdef\@foo{\hyper@anchor{page.\thepage}}%
   \fi
   \expandafter\ifx\expandafter\@empty\H@old@thehead
     \def\H@old@thehead{\hfil}\fi
  \def\@thehead{\@foo\relax\H@old@thehead}%
}
\def\addcontentsline#1#2#3{%
  \ifx\@currentHref\@empty
  \typeout{Warning. contentsline with no destination
     at line \the\inputlineno}\fi
  \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}{\@currentHref}}%
}
\def\contentsline#1#2#3#4{%
 \ifx\\#4\\%
  \csname l@#1\endcsname{#2}{#3}%
\else
 \csname l@#1\endcsname{%
    \hyper@linkstart{\hyper@hash#4}{#2}\hyper@linkend}
 {#3}%
\fi
}
\let\H@definecounter\@definecounter
\def\@definecounter#1{%
   \H@definecounter{#1}%
   \expandafter\def\csname theH#1\endcsname       {\arabic{#1}}%
}
\let\H@newctr\@newctr
\def\@newctr#1[#2]{%
  \H@newctr#1[#2]%
  \expandafter\def\csname theH#1\endcsname
    {\csname the#2\endcsname.\arabic{#1}}%
}
\let\Hmake@df@tag@@\make@df@tag@@
\def\make@df@tag@@#1{%
 \Hmake@df@tag@@{#1}%
 \global\edef\@currentHref{AMS.\theequation}%
}
\let\H@seteqlabel\@seteqlabel
\def\@seteqlabel#1{%
 \H@seteqlabel{#1}%
 \global\edef\@currentHref{AMS.\theequation}%
}
\ifHyper@Figures
 \def\Gin@setfile#1#2#3{%
 \hyperimage{#3}%
 }
\fi
\ifHyper@Index
 \def\@wrindex#1{\@@wrindex#1||\\}
 \def\@@wrindex#1|#2|#3\\{%
 \ifx\\#2\\%
   \protected@write\@indexfile{}%
      {\string\indexentry{#1|hyperpage}{\thepage}}%
 \else
   \protected@write\@indexfile{}%
      {\string\indexentry{#1|#2}{\thepage}}%
 \fi
 \endgroup
 \@esphack
}
\fi
\def\hyperpage#1{\@hyperpage#1----\\}
\def\@hyperpage#1--#2--#3\\{%
 \ifx\\#2\\%
    \@commahyperpage{#1}%
 \else
  \hyperlink{page.#1}{#1}--\hyperlink{page.#2}{#2}%
 \fi
}
\def\@commahyperpage#1{\@@commahyperpage#1, ,\\}
\def\@@commahyperpage#1, #2,#3\\{%
 \ifx\\#2\\%
   \hyperlink{page.#1}{#1}%
 \else
   \hyperlink{page.#1}{#1}, \hyperlink{page.#2}{#2}%
 \fi
}
\let\oldslide@heading\slide@heading
\def\slide@heading[#1]#2{%
 \@writetorep{#1}{slide.\theslide}{0}%
 \oldslide@heading[#1]{#2}%
}
\@ifundefined{listofslides}{}{%
 \def\l@slide#1#2#3{%
    \slide@undottedcline{\slidenumberline{#3}{\hyperlink{slide.#2}{#2}}}{}}%
}
\def\NoHyper{%
  \def\hyper@anchor##1##2{##2}%
  \def\hyper@@link[##1]##2##3##4{##4}%
  \def\hyper@anchorstart##1{}%
  \def\hyper@anchorend{}%
  \def\hyper@anchorendspecial{}%
}
\def\endNoHyper{}
\edef\hyper@hash{\string#}
\edef\hyper@tilde{\string~}
\edef\hyper@quote{\string"}
\def\@currentHref{}
\ifHyper@Figures
 \typeout{*Hyperref:  Hyper figures ON*}
\else
 \typeout{*Hyperref:  Hyper figures OFF*}
\fi
\ifHyper@Nesting
 \typeout{*Hyperref:  Link nesting ON*}
\else
 \typeout{*Hyperref:  Link nesting OFF*}
\fi
\ifHyper@Index
 \typeout{*Hyperref:  Hyperindex ON*}
\else
 \typeout{*Hyperref:  Hyperindex OFF*}
\fi
\ifHyper@Plainpages
 \typeout{*Hyperref:  Plain pages ON*}
\else
 \typeout{*Hyperref:  Plain pages OFF*}
\fi
\ifHyper@Backref
 \typeout{*Hyperref: Backreferencing ON*}
\else
 \typeout{*Hyperref: Backreferencing OFF*}
\fi
\ifHyper@colorlinks
    \typeout{*Hyperref: Link coloring ON*}
\else
    \typeout{*Hyperref: Link coloring OFF*}
\fi
\expandafter\def\csname /LNKcolor\endcsname{\LinkColor}
\expandafter\def\csname /ANNcolor\endcsname{\LinkColor}
\expandafter\def\csname /DESTcolor\endcsname{\AnchorColor}
\def\AnchorColor{blue}
\def\LinkColor{red}
\endinput
%%
%% End of file `hyperref.sty'.
