Word and .htm

Help....

I have a lengthy document with inserted pictures that point to .gif files on a server. In the Word these .gifs look fine. However, when I try and save back the Word document as .htm, the links to the .gifs on the server go away and are replaced by files named image1.gif, image2, etc. How can I save back a .doc file as .htm and not have the original .gif links replaced ?