\newenvironment{flushimage}{\begin{toimage}}{\end{toimage}\imageflush}
\newcommand{\epsfbox}[1]{\begin{flushimage}\epsfbox{#1}\end{flushimage}}
\newenvironment{centergpic}
  {\begin{toimage}}
  {\box\graph\end{toimage}\begin{center}\imageflush\end{center}}