It’s done with the jQuery facybox script, which you can see by viewing the page’s source code. (Beware, though, as that page makes terrible use of jQuery, adding the library many times over, which is usually a recipe for disaster. A very amateur use of JS there.)