On the Window menu, there's the Auto Hide All command.
This blog post has moved to http://saraford.net/2008/01/16/did-you-know-you-can-auto-hide-all-of-your-tool-windows-with-one-command-130/