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

	<scene name="hall1" onstart="action(showinterface,Ресепшн холл первый этаж); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="SPHERE"><sphere url="panoramas/resep.jpg" /></image>
		<preview type="SPHERE" url="panopvs/resep-pv.jpg" />
				<hotspot name="room101" url="hotspot.png" ath="100" atv="-1" />
				<hotspot name="sauna" url="hotspot.png" ath="94" atv="5" />	
				<hotspot name="hall2" url="hotspot.png" ath="55" atv="8" />
				<hotspot name="konfmal" url="hotspot.png" ath="99" atv="5" />	
				<hotspot name="vxod1" url="hotspot.png" ath="180" atv="4" />
				<hotspot name="hall3" url="hotspot.png" ath="57" atv="0" />
	</scene>
				<plugin name="hall1" url="panotns/resep-tn.jpg" keep="true" visible="false"/>	
				<plugin name="vxod1" url="panotns/paradnaja-tn.jpg" keep="true" visible="false"/>	
				<plugin name="sauna" url="panotns/saunarest-tn.jpg" keep="true" visible="false"/>	
				<plugin name="konfmal" url="panotns/konfmal-tn.jpg" keep="true" visible="false"/>	
				<plugin name="hall2" url="panotns/hall2-tn.jpg" keep="true" visible="false"/>	
				<plugin name="hall3" url="panotns/hall3-tn.jpg" keep="true" visible="false"/>	
				<plugin name="room101" url="panotns/room101-tn.jpg" keep="true" visible="false"/>	


	<action name="createbuttons">set(xpos,5); set(scrollw,477); 
			settingbutton( hall1, Ресепшн, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( vxod1, Парадный вход, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( sauna, Сауна, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( konfmal, Конференцзал малый, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( hall2, Холл второй этаж, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( hall3, Холл третий этаж, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( room101, Номер 1-01, get(xpos)); inc(xpos,90); inc(scrollw,-90); 

			settinghotspot( room101, Номер 1-01, 5 ); gotoxml(room101,%CURRENTXML%/room101.xml);
			settinghotspot( sauna, Сауна, 5 ); gotoxml(sauna,%CURRENTXML%/sauna.xml);
			settinghotspot( konfmal, Конференцзал малый, 5 ); gotoxml(konfmal,%CURRENTXML%/konfmal.xml);
			settinghotspot( hall2, Холл второй этаж, 5 ); gotoxml(hall2,%CURRENTXML%/hall2.xml);
			settinghotspot( hall3, Холл третий этаж, 5 ); gotoxml(hall3,%CURRENTXML%/hall3.xml);
			settinghotspot( vxod1, Парадный вход, 5 ); gotoxmlpano(vxod1,%CURRENTXML%/vxod1.xml, vxod, 5);
	</action>

	<action name="removeall">
			removeplugin( room101); 
			removeplugin( sauna); 
			removeplugin( konfmal); 
			removeplugin( hall2); 
			removeplugin( hall3); 
			removeplugin( vxod1); 

			removehotspot( room101); 
			removehotspot( sauna); 
			removehotspot( konfmal); 
			removehotspot( hall2); 
			removehotspot( hall3); 
			removehotspot( vxod1); 
	</action>	
	
</krpano>

