<!--
/*
	OPENTOUR.JS V 4.10
	(c) 2001-2004 Philippe Benthien

	opentour(panorama, [viewerfile], [broadband = true|false], [big = true|false], [navbar = x (0 = no navbar) | URL ], [panoset = see below])

	panoset =	indicate how the list of panoramas should be displayed inside the selector
			acceptable values are:
				all:		displays all areas, houses and panoramas (DEFAULT)
				allshort:	displays all areas & houses only, then expand panoramas for the selected house
				house:	displays all panoramas belonging to the same house
				area:		displays all houses & panoramas belonging to the same area
*/
var calendus_virtualtour_panorama, calendus_virtualtour_viewerfile, calendus_virtualtour_broadband, calendus_virtualtour_big, calendus_virtualtour_navbar, calendus_virtualtour_panoset

function calendus_opentour(panorama, viewerfile, broadband, big, navbar, panoset)
 {
 if (calendus_virtualtour_panorama != undefined) panorama = calendus_virtualtour_panorama
 if (calendus_virtualtour_viewerfile != undefined) viewerfile = calendus_virtualtour_viewerfile
 if (calendus_virtualtour_broadband != undefined) broadband = calendus_virtualtour_broadband
 if (calendus_virtualtour_big != undefined) big = calendus_virtualtour_big
 if (calendus_virtualtour_navbar != undefined) navbar = calendus_virtualtour_navbar
 if (calendus_virtualtour_panoset != undefined) panoset = calendus_virtualtour_panoset

 if (viewerfile	== undefined || viewerfile == '') viewerfile = '/calendus/index.html'
 var vtour = open(viewerfile + '?panorama=' + panorama + (((broadband != undefined) && (broadband != '')) ? '&broadband=' + broadband : '') + (((big != undefined) && (big != '')) ? '&big=' + big : '') + (((navbar != undefined) && (navbar != '')) ? '&navbar=' + navbar : '') + (((panoset != undefined) && (panoset != '')) ? '&panoset=' + panoset : ''), 'tour','dependent = yes, directories = no, width = 400, height = 400, innerWidth = 400, innerHeight = 400, hotkeys = no, location = no, menubar = no, personalbar = no, resizable = no, scrollbars = no, status = no, toolbar = no')
 vtour.focus()
 return false
 }

//-->