If you look in the KR Pano Viewer folder, the one that came with the tools folder, it has examples and scripts for all of the plugins, combo box, text field etc. Basically you have to add the script to your xml file and upload the .js and .swf files to your virtual tour folder. The scipt tells the pano where to look for the file, the .js and .swf files make it happen. The way I learned was by looking at the examples and just taking it apart and putting it back together, a lot of trial and error...someone correct me if I am wrong on this advice. For autoratate you can add this code to the bottom of your xml file outside of the last scene tag. I am not sure why the below script keeps separating when I copy and paste it, but you can also see what I am talking about here
http://krpano.com/docu/xml/#top. I would just read the tools, plugins and documentation sections a lot.
<autorotate
enabled=
"true"
waittime=
"1.0"
accel=
"1"
speed=
"3"
horizon=
"0"
tofov=
"90"
/>