

function DoAutorotationStart() {
        document.ptviewer.startAutoPan( 0.0, 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 DoShowHideHotspots() {
	document.ptviewer.toggleHS();
}
function DoReset() {
	document.ptviewer.gotoView( 100.0, 0.0, 0.0 );
}
function DisplayPan() {
	status = document.ptviewer.pan().toString() ;
}
function DisplayTilt() {
	status = document.ptviewer.tilt().toString() ;
}
function DisplayFov() {
	status = document.ptviewer.fov().toString() ;
}

function mousehs(n) {
	if( n== -1 )
   			document.cn.hsnum.value = "---" ;
	else
   			document.cn.hsnum.value = n ;
}
function getview(p,t,f) {
   document.cn.pan.value = p ;
   document.cn.tilt.value = t ;
   document.cn.fov.value = f ;
}

function NewPano(  ) {
	document.ptviewer.newPanoFromList(0);
}

