Loading progress screen

Any one have a good recommendation for doing a loading progress
i.e. when a page is being loaded, a ‘loading in progress’ is displayed
(like a modal overlay)
then it is removed once the page is loaded.

(I already looked at prototype windows and its a bit too buggy).