ErrorZilla is a firefox extension that replaces the default error pages with a custom one. With a few extra buttons added it quite easily became one of my must have extensions.
Buttons : retry, google cache, ping, trace, whois, wayback, coralize.
Get the ErrorZilla firefox extention here