	function open_more(url) // pops the more windows that are local pages
	{ 
	new_window = window.open(url,'morepages','toolbar=no,menubar=no,scrollbars=no,resizable=yes,dependent=no,status=yes,width=650,height=500,screenX=10,left=10,screenY=40,top=40').focus();
	}

	function open_pano(url) // pops the enlarged version of the pano from the HTML version of the tour
	{ 
	new_window = window.open(url,'pano','toolbar=no,menubar=no,scrollbars,resizable=yes,dependent=no,status=yes,width=650,height=390,left=10,screenX=0,left=0,screenY=0,top=0').focus();
	}
	
	function open_map(url) // pops the main map for the high bandwidth version
	{ 
	new_window = window.open(url,'map','toolbar=no,menubar=no,scrollbars=no, resizable=yes,dependent=no,status=yes,width=603,height=420,left=50, alwaysRaised=no').focus();
	}
	
	function open_directory(url) // pops the main map for the high bandwidth version
	{ 
	new_window = window.open(url,'directory','toolbar=no,menubar=yes,scrollbars=yes, resizable=yes,dependent=no,status=yes,width=650,height=420,left=50, alwaysRaised=no,screenX=10,left=10,screenY=30,top=30').focus();
	}
	
	
	function open_more_external(url) // pops the external more pages from the both versions of the tour
	{ 
	new_window = window.open(url,'external','toolbar,menubar,location,scrollbars, resizable=yes,dependent=no,status=yes,width=650,height=420,screenX=0,left=0,screenY=100,top=100').focus();
	}
	
	
	function open_video(url) // pops the video from both versions of the tour
	{ 
	new_window = window.open(url,'video','toolbar=no,menubar=no,resizable=no,dependent=no,status=yes,width=400,height=300,screenX=0,left=0,screenY=0,top=0').focus();
	}
	
	var myWindow;
	
	function moveIt()
	{
		if ((window.myWindow) && (myWindow.closed == false))
			myWindow.moveTo(document.testform.moveX.value, document.testform.moveY.value).focus();
	
	}
	function scrollIt()
	{
		if ((window.myWindow) && (myWindow.closed == false))
			myWindow.scrollTo(document.testform.scrollX.value, document.testform.scrollY.value).focus();
	
	}
	function resizeIt(url) // an attempt to expand the window size when loading the map from the QTVRs
					// the QTVR window size needs to be smaller than the map or it looks ugly
	{
		if ((window.qt) && (qt.closed == false))
			qt.resizeTo(600, 414).focus();
			window.location = url;
			
	}
	

