It is a div which is absolutely positioned using the image/page offset.
An easy way to do it is using
JQuery[
^]. Have a look at a couple of links
here[
^], the first link has a pretty good example, although you could always make the content of popup more dynamic using AJAX.