﻿<krpano logkey="false" actionintervalbase="timer" onstart="action(loadfirstpano, street); set(plugin[frame].x,5); set(absurl, http://webpokaz.ru/media/vtours_vt/824010/); " >
	<include url="i&s/settings.xml" />
	<include url="i&s/interface.xml" />
	
	<plugin name="mapjpg" url="map1.jpg"
		align="leftbottom" edge="righttop" x="0" y="0"
		parent="map"
		enabled="false"
		visible="true"
		keep="true"
		zorder="10"
		alpha="1"
		/>

	<plugin name="mapjpg2" url="map2.jpg"
		align="leftbottom" edge="righttop" x="0" y="0"
		parent="map"
		enabled="false"
		visible="false"
		keep="true"
		zorder="10"
		alpha="1"
		/>


	<contextmenu fullscreen="true">
	   <item name="item1" caption="Холл" onclick="loadscene(hall, null, MERGE, BLEND(0.7) );" />
	   <item name="item2" caption="Первый зал" onclick="loadscene(zal1, null, MERGE, BLEND(0.7) );" />
	   <item name="item3" caption="Второй зал" onclick="loadscene(zal4, null, MERGE, BLEND(0.7) );" />
	   <item name="item4" caption="Банкетка" onclick="loadscene(banket, null, MERGE, BLEND(0.7) );" />
	   <item name="item9" separator="true" caption="FULLSCREEN" />
	   <item name="item10" caption="KRPANO" />
	</contextmenu>
				   
	<scene name="street" onstart="
							showinfo2(Ресторан расположен в историческом центре[br]в старинном особняке 19 века построенном купцом[br]Васильевым Спиридоном Философовичем. );
							action(showinterface,Ресторан Кабинет - главный вход); 
							action(createbuttons); 
							set(plugin[mapjpg2].visible, false); 
							set(plugin[mapjpg].visible, true); 
							setmap(map1.jpg, 197, 385, -45 ); 
							set(plugin[radarhotspots].visible, false); set(plugin[radarhotspots2].visible, true);">
		<view fov="80.0"  vlookat="-10" hlookat="-55"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/street.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/street-pv.jpg" />
		<hotspot name="hall" url="hotspot2.png" ath="-49" atv="-7" scale="1.2" alpha="0.5" keep="false"
				 zoom="false" distorted="true" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="center" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[hall].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти в холл ,buttontext);"
				 onout="action(startrotation);tween(hotspot[hall].alpha, 0.5, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(hall);loadscene( hall , null, MERGE);set(plugin[frame].x, 95); lookat(122,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
	</scene>
		<plugin name="street" url="panotns/street-tn.jpg" keep="true" visible="false"/>

	<scene name="hall" onstart="action(showinterface,Холл); action(createbuttons); set(plugin[mapjpg2].visible, false); set(plugin[mapjpg].visible, true); setmap(map1.jpg, 207, 280, 145 ); set(plugin[radarhotspots].visible, false);  set(plugin[radarhotspots2].visible, true);
									showinfo2(В оформлении ресторана максимально сохранена атмосфера старины. Представлено много материалов собранных в архивах города. );
								">
		<view fov="80.0"  vlookat="0" hlookat="50"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/hall.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/hall-pv.jpg" />
		<hotspot name="stair" url="hotspot2.png" ath="22" atv="20" scale="1.2" alpha="0.5" keep="false"
				 zoom="false" distorted="true" scale9grid="" scalechildren="false" rotate="-120"
				 rx="0" ry="0" rz="0" edge="center" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[stair].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти вниз к залам ,buttontext);"
				 onout="action(startrotation);tween(hotspot[stair].alpha, 0.5, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(stair);loadscene( stair , null, MERGE);set(plugin[frame].x, 95); lookat(155,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
		<hotspot name="street" url="hotspot2.png" ath="-52" atv="0" scale="1.2" alpha="0.5" keep="false"
					 zoom="false" distorted="true" scale9grid="" scalechildren="false" rotate="0"
					 rx="0" ry="0" rz="0" edge="center" ox="" oy=""
					 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
					 zorder="0" blendmode="normal" smoothing="true"
					 refreshrate="auto"
					 onloaded=""
					 onover="action(stoprotation);tween(hotspot[street].alpha, 1, distance(5,2), linear);"
					 onhover="showtext( Выйти на улицу ,buttontext);"
					 onout="action(startrotation);tween(hotspot[street].alpha, 0.5, distance(5,2), linear);"
					 ondown=""
					 onup=""
					 onclick="wait(0.2); looktohotspot(street);loadscene( street , null, MERGE);set(plugin[frame].x, 95); lookat(125,0)"
					 details="8" effect="" flying="0" inverserotation="false"
					 />
		</scene>
		<plugin name="hall" url="panotns/hall-tn.jpg" keep="true" visible="false"/>

	<scene name="stair" onstart="action(showinterface,Лестница); action(createbuttons); set(plugin[mapjpg2].visible, true); set(plugin[mapjpg].visible, false); setmap(map2.jpg, 265, 275, 60 ); set(plugin[radarhotspots].visible, true);  set(plugin[radarhotspots2].visible, false);">
		<view fov="80.0"  vlookat="0" hlookat="30"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/stair.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/stair-pv.jpg" />
		<hotspot name="zal1"
				 url="hotspot-men.png"
				 keep="false"
				 ath="-95" atv="-1"
				 zoom="false" distorted="true"
				 width="59" height="194"
				 scale="0.9" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0"
				 edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop=""
				 visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0"
				 alpha="0.3" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal1].alpha, 0.8, distance(5,2), linear);"
				 onhover="showtext( Перейти в первый зал ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal1].alpha, 0.3, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal1);loadscene( zal1 , null, MERGE);set(plugin[frame].x, 185); lookat(87,-2)"
				 details="8"
				 effect=""
				 flying="0"
				 inverserotation="false"
				 />
		<hotspot name="hall" url="hotspot2.png" ath="-8" atv="-15" scale="1.2" alpha="0.5" keep="false"
				 zoom="false" distorted="true" scale9grid="" scalechildren="false" rotate="45"
				 rx="0" ry="0" rz="0" edge="center" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[hall].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти в холл ,buttontext);"
				 onout="action(startrotation);tween(hotspot[hall].alpha, 0.5, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(hall);loadscene( hall , null, MERGE);set(plugin[frame].x, 5); lookat(-145,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />

		<hotspot name="wc2" url="hotspot2.png" ath="115" atv="3" scale="1.1" alpha="0.5" keep="false"
				 zoom="false" distorted="true" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="center" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[wc2].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Туалетная комната,buttontext);"
				 onout="action(startrotation);tween(hotspot[wc2].alpha, 0.5, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(wc2);loadscene( wc2 , null, MERGE);set(plugin[frame].x, 95); lookat(0,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
	</scene>
		<plugin name="stair" url="panotns/stair-tn.jpg" keep="true" visible="false"/>

	<scene name="zal1" onstart="action(showinterface,Первый зал); action(createbuttons); set(plugin[mapjpg2].visible, true); set(plugin[mapjpg].visible, false); setmap(map2.jpg, 205, 218, 220 ); set(plugin[radarhotspots].visible, true); set(plugin[radarhotspots2].visible, false);
		showinfo2(В ресторане широко представлена среднеевропейская кухня с достаточным включением блюд старосибирского региона.[br][br]Мы готовы принять заказы свадебных банкетов любой условной категории.);"><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/zal1.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/zal1-pv.jpg" />
		<hotspot name="stair2"
				 url="hotspot-men.png"
				 keep="false"
				 ath="-80" atv="-2"
				 zoom="false" distorted="true"
				 width="59" height="194"
				 scale="1" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0"
				 edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop=""
				 visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0"
				 alpha="0.2" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[stair2].alpha, 0.8, distance(5,2), linear);"
				 onhover="showtext( Перейти к лестнице ,buttontext);"
				 onout="action(startrotation);tween(hotspot[stair2].alpha, 0.2, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(stair2);loadscene( stair , null, MERGE);set(plugin[frame].x, 95); lookat(80,-2)"
				 details="8"
				 effect=""
				 flying="0"
				 inverserotation="false"
				 />
		<hotspot name="zal2"
				 url="hotspot-men.png"
				 keep="false"
				 ath="-140" atv="-8"
				 zoom="false" distorted="true"
				 width="59" height="194"
				 scale="1.2" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0"
				 edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop=""
				 visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0"
				 alpha="0.2" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal2].alpha, 0.8, distance(5,2), linear);"
				 onhover="showtext( Перейти в приват зону ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal2].alpha, 0.2, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal2); loadscene( zal2 , null, MERGE);set(plugin[frame].x, 275); lookat(160,0)"
				 details="8"
				 effect=""
				 flying="0"
				 inverserotation="false"
				 />
		<hotspot name="zal3"
				 url="hotspot-men.png"
				 keep="false"
				 ath="57" atv="-3"
				 zoom="false" distorted="true"
				 width="59" height="194"
				 scale="0.95" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0"
				 edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop=""
				 visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0"
				 alpha="0.3" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal3].alpha, 0.8, distance(5,2), linear);"
				 onhover="showtext( Перейти к сцене ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal3].alpha, 0.3, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal3);loadscene( zal3 , null, MERGE);set(plugin[frame].x, 365); lookat(-170,-2)"
				 details="8"
				 effect=""
				 flying="0"
				 inverserotation="false"
				 />
		<hotspot name="hs1"
				 keep="false"
				 visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0"
				 fillcolor     ="0xffffff" fillalpha     ="0" borderwidth     ="0" bordercolor     ="0xffffff" borderalpha     ="0"
				 fillcolorhover="0xffffff" fillalphahover="0" borderwidthhover="0" bordercolorhover="0xffffff" borderalphahover="0"
				 fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
				 onover="action(stoprotation);"
				 onhover="showtext( Спросить меню ,buttontext);"
				 onout="action(startrotation);"
				 ondown="tween(plugin[menu].alpha, 1 ); set(plugin[menu].enabled, true);"
				 onup=""
				 onclick=""
				 details="8"
				 effect=""
				 flying="0"
				 inverserotation="false"
			>
			<point ath=" -1.7156" atv=" 16.6807" />
			<point ath=" 17.0917" atv=" 11.9005" />
			<point ath=" 27.4124" atv="  4.7967" />
			<point ath=" 24.9042" atv=" -2.9651" />
			<point ath=" 14.9564" atv=" -6.6069" />
			<point ath=" -6.1076" atv=" -7.0543" />
			<point ath="-18.0736" atv=" -0.5775" />
			<point ath="-16.1439" atv=" 12.4430" />
		</hotspot>
		
		<plugin name="menu" url="menu.jpg"
			align="center" edge="center" x="0" y="0"
			parent=""
			enabled="false"
			visible="true"
			keep="false"
			alpha="0"
			scale="1"
			onover="action(stoprotation);"
			onhover=""
			onout="action(startrotation);"
			onclick="tween(plugin[menu].alpha, 0); set(plugin[menu].enabled, false);"
			/>		
	</scene>
		<plugin name="zal1" url="panotns/zal1-tn.jpg" keep="true" visible="false"/>

	<scene name="zal2" onstart="action(showinterface,Зал); action(createbuttons); set(plugin[mapjpg2].visible, true); set(plugin[mapjpg].visible, false); setmap(map2.jpg, 190, 305, -75 ); set(plugin[radarhotspots].visible, true); set(plugin[radarhotspots2].visible, false);
		showinfo2(Зал разбит на ряд уютных уголков[br]позволяющих уединиться[br]для задушевной беседы.);"><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/zal2.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/zal2-pv.jpg" />
		<hotspot name="zal1"
				 url="hotspot-men.png"
				 keep="false"
				 ath="-15" atv="-3"
				 zoom="false" distorted="true"
				 width="59" height="194"
				 scale="1.2" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0"
				 edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop=""
				 visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0"
				 alpha="0.3" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal1].alpha, 0.8, distance(5,2), linear);"
				 onhover="showtext( Перейти в первый зал ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal1].alpha, 0.3, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal1); loadscene( zal1 , null, MERGE);set(plugin[frame].x, 185); lookat(47,-2)"
				 details="8"
				 effect=""
				 flying="0"
				 inverserotation="false"
				 />
	</scene>
		<plugin name="zal2" url="panotns/zal2-tn.jpg" keep="true" visible="false"/>

	<scene name="zal3" onstart="action(showinterface,Зал); action(createbuttons); set(plugin[mapjpg2].visible, true); set(plugin[mapjpg].visible, false); setmap(map2.jpg, 180, 145, 85 ); set(plugin[radarhotspots].visible, true);
		showinfo2(Вечерами представлена музыкальная программа.);"><view fov="80.0"  vlookat="0" hlookat="67"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/zal3.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/zal3-pv.jpg" />
		<hotspot name="zal1" url="hotspot-men.png" ath="20" atv="-1" scale="1.3" alpha="0.35" keep="false"
				 zoom="false" distorted="true" width="59" height="194" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal1].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти в первый зал ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal1].alpha, 0.35, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal1);loadscene( zal1 , null, MERGE);set(plugin[frame].x, 185); lookat(-100,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
		<hotspot name="zal41" url="hotspot-men.png" ath="-80" atv="-3" scale="1.1" alpha="0.3" keep="false"
				 zoom="false" distorted="true" width="59" height="194" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal41].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти во второй зал ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal41].alpha, 0.35, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal41);loadscene( zal4 , null, MERGE);set(plugin[frame].x, 455); lookat(-170,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
	</scene>
		<plugin name="zal3" url="panotns/zal3-tn.jpg" keep="true" visible="false"/>

	<scene name="zal4" onstart="action(showinterface,Второй зал); action(createbuttons); set(plugin[mapjpg2].visible, true); set(plugin[mapjpg].visible, false); setmap(map2.jpg, 107, 145, 175 ); set(plugin[radarhotspots].visible, true); set(plugin[radarhotspots2].visible, false);
		showinfo2(Тяжелые шторы позволяют разбивать зал на два изолированных помещения для обслуживания небольших банкетов.);"><view fov="80.0"  vlookat="0" hlookat="-100"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/zal4.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/zal4-pv.jpg" />
		<hotspot name="zal3" url="hotspot-men.png" ath="8" atv="-3" scale="1.1" alpha="0.35" keep="false"
				 zoom="false" distorted="true" width="59" height="194" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal3].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти к сцене ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal3].alpha, 0.35, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal3);loadscene( zal3 , null, MERGE);set(plugin[frame].x, 365); lookat(80,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
		<hotspot name="zal5" url="hotspot-men.png" ath="-105" atv="-4" scale="0.70" alpha="0.3" keep="false"
				 zoom="false" distorted="true" width="59" height="194" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal5].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal5].alpha, 0.35, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal5);loadscene( zal5 , null, MERGE);set(plugin[frame].x, 545); lookat(-55,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
		<hotspot name="banket" url="hotspot-men.png" ath="138" atv="-5" scale="1.1" alpha="0.3" keep="false"
				 zoom="false" distorted="true" width="59" height="194" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[banket].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти в банкетку ,buttontext);"
				 onout="action(startrotation);tween(hotspot[banket].alpha, 0.35, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(banket);loadscene( banket , null, MERGE);set(plugin[frame].x, 635); lookat(-115,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
	</scene>
		<plugin name="zal4" url="panotns/zal4-tn.jpg" keep="true" visible="false"/>

	<scene name="zal5" onstart="action(showinterface,Зал); action(createbuttons); set(plugin[mapjpg2].visible, true); set(plugin[mapjpg].visible, false); setmap(map2.jpg, 65, 285, 125 ); set(plugin[radarhotspots].visible, true); set(plugin[radarhotspots2].visible, false);"><view fov="80.0"  vlookat="0" hlookat="110"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/zal5.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/zal5-pv.jpg" />
		<hotspot name="zal41" url="hotspot-men.png" ath="123" atv="-5" scale="0.8" alpha="0.3" keep="false"
				 zoom="false" distorted="true" width="59" height="194" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="top" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal41].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти во второй зал ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal41].alpha, 0.35, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal41);loadscene( zal4 , null, MERGE);set(plugin[frame].x, 455); lookat(80,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
	</scene>
		<plugin name="zal5" url="panotns/zal5-tn.jpg" keep="true" visible="false"/>

	<scene name="banket" onstart="action(showinterface,Зал); action(createbuttons); set(plugin[mapjpg2].visible, true); set(plugin[mapjpg].visible, false); setmap(map2.jpg, 63, 78, 25 ); set(plugin[radarhotspots].visible, true);
		showinfo2(Наличие уютной банкетки позволяет приглашать небольшие компании.);"><view fov="80.0"  vlookat="0" hlookat="-115"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/banket.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/banket-pv.jpg" />
		<hotspot name="zal41" url="hotspot2.png" ath="70" atv="3" scale="1.2" alpha="0.3" keep="false"
				 zoom="false" distorted="true" scale9grid="" scalechildren="false" rotate="0"
				 rx="0" ry="0" rz="0" edge="center" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[zal41].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти во второй зал ,buttontext);"
				 onout="action(startrotation);tween(hotspot[zal41].alpha, 0.35, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(zal41);loadscene( zal4 , null, MERGE);set(plugin[frame].x, 455); lookat(-60,0)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
	</scene>
		<plugin name="banket" url="panotns/banket-tn.jpg" keep="true" visible="false"/>

	<scene name="wc2" onstart="action(showinterface,Зал); action(createbuttons); set(plugin[mapjpg2].visible, true); set(plugin[mapjpg].visible, false); setmap(map2.jpg, 329, 265, 155 ); set(plugin[radarhotspots].visible, true); set(plugin[radarhotspots2].visible, false);"><view fov="80.0"  vlookat="0" hlookat="0"/>
		<image type="CUBESTRIP"><cubestrip url="panoramas/wc2.jpg" /> <front strip="1" /><right strip="2" /><back strip="3" /><left strip="4" /><up strip="5" /><down strip="6" /></image>
		<preview type="SPHERE" url="panopvs/wc2-pv.jpg" />
		<hotspot name="stair" url="hotspot2.png" ath="-103" atv="0" scale="1.2" alpha="0.5" keep="false"
				 zoom="false" distorted="true" scale9grid="" scalechildren="false" rotate="90"
				 rx="0" ry="0" rz="0" edge="center" ox="" oy=""
				 crop="" ondowncrop="" onovercrop="" visible="true" enabled="true" handcursor="true" capture="true" children="true"
				 zorder="0" blendmode="normal" smoothing="true"
				 refreshrate="auto"
				 onloaded=""
				 onover="action(stoprotation);tween(hotspot[stair].alpha, 1, distance(5,2), linear);"
				 onhover="showtext( Перейти к лестнице ,buttontext);"
				 onout="action(startrotation);tween(hotspot[stair].alpha, 0.5, distance(5,2), linear);"
				 ondown=""
				 onup=""
				 onclick="wait(0.2); looktohotspot(stair);loadscene( stair , null, MERGE);set(plugin[frame].x, 95); lookat(-55,-3)"
				 details="8" effect="" flying="0" inverserotation="false"
				 />
	</scene>
		<plugin name="wc2" url="panotns/wc2-tn.jpg" keep="true" visible="false"/>

	<action name="createbuttons">set(xpos,5); set(scrollw,406); 
			settingbutton(street, Вид с улицы, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(hall, Холл, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(stair, Лестница, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(zal1, Первый зал, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(zal2, Приват-зона, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(zal3, Сцена, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(zal4, Второй зал, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(zal5, Зал, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(banket, Банкетка, get(xpos)); inc(xpos,90); inc(scrollw,-90);
			settingbutton(wc2, Туалетная комната 2, get(xpos)); inc(xpos,90); inc(scrollw,-90);
	</action>
	
	<action name="removeall">
			removeplugin( hall); 
			removeplugin( stair); 
	</action>
</krpano>

