<krpano logkey="false" actionintervalbase="frame" onstart="action(loadfirstpano,sauna);" >
	<include url="i&s/settings.xml" />
	<include url="i&s/interface.xml" />

	<scene name="sauna" onstart="action(showinterface,Сауна комната отдыха); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="SPHERE"><sphere url="panoramas/saunarest.jpg" /></image>
		<preview type="SPHERE" url="panopvs/saunarest-pv.jpg" />
				<hotspot name="saunabil" url="hotspot.png" ath="171" atv="2" />
				<hotspot name="hall1" url="hotspot.png" ath="-95" atv="2" />	
	</scene>
	<plugin name="sauna" url="panotns/saunarest-tn.jpg" keep="true" visible="false"/>	
	
	<scene name="saunabil" onstart="action(showinterface,Сауна бильярдная); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="SPHERE"><sphere url="panoramas/saunabil.jpg" /></image>
		<preview type="SPHERE" url="panopvs/saunabil-pv.jpg" />
				<hotspot name="sauna" url="hotspot.png" ath="161" atv="2" />
				<hotspot name="saunapar" url="hotspot.png" ath="-57" atv="2" />
				<hotspot name="saunabas" url="hotspot.png" ath="-64" atv="2" />
	</scene>
	<plugin name="saunabil" url="panotns/saunabil-tn.jpg" keep="true" visible="false"/>	
	
	<scene name="saunarazd" onstart="action(showinterface,Сауна раздевалка); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="SPHERE"><sphere url="panoramas/saunarazd.jpg" /></image>
		<preview type="SPHERE" url="panopvs/saunarazd-pv.jpg" />
				<hotspot name="saunabas" url="hotspot.png" ath="145" atv="5" />
	</scene>
	<plugin name="saunarazd" url="panotns/saunarazd-tn.jpg" keep="true" visible="false"/>
	
	<scene name="saunabas" onstart="action(showinterface,Сауна бассейн); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="SPHERE"><sphere url="panoramas/saunabas.jpg" /></image>
		<preview type="SPHERE" url="panopvs/saunabas-pv.jpg" />
				<hotspot name="saunabil" url="hotspot.png" ath="182" atv="3" />
				<hotspot name="saunapar" url="hotspot.png" ath="175" atv="4" />
				<hotspot name="saunarazd" url="hotspot.png" ath="-165" atv="4" />
	</scene>
	<plugin name="saunabas" url="panotns/saunabas-tn.jpg" keep="true" visible="false"/>
	
	<scene name="saunapar" onstart="action(showinterface,Сауна парилка); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="SPHERE"><sphere url="panoramas/saunapar.jpg" /></image>
		<preview type="SPHERE" url="panopvs/saunapar-pv.jpg" />
				<hotspot name="saunabas" url="hotspot.png" ath="-58" atv="6" />
				<hotspot name="saunabil" url="hotspot.png" ath="-73" atv="6" />
	</scene>
	<plugin name="saunapar" url="panotns/saunapar-tn.jpg" keep="true" visible="false"/>
	
	<plugin name="hall1" url="panotns/resep-tn.jpg" keep="true" visible="false"/>	

	<action name="createbuttons">set(xpos,5); set(scrollw,477); 
			settingbutton( sauna, Сауна комната отдыха, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( saunabil, Сауна бильярдная, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( saunarazd, Сауна раздевалка, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton( saunabas, Сауна бассейн, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( saunapar, Сауна парилка, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( hall1, Ресепшн холл первый этаж, get(xpos)); inc(xpos,90); inc(scrollw,-90); 

			settinghotspot( sauna, Сауна комната отдыха, 5 );
			settinghotspot( saunabil, Сауна бильярдная, 95 );
			settinghotspot( saunarazd, Сауна раздевалка, 185 );
			settinghotspot( saunabas, Сауна бассейн, 275 );
			settinghotspot( saunapar, Сауна парилка, 365 );
			settinghotspot( hall1, Ресепшн холл первый этаж, 455 ); gotoxml(hall1,hall1.xml);
	</action>
	
	<action name="removeall">
			removeplugin( sauna); 
			removeplugin( saunabil); 
			removeplugin( saunarazd);
			removeplugin( saunabas); 
			removeplugin( saunapar); 
			removeplugin( hall1); 

			removehotspot( saunabil); 
			removehotspot( saunarazd);
			removehotspot( saunabas); 
			removehotspot( saunapar); 
			removehotspot( hall1); 
	</action>	

</krpano>
