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 );
}

//Dummyfunktionen
function mousehs(n) {
}

function getview(p,t,f) {
}

function NewPano( ) {
  document.ptviewer.newPanoFromList(0);
}

function BaueLocation ()
{
	var ich, du, er;
	ich = window.location.href;
	du = ich.replace( /praesentation\d.+html/, "");
	
	if (ich==du)
	{
		//keine änderung, sollte index.html sein
		du = ich.replace( /praesentation\.html/, "");

		if (ich==du)
		{
			//nanana
			return (window.location.href);
		}

	}
	er = du + "praesentation" + document.forms[0].pano_id.options[document.forms[0].pano_id.selectedIndex].value + ".html";
	return(er);
}

