Advanced preloader - but how?

I have seen this sort of preloader before but i am wondering how it is done. If you visit this site:

http://www.mediaboom.com/main.html

you will notice that as you click each page, the preloader works over the top of the existing page until it reaches 100% and then the new page loads. Do you know how this is done?

Many thanks.

Marley.