I don't know squat about this but would something like this work?

Code:
print "<center><img src = 'progressbar.gif'></img></center>";
and put the animated gif in the cgi-bin?

I got this from http://aspn.activestate.com/ASPN/Mail/M ... eb/3484698

Where it says in the example:

Code:
print "<center> <img src = 'hrabargraph2.gif'></img></center>







";