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

	<scene name="resep1" onstart="action(showinterface,Ресепшн); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="SPHERE"><sphere url="panoramas/resep1.jpg" /></image>
		<preview type="SPHERE" url="panopvs/resep1-pv.jpg" />
				<hotspot name="salon" url="hotspot.png" ath="135" atv="-1" />
				<hotspot name="lift2" url="hotspot.png" ath="158" atv="-1" />	
				<hotspot name="resep2" url="hotspot.png" ath="-118" atv="0" />
				
	</scene>
				<plugin name="resep1" url="panotns/resep1-tn.jpg" keep="true" />	
				<plugin name="salon" url="panotns/salon-tn.jpg" keep="true" />	
				<plugin name="lift2" url="panotns/lift2-tn.jpg" keep="true" />	
				<plugin name="resep2" url="panotns/resep2-tn.jpg" keep="true" />	
			


	<action name="createbuttons">set(xpos,5); set(scrollw,477); 
			settingbutton( resep1, Ресепшн, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( resep2, Лобби-бар, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( salon, Салон красоты, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( lift2, 2 этаж, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			
			
			settinghotspot( resep2, Лобби-бар, 5 ); gotoxml(resep2,%CURRENTXML%/resep2.xml);
			settinghotspot( salon, Салон красоты, 5 ); gotoxml(salon,%CURRENTXML%/salon.xml);
			settinghotspot( lift2, 2 этаж, 5 ); gotoxml(lift2,%CURRENTXML%/lift2.xml);
			
	</action>

	<action name="removeall">
			removeplugin( salon); 
			removeplugin( lift2); 
			removeplugin( resep2); 
			removeplugin( resep1); 
			

			removehotspot( salon); 
			removehotspot( lift2); 
			removehotspot( resep2); 
		
	</action>	
	
</krpano>

