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 Restore() { 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}