<?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="s418512" caption="pizza-celentano-gnatyuka_02" onclick="loadscene(s418512, null, MERGE);"></item>
<item name="s418506" caption="pizza-celentano-gnatyuka_03" onclick="loadscene(s418506, null, MERGE);"></item>
<item name="s418503" caption="pizza-celentano-gnatyuka_04" onclick="loadscene(s418503, null, MERGE);"></item>
<item name="s418504" caption="pizza-celentano-gnatyuka_05" onclick="loadscene(s418504, null, MERGE);"></item>
<item name="s418505" caption="pizza-celentano-gnatyuka_06" onclick="loadscene(s418505, null, MERGE);"></item>
<item name="s418501" caption="pizza-celentano-gnatyuka_09" onclick="loadscene(s418501, null, MERGE);"></item>
<item name="s418511" caption="pizza-celentano-gnatyuka_10" onclick="loadscene(s418511, null, MERGE);"></item>
<item name="s418500" caption="pizza-celentano-gnatyuka_11" onclick="loadscene(s418500, null, MERGE);"></item>
<item name="s418510" caption="pizza-celentano-gnatyuka_12" onclick="loadscene(s418510, null, MERGE);"></item>
<item name="s418507" caption="pizza-celentano-gnatyuka_13" onclick="loadscene(s418507, null, MERGE);"></item>
<item name="s420643" caption="pizza-celentano-gnatyuka_101" onclick="loadscene(s420643, null, MERGE);"></item>
<item name="s420644" caption="pizza-celentano-gnatyuka_102" onclick="loadscene(s420644, 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="s418512" title="pizza-celentano-gnatyuka_02" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_02/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_02/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_02/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_02/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_02/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="spot418690" style="hotspot_ani_white" ath="-112.6186865679434" atv="0.4797888640229613" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418506', image.hfov=1.0&amp;view.hlookat=-337&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418506); js(showPano(418506, 'pizza-celentano-gnatyuka_03'));" onhover="showtext( 'pizza-celentano-gnatyuka_03' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418691" style="hotspot_ani_white" ath="-150.66099272275656" atv="-1.3007752962297463" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418503', image.hfov=1.0&amp;view.hlookat=-40&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418503); js(showPano(418503, 'pizza-celentano-gnatyuka_04'));" onhover="showtext( 'pizza-celentano-gnatyuka_04' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418506" title="pizza-celentano-gnatyuka_03" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_03/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_03/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_03/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_03/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_03/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="spot418694" style="hotspot_ani_white" ath="-157.31080659387376" atv="-0.2045022232442729" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418512', image.hfov=1.0&amp;view.hlookat=-292&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418512); js(showPano(418512, 'pizza-celentano-gnatyuka_02'));" onhover="showtext( 'pizza-celentano-gnatyuka_02' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418695" style="hotspot_ani_white" ath="-103.67721847594177" atv="-0.6746598538554194" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418503', image.hfov=1.0&amp;view.hlookat=-67&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418503); js(showPano(418503, 'pizza-celentano-gnatyuka_04'));" onhover="showtext( 'pizza-celentano-gnatyuka_04' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418503" title="pizza-celentano-gnatyuka_04" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_04/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_04/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_04/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_04/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_04/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="spot418696" style="hotspot_ani_white" ath="113.96628277079597" atv="8.157672624607248" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418506', image.hfov=1.0&amp;view.hlookat=-283&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418506); js(showPano(418506, 'pizza-celentano-gnatyuka_03'));" onhover="showtext( 'pizza-celentano-gnatyuka_03' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418698" style="hotspot_ani_white" ath="140.89690915180688" atv="0.9118143101941822" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418512', image.hfov=1.0&amp;view.hlookat=-330&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418512); js(showPano(418512, 'pizza-celentano-gnatyuka_02'));" onhover="showtext( 'pizza-celentano-gnatyuka_02' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418699" style="hotspot_ani_white" ath="-81.52786021449415" atv="2.4804645246632835" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418504', image.hfov=1.0&amp;view.hlookat=25&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418504); js(showPano(418504, 'pizza-celentano-gnatyuka_05'));" onhover="showtext( 'pizza-celentano-gnatyuka_05' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418700" style="hotspot_ani_white" ath="70.563326402211" atv="1.4794223421271602" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418500', image.hfov=1.0&amp;view.hlookat=-344&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418500); js(showPano(418500, 'pizza-celentano-gnatyuka_11'));" onhover="showtext( 'pizza-celentano-gnatyuka_11' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418504" title="pizza-celentano-gnatyuka_05" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_05/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_05/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_05/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_05/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_05/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="spot418701" style="hotspot_ani_white" ath="-3.336502325976858" atv="0.6520044924414855" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418505', image.hfov=1.0&amp;view.hlookat=-28&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418505); js(showPano(418505, 'pizza-celentano-gnatyuka_06'));" onhover="showtext( 'pizza-celentano-gnatyuka_06' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418704" style="hotspot_ani_white" ath="205.36493432842104" atv="0.5737448663285678" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418503', image.hfov=1.0&amp;view.hlookat=-261&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418503); js(showPano(418503, 'pizza-celentano-gnatyuka_04'));" onhover="showtext( 'pizza-celentano-gnatyuka_04' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418708" style="hotspot_ani_white" ath="-35.894712616007595" atv="-6.518791758700972" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418511', image.hfov=1.0&amp;view.hlookat=-256&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418511); js(showPano(418511, 'pizza-celentano-gnatyuka_10'));" onhover="showtext( 'pizza-celentano-gnatyuka_10' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418505" title="pizza-celentano-gnatyuka_06" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_06/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_06/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_06/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_06/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_06/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="spot418711" style="hotspot_ani_white" ath="152.11088708032244" atv="5.509835926105025" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418504', image.hfov=1.0&amp;view.hlookat=-183&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418504); js(showPano(418504, 'pizza-celentano-gnatyuka_05'));" onhover="showtext( 'pizza-celentano-gnatyuka_05' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418501" title="pizza-celentano-gnatyuka_09" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_09/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_09/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_09/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_09/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_09/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="spot418720" style="hotspot_ani_white" ath="133.37830814453076" atv="-0.1290496225166229" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418511', image.hfov=1.0&amp;view.hlookat=-227&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418511); js(showPano(418511, 'pizza-celentano-gnatyuka_10'));" onhover="showtext( 'pizza-celentano-gnatyuka_10' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418511" title="pizza-celentano-gnatyuka_10" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_10/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_10/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_10/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_10/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_10/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="spot418715" style="hotspot_ani_white" ath="-76.37710093953427" atv="-2.6459040295431144" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418504', image.hfov=1.0&amp;view.hlookat=-215&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418504); js(showPano(418504, 'pizza-celentano-gnatyuka_05'));" onhover="showtext( 'pizza-celentano-gnatyuka_05' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418717" style="hotspot_ani_white" ath="-47.22465868680913" atv="-1.0379534043281484" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418501', image.hfov=1.0&amp;view.hlookat=-47&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418501); js(showPano(418501, 'pizza-celentano-gnatyuka_09'));" onhover="showtext( 'pizza-celentano-gnatyuka_09' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418718" style="hotspot_ani_white" ath="139.71791424686052" atv="3.293129531228438" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418500', image.hfov=1.0&amp;view.hlookat=-443&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418500); js(showPano(418500, 'pizza-celentano-gnatyuka_11'));" onhover="showtext( 'pizza-celentano-gnatyuka_11' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418500" title="pizza-celentano-gnatyuka_11" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_11/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_11/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_11/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_11/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_11/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="spot418721" style="hotspot_ani_white" ath="-263.55460394734996" atv="0.06807765535804829" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418511', image.hfov=1.0&amp;view.hlookat=-41&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418511); js(showPano(418511, 'pizza-celentano-gnatyuka_10'));" onhover="showtext( 'pizza-celentano-gnatyuka_10' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418722" style="hotspot_ani_white" ath="-78.90968659940702" atv="-0.22189464773262485" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418510', image.hfov=1.0&amp;view.hlookat=-241&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418510); js(showPano(418510, 'pizza-celentano-gnatyuka_12'));" onhover="showtext( 'pizza-celentano-gnatyuka_12' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418724" style="hotspot_ani_white" ath="-52.40577964417328" atv="" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418507', image.hfov=1.0&amp;view.hlookat=-85&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418507); js(showPano(418507, 'pizza-celentano-gnatyuka_13'));" onhover="showtext( 'pizza-celentano-gnatyuka_13' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418725" style="hotspot_ani_white" ath="-164.42880405581553" atv="3.322308057295439" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418503', image.hfov=1.0&amp;view.hlookat=-110&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418503); js(showPano(418503, 'pizza-celentano-gnatyuka_04'));" onhover="showtext( 'pizza-celentano-gnatyuka_04' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418510" title="pizza-celentano-gnatyuka_12" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_12/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_12/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_12/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_12/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_12/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="spot418727" style="hotspot_ani_white" ath="-61.55607240413958" atv="0.009376991939673618" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418500', image.hfov=1.0&amp;view.hlookat=-258&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418500); js(showPano(418500, 'pizza-celentano-gnatyuka_11'));" onhover="showtext( 'pizza-celentano-gnatyuka_11' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418731" style="hotspot_ani_white" ath="-147.28352850341793" atv="-0.5747650620182139" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418507', image.hfov=1.0&amp;view.hlookat=-47&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418507); js(showPano(418507, 'pizza-celentano-gnatyuka_13'));" onhover="showtext( 'pizza-celentano-gnatyuka_13' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s418507" title="pizza-celentano-gnatyuka_13" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_13/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_13/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_13/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_13/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_13/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="spot418732" style="hotspot_ani_white" ath="133.96198571206278" atv="0.38078920853511816" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418510', image.hfov=1.0&amp;view.hlookat=-327&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418510); js(showPano(418510, 'pizza-celentano-gnatyuka_12'));" onhover="showtext( 'pizza-celentano-gnatyuka_12' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot418734" style="hotspot_ani_white" ath="95.60673227634193" atv="-0.9292590325183782" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418500', image.hfov=1.0&amp;view.hlookat=-232&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418500); js(showPano(418500, 'pizza-celentano-gnatyuka_11'));" onhover="showtext( 'pizza-celentano-gnatyuka_11' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s420643" title="pizza-celentano-gnatyuka_101" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_101/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_101/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_101/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_101/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_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="spot505856" style="hotspot_ani_white" ath="-52.54397141156186" atv="0.9380056065268336" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418512', image.hfov=1.0&amp;view.hlookat=&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418512); js(showPano(418512, 'pizza-celentano-gnatyuka_02'));" onhover="showtext( 'pizza-celentano-gnatyuka_02' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s420644" title="pizza-celentano-gnatyuka_102" onstart="" thumburl="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_102/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_102/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_102/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_102/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/restoran/lviv/pizza-celentano-gnatyuka/pizza-celentano-gnatyuka_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="spot505855" style="hotspot_ani_white" ath="78.20356357341241" atv="-1.9845482331706543" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s418512', image.hfov=1.0&amp;view.hlookat=&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s418512); js(showPano(418512, 'pizza-celentano-gnatyuka_02'));" onhover="showtext( 'pizza-celentano-gnatyuka_02' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></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>