function DoAutorotationStartl() { 
if (pano==0)
      document.ptviewer.startAutoPan(0.1, 0.0, 1.0); //rotation de 0.1 pour le pano 0
else if (pano==1)
      document.ptviewer.startAutoPan(0.1, 0.0, 1.0); //rotation de 0.1 pour le pano 1
else if (pano==2)
      document.ptviewer.startAutoPan(0.1, 0.0, 1.0); //rotation de 0.1 pour le pano 2
else if (pano==3)
      document.ptviewer.startAutoPan(-0.1, 0.0, 1.0); //rotation inverse de 0.1 pour le pano 3
else if (pano==4)
      document.ptviewer.startAutoPan(0.1, 0.0, 1.0); //rotation de 0.1 pour le pano 4
else if (pano==6)
      document.ptviewer.startAutoPan(-0.1, 0.0, 1.0); //rotation inverse de 0.1 pour le pano 6
else if (pano==8)
      document.ptviewer.startAutoPan(0.1, 0.0, 1.0); //rotation de 0.1 pour le pano 8
else
      document.ptviewer.startAutoPan(0.1, 0.0, 1.0); //rotation de 0.1 pour tous les autres
} function DoAutorotationStartu() { document.ptviewer.startAutoPan( 0.0, 0.5, 
1.0 ); } function DoAutorotationStartd() { document.ptviewer.startAutoPan( 0.0, 
-0.5, 1.0 ); } function DoAutorotationStartr() { document.ptviewer.startAutoPan( 
0.5, 0.0, 1.0 ); } function DoAutorotationStop() { document.ptviewer.stopAutoPan(); 
} function DoZoomIn() { document.ptviewer.startAutoPan( 0.0, 0.0, 1.0/1.03 ); 
} function DoZoomOut() { document.ptviewer.startAutoPan( 0.0, 0.0, 1.03 ); } function 
DoReset() { document.ptviewer.gotoView( 73.3, 0, 53 ); } function startPano(n) 
{ document.ptviewer.newPanoFromList(n); } function gotoView(pan,tilt,fov){ document.ptviewer.gotoView(pan,tilt,fov); 
} function getPanoNumber(){ pnumb = document.ptviewer.getPanoNumber() } 
