% \setseal lets you select which psfile to include
% \getseal does the actual work
%    Richard Chang, 8/11/93

\def\setseal#1{\def\getseal{\special{psfile="#1" voffset=-36}}}
\def\getseal{\special{psfile="seal.cs.umbc.ps" voffset=-36}}
\def\ps@firstpage{
  \def\@oddhead{ \hspace*{-.75in}\hspace*{-\oddsidemargin} \getseal \hfil ~}
  \def\@oddfoot{\raisebox {-45pt}[0pt]{\hbox to \textwidth
 {\hspace*{100pt}\xpt\fromlocation \hfill
\telephonenum}}\hss}\def\@evenhead{}\def\@evenfoot{}}


\def\opening#1{\ifx\@empty\fromaddress
 \thispagestyle{firstpage} 
 {\raggedleft\@date\par}
 \else 
%
%  select the firstpagestyle in either case
 \thispagestyle{firstpage} 
 {\raggedleft\begin{tabular}{l}\ignorespaces\fromaddress \\*[2\parskip]
 \@date \end{tabular}\par}
 \fi
 \vspace{2\parskip}
 {\raggedright \toname \\ \toaddress \par}\vspace{2\parskip}
 #1\par\nobreak}
\long\def\closing#1{\par\nobreak\vspace{\parskip} 
 \stopbreaks
 \noindent
 \ifx\@empty\fromaddress\else
 \hspace*{\longindentation}\fi
 \parbox{\indentedwidth}{\raggedright
 \ignorespaces #1\\[6\medskipamount] \ifx\@empty\fromsig 
 \fromname
 \else \fromsig \fi\strut}
 \par}
