My memories might be blurry. But I think it was photoshop, and there was this slice tool where you can define the segments of the design and export it to HTML. But Fireworks might also have the same feature, I personally never used it so I can’t say for sure.
Oh also remember Dreamweaver :)