<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.0.8.14" onstart="startup();">
<action name="startup">

loadscene(stg:, null, MERGE);
delayedcall(0.5, plugin[combobox].selectIdItem(stg:) );

if(scene.count GT 1, if(scene.count LE 28, buildthumbs(); ));
</action>

<progress showload="none" showwait="loopings(0xFFFFFF)"/>
<view stereographic="false" fisheye="0.0" fov="80" hlookat="0" vlookat="0"/>
<data name="infotext"></data>
<textstyle name="infostyle" origin="center" edge="center" yoffset="-39" textalign="center" background="false" border="false" fontsize="40" textcolor="0xFFFFFF" bold="false" effect="glow(0xFFFFFF,0.7,4,2);glow(0x000000,1,4,2);dropshadow(3,45,0x000000,2,0.6);" showtime="1.0" fadeintime="1.0" fadetime="1.0"/>
<textstyle name="STYLE6" font="Arial" fontsize="18" bold="true" background="false" border="false" textcolor="0x000000" textalign="center" blendmode="layer" effect="glow(0xFFFFFF,0.85,4,4);dropshadow(3,25,0x333333,3,1);"/>
<autorotate enabled="true" waittime="0.0" speed="3.0" horizon="0.0" tofov="80.0"/>
<textstyle name="BUTTONSTYLE" font="Arial" fontsize="12" bold="true" italic="true" textcolor="0x000000" background="false" border="false" blendmode="layer" effect="glow(0xFFFFFF,0.85,4,4);dropshadow(2,45,0x000000,4,1);" origin="cursor" edge="bottom" xoffset="15" yoffset="-5" showtime="0.1" fadeintime="0.1" fadetime="0.1"/>
<textstyle name="INFOTEXT" font="Arial" fontsize="26" bold="true" italic="true" textcolor="0x000000" background="false" border="false" blendmode="layer" effect="glow(0xFFFFFF,0.85,4,4);dropshadow(2,45,0x000000,4,1);" origin="center" edge="center" xoffset="0" yoffset="0" showtime="2.0" fadeintime="0.25" fadetime="0.5"/>
<plugin name="combobox" url="//embed.virtual.ua/plugins/combobox.swf" alturl="//embed.virtual.ua/plugins/combobox.js" align="righttop" x="15" y="15" width="180" keep="true">
<item name="s386792" caption="Hotel &amp; SPA reception" onclick="loadscene(s386792, null, MERGE);"></item>
<item name="s386794" caption="Entrance to the SPA center" onclick="loadscene(s386794, null, MERGE);"></item>
<item name="s386797" caption="SPA center. Jacuzzi. Table for peeling" onclick="loadscene(s386797, null, MERGE);"></item>
<item name="s386801" caption="SPA center. Roman, Finnish and Russian baths" onclick="loadscene(s386801, null, MERGE);"></item>
<item name="s277945" caption="Номер Люкс, спальня" onclick="loadscene(s277945, null, MERGE);"></item>
<item name="s277944" caption="Номер Люкс, вітальня" onclick="loadscene(s277944, null, MERGE);"></item>
<item name="s277946" caption="Номер Люкс, санвузол" onclick="loadscene(s277946, null, MERGE);"></item>
<item name="s386791" caption="Junior" onclick="loadscene(s386791, null, MERGE);"></item>
<item name="s277947" caption="Вхід в готель, 1 поверх" onclick="loadscene(s277947, null, MERGE);"></item>
<item name="s386795" caption="Comfort Double" onclick="loadscene(s386795, null, MERGE);"></item>
<item name="s386793" caption="Comfort single room with balcony" onclick="loadscene(s386793, null, MERGE);"></item>
<item name="s386796" caption="WC (omfort)" onclick="loadscene(s386796, null, MERGE);"></item>
<item name="s277948" caption="Номер стандарт покращений" onclick="loadscene(s277948, null, MERGE);"></item>
<item name="s277949" caption="Санвузол, номер стандарт покращений" onclick="loadscene(s277949, null, MERGE);"></item>
<item name="s277952" caption="Hall 2 поверх" onclick="loadscene(s277952, null, MERGE);"></item>
<item name="s277951" caption="Hall of the third floor" onclick="loadscene(s277951, null, MERGE);"></item>
<item name="s386798" caption="Russian / Finnish bath" onclick="loadscene(s386798, null, MERGE);"></item>
<item name="s386800" caption="Relax area" onclick="loadscene(s386800, null, MERGE);"></item>
<item name="s386799" caption="Relax area with sun loungers" onclick="loadscene(s386799, null, MERGE);"></item>
<item name="s386802" caption="Locker room" onclick="loadscene(s386802, null, MERGE);"></item>

