Is there a way to pre-load images -- ( after the rest of the page has loaded or before anything has loaded ) -- while showing a progress bar and then start a slideshow of those images?

Any code-snippets or links/tutorials would be greatly appreciated.

Thanks!