Since the subroutines handle their own HTML, we don't need it here.
We'll eliminate the my statement and use it on-the-fly instead.
We'll also eliminate local($::flag); as it isn't needed at
the file level. Finally we'll change some indenting and change double quotes
to single quotes where possible: