function panoReset() {
  document.ptviewer.gotoView(160, 0, 80);
  document.ptviewer.stopAutoPan();
}
function panoMove(pan, tilt) {
  document.ptviewer.startAutoPan(pan, tilt, 1.0);
}
function panoStop() {
  document.ptviewer.stopAutoPan();
}
function panoZoom(zoomFactor) {
  document.ptviewer.startAutoPan(0, 0, zoomFactor);
}

function NewPano(sel_el) {
  document.ptviewer.newPanoFromList(sel_el.options[sel_el.options.selectedIndex].value);
  document.ptviewer.startAutoPan(0.4, 0.0, 1.0);
}
