Maybe if you try and Preload the animated gif, this way you are sure all layers/images of the animated gif have been downloaded. (by the way, your code and the code bellow shows me an animated gif on my Explorer 6.0 for Windows)
Some text goes in here.
This is what gets replaced on click.
This is the new layer that shows after clicking on submit.
Some more text.