Photo viewer

hi, just wondering if anybody knows of a tutorial (or anything similar) regarding the theory behind this really cool photo viewer - http://www.airtightinteractive.com/projects/postcardviewer/ - (click the photo viewer demo link)

Just wanting to know how the movement and enlarging aspects are created, cos it looks rather good. or if it could be modifiyed to have music playing in the background for instance.

thanks!!