Just saw this posted over on Photoshop Disasters and I personally always wondered how this was done.  I am surprised how incredibly simple it is if you took your shots properly.  Enjoy.