<?xml version = '1.0'?>
<panorama>
	<parameters>
		panoName=../arstaviken/img/arstaviken090627
		panHome=-145
		tiltHome=2
		zoomHome=0.8
		friction = 0.90 
		segments = 30
		qualityStatic = high
		qualityMotion = low
		qualityStatic2 = high
		qualityMotion2 = low

		layer_3 = ../hotspots.swf
		layer_4 = ../menuFullscreen.swf
		layer_7 = ../groups.swf
	</parameters>

	<hotspots>
		<global 
			onTransitionEnd="returnHome()"
			returnHome="pano.pan=-125,5000;pano.tilt=2,5000;pano.zoom=1.6,5000"
		>
			<pano leash="lock" />

			<spot id="FSbutton" url="../img/full.png" alt="Fullscreen on/off" static="1" salign="TL" staticX="35" staticY="35" scale="1" alpha="0.65" onClick="fullscreen(-)" />

			<spot id="left" static="1" salign="BC" staticX="-150" staticY="-50.5"  url="../img/black_l.png" blockMouse="1" 
				onPress="pano.panKey=-2,500" scale="0.6" onRelease="pano.panKey=0"
			/>
			<spot id="right" static="1" salign="BC" staticX="-100" staticY="-50.5"  url="../img/black_r.png" blockMouse="1"
				onPress="pano.panKey=2,500" scale="0.6" onRelease="pano.panKey=0"
			/>
			<spot id="down" static="1" salign="BC" staticX="-50" staticY="-50"  url="../img/black_d.png" blockMouse="1"
				onPress="pano.tiltKey=-2,500" scale="0.6" onRelease="pano.tiltKey=0"
			/>
			<spot id="up" static="1" salign="BC" staticX="0" staticY="-50"  url="../img/black_u.png" blockMouse="1"
				onPress="pano.tiltKey=2,500" scale="0.6" onRelease="pano.tiltKey=0"
			/>
			<spot id="zoomOut" static="1" salign="BC" staticX="50" staticY="-50"  url="../img/black_m.png" blockMouse="1"
				onPress="pano.zoomKey=-2,500" scale="0.6" onRelease="pano.zoomKey=0"
			/>
			<spot id="zoomIn" static="1" salign="BC" staticX="100" staticY="-50"  url="../img/black_p.png" blockMouse="1"
				onPress="pano.zoomKey=2,500" scale="0.6" onRelease="pano.zoomKey=0"
			/>
			<spot id="full" static="1" salign="BC" staticX="150" staticY="-50"  url="../img/black_f.png" 
				 scale="0.6" onClick="fullscreen(-)"
			/>

			<spot id="box5" url="../textbox.swf"	static="1" salign="BR" align="BR" staticX="-10" staticY="-165"
				mouseChildren="0" visible="1" 
				width="120" wordwrap="1" textalign="center"
				margin="5" font="Comic Sans MS" size="12" color="#FFFFFF" bgcolor="#0000FF" bordercolor="#FFFFFF" 
				text="This is textbox 5"
			/>
			<spot id="box4" url="../textbox.swf"	static="1" salign="BR" align="BR" staticX="-10" staticY="-135"
				mouseChildren="0" visible="1" 
				width="120" wordwrap="1" textalign="center"
				margin="5" font="Comic Sans MS" size="12" color="#FFFFFF" bgcolor="#0000CF" bordercolor="#FFFFFF" 
				text="This is textbox 4"
			/>
			<spot id="box3" url="../textbox.swf"	static="1" salign="BR" align="BR" staticX="-10" staticY="-105"
				mouseChildren="0" visible="1" 
				width="120" wordwrap="1" textalign="center"
				margin="5" font="Comic Sans MS" size="12" color="#FFFFFF" bgcolor="#0000AF" bordercolor="#FFFFFF" 
				text="This is textbox 3"
			/>
			<spot id="box2" url="../textbox.swf"	static="1" salign="BR" align="BR" staticX="-10" staticY="-75"
				mouseChildren="0" visible="1" 
				width="120" wordwrap="1" textalign="center"
				margin="5" font="Comic Sans MS" size="12" color="#FFFFFF" bgcolor="#00008F" bordercolor="#FFFFFF" 
				text="This is textbox 2"
			/>
			<spot id="box1" url="../textbox.swf"	static="1" salign="BR" align="BR" staticX="-10" staticY="-45"
				mouseChildren="0" visible="1" 
				width="120" wordwrap="1" textalign="center"
				margin="5" font="Comic Sans MS" size="12" color="#FFFFFF" bgcolor="#00006F" bordercolor="#FFFFFF" 
				text="This is textbox 1"
			/>
			<spot id="buttonsBtn" url="../textbox.swf"	static="1" salign="BL" align="BL" staticX="10" staticY="-75"
				mouseChildren="0" visible="1" 
				margin="5" font="Comic Sans MS" size="12" color="#FFFFFF" bgcolor="#000000" bordercolor="#FFFFFF" 
				onClick="external.groups.buttons=visible+=1"
				text="Show/Hide buttons"
			/>
			<spot id="textsBtn1" url="../textbox.swf"	static="1" salign="BL" align="BL" staticX="10" staticY="-45"
				mouseChildren="0" visible="1" 
				margin="5" font="Comic Sans MS" size="12" color="#FFFFFF" bgcolor="#000000" bordercolor="#FFFFFF" 
				onClick="hideBoxes"
				hideBoxes="external.groups.boxes=alpha=0,1200;onClick=showBoxes"
				showBoxes="external.groups.boxes=alpha=1,500;onClick=hideBoxes"
				text="Show/Hide text boxes"
			/>
			<spot id="textsBtn2" url="../textbox.swf"	static="1" salign="BL" align="BL" staticX="10" staticY="-15"
				mouseChildren="0" visible="1" 
				margin="5" font="Comic Sans MS" size="12" color="#FFFFFF" bgcolor="#000000" bordercolor="#FFFFFF" 
				onClick="moveUp"
				moveUp="external.groups.boxes=staticY-=500,2000;onClick=moveDown;hideBtn2"
				moveDown="external.groups.boxes=staticY+=500,2000;onClick=moveUp;hideBtn2"
				hideBtn2="visible=0;timer+=1,2000,,showBtn2"
				showBtn2="visible=1"
				text="Move text boxes"
			/>

		</global>
	</hotspots>

	<groups>
		buttons = left,down,right,up,zoomOut,zoomIn,full
		boxes   = box1,box2,box3,box4,box5
	</groups>

</panorama>

