Make an indeterminately-sized footer float to the bottom of pages where the content doesn't fill the window, and make it stay at the end of a page that does.