Where you normally put pano.jpg place pano.ptv
Use a template for your html code.
Easypano PTViewer Scripter is a good answer.
PTViewer can do this.
Mouse over the applet and press the "H" and "V" keys on your keyboard and read the browser status bar at the bottom.
Pressing the letter "I" will give you the .jar file version.