</plugin>
<style name="button" url="//embed.virtual.ua/skin/buttons.png" keep="true"></style>
<plugin name="in" devices="desktop" align="bottom" x="-160" y="10" style="button" crop="160|0|40|40" onovercrop="160|40|40|40" ondowncrop="160|80|40|40" ondown="set(fov_moveforce,-1);" onup="set(fov_moveforce,0);"></plugin>
<plugin name="out" devices="desktop" align="bottom" x="-120" y="10" style="button" crop="200|0|40|40" onovercrop="200|40|40|40" ondowncrop="200|80|40|40" ondown="set(fov_moveforce,+1);" onup="set(fov_moveforce,0);"></plugin>
<plugin name="left" devices="desktop" align="bottom" x="-80" y="10" style="button" crop="0|0|40|40" onovercrop="0|40|40|40" ondowncrop="0|80|40|40" ondown="set(hlookat_moveforce,-1);" onup="set(hlookat_moveforce,0);"></plugin>
<plugin name="right" devices="desktop" align="bottom" x="-40" y="10" style="button" crop="40|0|40|40" onovercrop="40|40|40|40" ondowncrop="40|80|40|40" ondown="set(hlookat_moveforce,+1);" onup="set(hlookat_moveforce,0);"></plugin>
<plugin name="up" devices="desktop" align="bottom" x="+0" y="10" style="button" crop="80|0|40|40" onovercrop="80|40|40|40" ondowncrop="80|80|40|40" ondown="set(vlookat_moveforce,-1);" onup="set(vlookat_moveforce,0);"></plugin>
<plugin name="down" devices="desktop" align="bottom" x="+40" y="10" style="button" crop="120|0|40|40" onovercrop="120|40|40|40" ondowncrop="120|80|40|40" ondown="set(vlookat_moveforce,+1);" onup="set(vlookat_moveforce,0);"></plugin>
<plugin name="starbtn" devices="desktop" align="bottom" x="+80" y="10" style="button" crop="240|0|40|40" onovercrop="240|40|40|40" ondowncrop="240|80|40|40" onhover="showtext(Приховати кнопки, BUTTONSTYLE);" onclick="hideui();"></plugin>
<plugin name="dragmode" devices="desktop" align="bottom" x="+120" y="10" style="button" crop="400|0|40|40" onovercrop="400|40|40|40" ondowncrop="400|80|40|40" onhover="showtext(Змінити управління, BUTTONSTYLE);" onclick="dragcursor();" visible="true"></plugin>
<plugin name="movemode" devices="desktop" align="bottom" x="+120" y="10" style="button" crop="360|0|40|40" onovercrop="360|40|40|40" ondowncrop="360|80|40|40" onhover="showtext(Змінити управління, BUTTONSTYLE);" onclick="qtvrcursor();" visible="false"></plugin>
<plugin name="openfs" devices="desktop" align="bottom" x="+160" y="10" style="button" crop="280|0|40|40" onovercrop="280|40|40|40" ondowncrop="280|80|40|40" onhover="showtext(Повний екран, BUTTONSTYLE);" onclick="set(fullscreen,true);" visible="true"></plugin>
<plugin name="closefs" devices="desktop" align="bottom" x="+160" y="10" style="button" crop="320|0|40|40" onovercrop="320|40|40|40" ondowncrop="320|80|40|40" onhover="showtext(Звичайний режим, BUTTONSTYLE);" onclick="set(fullscreen,false);" visible="false"></plugin>
<events name="defaultskin" keep="true" devices="desktop" onxmlcomplete="setuppano();" onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);" onkeyup="if(keycode == 32, showui());"></events>
<plugin name="androidzoom_out" devices="android+flash" keep="true" url="//embed.virtual.ua/skin/androidbuttons.png" alpha="0.5" crop="0|0|71|64" align="rightbottom" x="88" y="10" ondown="set(crop,0|64|71|64); set(fov_moveforce,+1);" onup="set(crop,0|0|71|64); set(fov_moveforce,0);"></plugin>
<plugin name="androidzoom_in" devices="android+flash" keep="true" url="//embed.virtual.ua/skin/androidbuttons.png" alpha="0.5" crop="71|0|78|64" align="rightbottom" x="10" y="10" ondown="set(crop,71|64|78|64); set(fov_moveforce,-1);" onup="set(crop,71|0|78|64); set(fov_moveforce,0);"></plugin>
<plugin name="androidfsbutton" devices="android+flash" keep="true" url="//embed.virtual.ua/skin/androidbuttons.png" alpha="0.5" crop="149|0|64|64" align="righttop" x="0" y="0" onclick="switch(fullscreen);"></plugin>
<events name="androidfsbutton" devices="android+flash" keep="true" onenterfullscreen="set(plugin[androidfsbutton].crop,149|64|64|64);" onexitfullscreen="set(plugin[androidfsbutton].crop,149|0|64|64);"></events>
<contextmenu>
<item caption="KRPANO"></item>
<item caption="FULLSCREEN"></item>
<item caption="Нормальний вигляд" onclick="view_normal();" separator="true"></item>
<item caption="Риб`яче око" onclick="view_fisheye();"></item>
<item caption="Архітектурний вигляд" onclick="view_architectural();"></item>
<item caption="Стереографічний вигляд" onclick="view_stereographic();"></item>
<item caption="Маленька планета" onclick="view_littleplanet();"></item>
</contextmenu>
<action name="hideui">
set(plugin.enabled,false); set(hotspot.enabled,false); tween(plugin.alpha, 0.0, 0.5, default, set(plugin.visible,false)); tween(hotspot.alpha, 0.0, 0.5, default, set(hotspot.visible,false)); delayedcall(0.5, showtext('...натисність ПРОБІЛ для того, щоб повернути...', INFOTEXT));
</action>
<action name="showui">
set(plugin.enabled,true); set(hotspot.enabled,true); set(plugin.visible,true); set(hotspot.visible,true); tween(plugin.alpha, 1.0); tween(hotspot.alpha, 1.0);
</action>
<action name="dragcursor">
set(plugin[dragmode].visible, false); set(plugin[movemode].visible, true); set(control.mousetype, drag2D); set(cursors.url, //embed.virtual.ua/skin/drag-cursors.png); set(cursors.type, drag); set(cursors.move, 2|0|30|32); set(cursors.drag, 37|0|30|32);
</action>
<action name="qtvrcursor">
set(plugin[dragmode].visible, true); set(plugin[movemode].visible, false); set(control.mousetype, moveto); set(cursors.url, //embed.virtual.ua/skin/qtvr-cursors.png); set(cursors.type, 8way); set(cursors.move, 0|0|16|16); set(cursors.drag, 16|0|16|16); set(cursors.arrow_u, 32|0|16|16); set(cursors.arrow_d, 48|0|16|16); set(cursors.arrow_l, 64|0|16|16); set(cursors.arrow_r, 80|0|16|16); set(cursors.arrow_lu, 96|0|16|16); set(cursors.arrow_ru, 112|0|16|16); set(cursors.arrow_rd, 128|0|16|16); set(cursors.arrow_ld, 144|0|16|16);
</action>
<action name="view_normal">
tween(view.fovmax, 150.0, distance(179, 1.00), easeoutquad); tween(view.architectural, 0.0, distance(1.0, 0.45), easeoutquad); tween(view.fisheye, 0.0, distance(1.0, 0.45), easeoutquad, set(view.stereographic,false); set(view.pannini,false); set(display.flash10,on); );
</action>
<action name="view_fisheye">
set(display.flash10,off); tween(view.architectural, 0.0, distance(1.0, 0.30), easeoutquad); tween(view.fisheye, 0.0 ,distance(1.0, 0.30), easeoutquad, set(view.stereographic,false); set(view.pannini,false); set(view.fovmax,179); tween(view.fisheye, 0.35, distance(1.0,1.25)); );
</action>
<action name="view_architectural">
tween(view.fovmax, 150.0, distance(179, 1.00), easeoutquad); tween(view.architectural, 1.0, distance(1.0, 0.45), easeoutquad); tween(view.fisheye, 0.0, distance(1.0, 0.45), easeoutquad, set(view.stereographic,false);set(view.pannini,false);set(display.flash10,on); );
</action>
<action name="view_stereographic">
set(display.flash10,off); tween(view.architectural, 0.0, 0.25); set(backtonormalfirst,false); if(view.pannini == true, set(backtonormalfirst,true) ); if(view.stereographic == false, set(backtonormalfirst,true) ); if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); ); set(view.pannini, false); set(view.stereographic, true); set(view.fovmax, 150); tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad);
</action>
<action name="view_pannini">
set(display.flash10,off); tween(view.architectural, 0.0, 0.25); set(backtonormalfirst,false); if(view.pannini == false, set(backtonormalfirst,true) ); if(view.stereographic == false, set(backtonormalfirst,true) ); if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); ); set(view.pannini, true); set(view.stereographic, true); set(view.fovmax, 150); tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad);
</action>
<action name="view_littleplanet">
set(display.flash10,off); tween(view.architectural, 0.0, 0.25); tween(view.vlookat, 90, distance(179, 1.50), easeoutquad); set(backtonormalfirst,false); if(view.pannini == true, set(backtonormalfirst,true) ); if(view.stereographic == false, set(backtonormalfirst,true) ); if(backtonormalfirst, tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeoutquad, WAIT); ); set(view.pannini, false); set(view.stereographic, true); set(view.fovmax, 150); tween(view.fisheye, 1.0, distance(1.0, 0.75), easeoutquad); tween(view.fov, 150, distance(179, 0.75), easeoutquad);
</action>
<action name="setuppano">
qtvrcursor();
if(ispartialpano === true, set(showviewitems,false), set(showviewitems,true)); set(contextmenu.item[2].visible, get(showviewitems)); set(contextmenu.item[3].visible, get(showviewitems)); set(contextmenu.item[4].visible, get(showviewitems)); set(contextmenu.item[5].visible, get(showviewitems)); set(contextmenu.item[6].visible, get(showviewitems)); set(contextmenu.item[7].visible, get(showviewitems));
</action>
<style name="hotspot_ani_black" url="//embed.virtual.ua/hotspots/hotspot_ani_black_64x64x20.png" crop="0|0|64|64" framewidth="64" frameheight="64" frame="0" lastframe="19" onloaded="hotspot_animate();" altonloaded="if(isphone, mul(scale,2)); onloaded();"></style>
<style name="hotspot_ani_white" url="//embed.virtual.ua/hotspots/hotspot_ani_white_64x64x20.png" crop="0|0|64|64" framewidth="64" frameheight="64" frame="0" lastframe="19" onloaded="hotspot_animate();" altonloaded="if(isphone, mul(scale,2)); onloaded();"></style>
<action name="hotspot_animate">
inc(frame,1,get(lastframe),0); mul(ypos,frame,frameheight); txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight)); delayedcall(0.03, if(loaded, hotspot_animate() ) );
</action>
<scene name="s386792" title="Hotel &amp; SPA reception" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_302/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_302/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_302/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_302/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_302/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s386794" title="Entrance to the SPA center" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_306/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_306/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_306/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_306/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_306/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s386797" title="SPA center. Jacuzzi. Table for peeling" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_308/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_308/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_308/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_308/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_308/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s386801" title="SPA center. Roman, Finnish and Russian baths" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_309/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_309/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_309/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_309/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_309/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s277945" title="Номер Люкс, спальня" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_102/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_102/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_102/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_102/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_102/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>
<hotspot name="spot290822" style="hotspot_ani_white" ath="-131.4" atv="5.85" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277944', image.hfov=1.0&amp;view.hlookat=-288&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277944); js(showPano(277944, 'Номер Люкс, вітальня'));" onhover="showtext( 'Номер Люкс, вітальня' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277944" title="Номер Люкс, вітальня" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_101/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_101/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_101/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_101/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_101/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>
<hotspot name="spot290819" style="hotspot_ani_white" ath="-108.9" atv="4.05" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277945', image.hfov=1.0&amp;view.hlookat=-311&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277945); js(showPano(277945, 'Номер Люкс, спальня'));" onhover="showtext( 'Номер Люкс, спальня' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290820" style="hotspot_ani_white" ath="-145.8" atv="3.6" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277946', image.hfov=1.0&amp;view.hlookat=-334&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277946); js(showPano(277946, 'Номер Люкс, санвузол'));" onhover="showtext( 'Номер Люкс, санвузол' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290821" style="hotspot_ani_white" ath="-169.65" atv="1.8" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277951', image.hfov=1.0&amp;view.hlookat=-62&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277951); js(showPano(277951, 'Hall of the third floor'));" onhover="showtext( 'Hall of the third floor' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277946" title="Номер Люкс, санвузол" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_103/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_103/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_103/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_103/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_103/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>
<hotspot name="spot290823" style="hotspot_ani_white" ath="-154.35" atv="5.85" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277944', image.hfov=1.0&amp;view.hlookat=-325&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277944); js(showPano(277944, 'Номер Люкс, вітальня'));" onhover="showtext( 'Номер Люкс, вітальня' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s386791" title="Junior" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_303/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_303/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_303/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_303/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_303/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s277947" title="Вхід в готель, 1 поверх" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_104/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_104/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_104/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_104/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_104/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>
<hotspot name="spot290824" style="hotspot_ani_white" ath="2.7" atv="-9.45" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277952', image.hfov=1.0&amp;view.hlookat=-12&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277952); js(showPano(277952, 'Hall 2 поверх'));" onhover="showtext( 'Hall 2 поверх' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s386795" title="Comfort Double" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_307/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_307/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_307/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_307/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_307/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s386793" title="Comfort single room with balcony" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_301/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_301/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_301/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_301/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_301/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s386796" title="WC (omfort)" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_305/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_305/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_305/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_305/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_305/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s277948" title="Номер стандарт покращений" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_105/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_105/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_105/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_105/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_105/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>
<hotspot name="spot290825" style="hotspot_ani_white" ath="-88.65" atv="2.25" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277951', image.hfov=1.0&amp;view.hlookat=-276&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277951); js(showPano(277951, 'Hall of the third floor'));" onhover="showtext( 'Hall of the third floor' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290826" style="hotspot_ani_white" ath="-76.05" atv="3.6" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277949', image.hfov=1.0&amp;view.hlookat=-42&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277949); js(showPano(277949, 'Санвузол, номер стандарт покращений'));" onhover="showtext( 'Санвузол, номер стандарт покращений' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277949" title="Санвузол, номер стандарт покращений" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_106/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_106/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_106/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_106/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_106/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>
<hotspot name="spot290827" style="hotspot_ani_white" ath="138.15" atv="8.55" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277948', image.hfov=1.0&amp;view.hlookat=-256&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277948); js(showPano(277948, 'Номер стандарт покращений'));" onhover="showtext( 'Номер стандарт покращений' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277952" title="Hall 2 поверх" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_109/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_109/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_109/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_109/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_109/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>
<hotspot name="spot290833" style="hotspot_ani_white" ath="-172.35" atv="-9.9" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277951', image.hfov=1.0&amp;view.hlookat=-191&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277951); js(showPano(277951, 'Hall of the third floor'));" onhover="showtext( 'Hall of the third floor' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290834" style="hotspot_ani_white" ath="168.3" atv="35.1" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277947', image.hfov=1.0&amp;view.hlookat=-178&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277947); js(showPano(277947, 'Вхід в готель, 1 поверх'));" onhover="showtext( 'Вхід в готель, 1 поверх' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277951" title="Hall of the third floor" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_108/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_108/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_108/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_108/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_108/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>
<hotspot name="spot387004" style="hotspot_ani_white" ath="-11.291755550393773" atv="2.4365886004986166" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277952', image.hfov=1.0&amp;view.hlookat=-352&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277952); js(showPano(277952, 'Hall 2 поверх'));" onhover="showtext( 'Hall 2 поверх' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot387005" style="hotspot_ani_white" ath="-96.27502952278341" atv="14.07619165172322" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277948', image.hfov=1.0&amp;view.hlookat=-268&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277948); js(showPano(277948, 'Номер стандарт покращений'));" onhover="showtext( 'Номер стандарт покращений' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot387006" style="hotspot_ani_white" ath="118.99710746795246" atv="6.539058940861677" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277944', image.hfov=1.0&amp;view.hlookat=-349&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277944); js(showPano(277944, 'Номер Люкс, вітальня'));" onhover="showtext( 'Номер Люкс, вітальня' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s386798" title="Russian / Finnish bath" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_310/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_310/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_310/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_310/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_310/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s386800" title="Relax area" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_311/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_311/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_311/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_311/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_311/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s386799" title="Relax area with sun loungers" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_312/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_312/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_312/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_312/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_312/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene><scene name="s386802" title="Locker room" onstart="" thumburl="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_313/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_313/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_313/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_313/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/booking/hotels/lviv/pysanka/pysanka_313/tablet_%s.jpg"></cube>
</tablet>
</image>
<hotspot name="nadirlogo" url="//embed.virtual.ua/pol.png" ath="0" atv="90" distorted="true" scale="1.0" rotate="0.0" rotatewithview="false" onclick="openurl('http://360.virtual.ua/', '_blank');"></hotspot>

</scene>
<action name="buildthumbs">
if(%1 != NEXT, set(i,0)); if(i LT scene.count, copy(thumb, scene[get(i)].thumburl); txtadd(thumbname,\'thumb_\',get(i)); addplugin(get(thumbname)); set(plugin[get(thumbname)].url, get(thumb)); set(plugin[get(thumbname)].keep, true); set(plugin[get(thumbname)].align, leftbottom); set(plugin[get(thumbname)].width, 40); set(plugin[get(thumbname)].height, 40); mul(plugin[get(thumbname)].x, i,3); mul(plugin[get(thumbname)].y, i,3); add(plugin[get(thumbname)].x, 5); add(plugin[get(thumbname)].y, 5); copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x); copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y); add(plugin[get(thumbname)].zorder, 100, i); set(plugin[get(thumbname)].effect, glow(0xFFFFFF,1.0,2,10000)); set(plugin[get(thumbname)].jsborder, \'1px solid #FFFFFF\'); copy(plugin[get(thumbname)].thumbpos, i); set(plugin[get(thumbname)].linkedscene, get(scene[get(i)].name) ); set(plugin[get(thumbname)].onclick, openthumbs() ); inc(i); buildthumbs(NEXT); );
</action>
<action name="openthumb">
if(%2 != NEXT, set(pos,0); copy(curpos, plugin[%1].thumbpos); set(xdst, 0); set(ydst, 0); ); if(pos LT curpos, inc(pos); inc(ydst,110); sub(ymax, stageheight, 120); if(ydst GT ymax, inc(xdst,110);set(ydst,0); ); openthumb(%1,NEXT); , add(xdst,10); add(ydst,10); tween(plugin[%1].x, get(xdst) ); tween(plugin[%1].y, get(ydst) ); tween(plugin[%1].width, 100); tween(plugin[%1].height, 100); );
</action>
<action name="closethumb">
tween(plugin[%1].x, get(plugin[%1].xsmall)); tween(plugin[%1].y, get(plugin[%1].ysmall)); tween(plugin[%1].width, 40); tween(plugin[%1].height, 40);
</action>
<action name="openthumbs">
if(%1 != NEXT, set(i,0); set(events.onclick, set(events.onclick,null); delayedcall(0.1, closethumbs() ); ); ); if(i LT scene.count, txtadd(thumbname,\'thumb_\',get(i)); openthumb(get(thumbname)); set(plugin[get(thumbname)].onclick, set(events.onclick,null); closethumbs(); loadscene(get(linkedscene),null,MERGE,BLEND(1)); ); inc(i); openthumbs(NEXT); );
</action>
<action name="closethumbs">
if(%1 != NEXT, set(i,0)); if(i LT scene.count, txtadd(thumbname,\'thumb_\',get(i)); closethumb(get(thumbname)); set(plugin[get(thumbname)].onclick, openthumbs() ); inc(i); closethumbs(NEXT); );
</action>

</krpano>