This is a hotspots generator for ptviewer:
http://www.fsoft.it/panorama/ptviewer.htm
http://webuser.hs-furtwangen.de/~dersch/


User instruction is:

1.Browse the required pano file. (equirectangular projection, *.jpg or *.jpa format)
2.Click View button.
3.Click with the mouse on upper-left corner of the hotspot.
4.Click the XY button.
5.Click with the mouse on lower-right corner of the hotspot.
6.Click the AB button.
7.Click the Print Line button.
8.Insert manually pano number in generated script line.
9.Repeat steps 3 to 8 for each hotspot.
10. Copy the generated code into your html page.