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

	<scene name="singlroom" onstart="action(showinterface,Одноместный Комната); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="130"/>
		<image type="SPHERE"><sphere url="panoramas/singlroom.jpg" /></image>
		<preview type="SPHERE" url="panopvs/singlroom-pv.jpg" />
				<hotspot name="singlbath" url="hotspot.png" ath="-177" atv="3" />
				<hotspot name="resep" url="hotspot.png" ath="-173" atv="3" />
	</scene>
	<plugin name="singlroom" url="panotns/singlroom-tn.jpg" keep="true" visible="false"/>	
	
	<scene name="singlbath" onstart="action(showinterface,Одноместный Ванная комната); action(createbuttons); "><view fov="80.0"  vlookat="0" hlookat="-60"/>
		<image type="SPHERE"><sphere url="panoramas/singlbath.jpg" /></image>
		<preview type="SPHERE" url="panopvs/singlbath-pv.jpg" />
				<hotspot name="singlroom" url="hotspot.png" ath="-163" atv="3" />
	</scene>
		<plugin name="singlbath" url="panotns/singlbath-tn.jpg" keep="true" visible="false"/>	
	
		<plugin name="resep" url="panotns/resep-tn.jpg" keep="true" visible="false"/>

	<action name="createbuttons">set(xpos,5); set(scrollw,477); 
			settingbutton( singlroom, Одноместный Комната, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
			settingbutton( singlbath, Одноместный Ванная комната, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton( resep, Ресепшн, get(xpos)); inc(xpos,90); inc(scrollw,-90); 
				
				
			settinghotspot( singlbath, Одноместный Ванная комната, 95 );
			settinghotspot( singlroom, Одноместный Комната, 5 );
			settinghotspot( resep, Ресепшн, 5 ); gotoxml(resep,%CURRENTXML%/resep.xml);
	</action>

	<action name="removeall">
			removeplugin( singlroom); 
			removeplugin( singlbath); 
			removeplugin( resep);
			 
				
			removehotspot( singlbath );
			removehotspot( singlroom );
			removehotspot( resep);
	</action>


</krpano>
