	var ns = (navigator.appName.indexOf('Netscape') != -1)?1:0;  // Ook waar voor FireFox: = Netscape versie 5
	var ie = (navigator.appName.indexOf('Explorer') != -1)?1:0;

              var ix=1;
	var xSpd=0;
	
	function scroll() {
	  ix += xSpd;
	  if (PanoramaOver360graden ) {			 
	   if (ix > 0) ix -= img_width;
	   if (ix < -img_width) ix += img_width;
	} else {			
	  if (ix > 0) ix = 0;
	  if (ix < -img_width + document.body.clientWidth) ix = -img_width  + document.body.clientWidth;
                }
              document.getElementById('Panorama').style.left= ix;
	setTimeout("scroll()",15);
	}

	function move(e) {
	  if (ie) {
	    var mx=window.event.x+document.body.scrollLeft;
	    var my=window.event.y+document.body.scrollTop;
	  } else if (ns) {
	      var mx=e.pageX;
	      var my=e.pageY;
	    }
	  if (mx > 0 && my > 50 && mx < document.body.clientWidth && my <500) {
	   // xSpd=parseInt((500-mx)/15);
	    xSpd=parseInt((document.body.clientWidth-2*mx)/30);
	  } else xSpd = 0;
	}

	function init() {
	  if (ns) document.captureEvents(Event.MOUSEMOVE);
	  document.onmousemove=move;
	  scroll();
	}

	onload = init;

	// -->

