<?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="s277860" caption="Конференц-зал" onclick="loadscene(s277860, null, MERGE);"></item>
<item name="s277864" caption="Зуботехнічна лабораторія" onclick="loadscene(s277864, null, MERGE);"></item>
<item name="s277865" caption="Стерилізаційна" onclick="loadscene(s277865, null, MERGE);"></item>
<item name="s277866" caption="Дитячий кабінет" onclick="loadscene(s277866, null, MERGE);"></item>
<item name="s277867" caption="Хірургічний кабінет" onclick="loadscene(s277867, null, MERGE);"></item>
<item name="s277868" caption="Ортопедичний кабінет" onclick="loadscene(s277868, null, MERGE);"></item>
<item name="s277869" caption="Гігієнічний кабінет" onclick="loadscene(s277869, null, MERGE);"></item>
<item name="s277870" caption="Рентгенкабінет" onclick="loadscene(s277870, null, MERGE);"></item>
<item name="s277871" caption="Терапевтичний кабінет" onclick="loadscene(s277871, null, MERGE);"></item>
<item name="s277872" caption="Вхід в Лікувальне відділення" onclick="loadscene(s277872, null, MERGE);"></item>
<item name="s277873" caption="Рецепція" onclick="loadscene(s277873, null, MERGE);"></item>
<item name="s277874" caption="Фасад" onclick="loadscene(s277874, 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="s277860" title="Конференц-зал" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_101/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_101/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_101/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_101/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290720" style="hotspot_ani_white" ath="-14.85" atv="1.35" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277873', image.hfov=1.0&amp;view.hlookat=-45&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277873); js(showPano(277873, 'Рецепція'));" onhover="showtext( 'Рецепція' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277864" title="Зуботехнічна лабораторія" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_10/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_10/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_10/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_10/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290716" style="hotspot_ani_white" ath="137.25" atv="1.35" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277872', image.hfov=1.0&amp;view.hlookat=-189&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277872); js(showPano(277872, 'Вхід в Лікувальне відділення'));" onhover="showtext( 'Вхід в Лікувальне відділення' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277865" title="Стерилізаційна" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_09/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_09/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_09/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_09/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290715" style="hotspot_ani_white" ath="-162.9" atv="8.55" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277872', image.hfov=1.0&amp;view.hlookat=-204&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277872); js(showPano(277872, 'Вхід в Лікувальне відділення'));" onhover="showtext( 'Вхід в Лікувальне відділення' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277866" title="Дитячий кабінет" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_08/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_08/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_08/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_08/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_08/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="spot290714" style="hotspot_ani_white" ath="-48.6" atv="3.6" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277872', image.hfov=1.0&amp;view.hlookat=-20&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277872); js(showPano(277872, 'Вхід в Лікувальне відділення'));" onhover="showtext( 'Вхід в Лікувальне відділення' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277867" title="Хірургічний кабінет" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_07/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_07/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_07/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_07/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_07/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="spot290713" style="hotspot_ani_white" ath="73.8" atv="4.95" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277872', image.hfov=1.0&amp;view.hlookat=-87&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277872); js(showPano(277872, 'Вхід в Лікувальне відділення'));" onhover="showtext( 'Вхід в Лікувальне відділення' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277868" title="Ортопедичний кабінет" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_06/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_06/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_06/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_06/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290712" style="hotspot_ani_white" ath="-69.3" atv="4.95" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277872', image.hfov=1.0&amp;view.hlookat=-180&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277872); js(showPano(277872, 'Вхід в Лікувальне відділення'));" onhover="showtext( 'Вхід в Лікувальне відділення' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277869" title="Гігієнічний кабінет" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_05/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_05/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_05/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_05/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290711" style="hotspot_ani_white" ath="-175.5" atv="9.45" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277872', image.hfov=1.0&amp;view.hlookat=-285&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277872); js(showPano(277872, 'Вхід в Лікувальне відділення'));" onhover="showtext( 'Вхід в Лікувальне відділення' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277870" title="Рентгенкабінет" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_04/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_04/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_04/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_04/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290709" style="hotspot_ani_white" ath="-173.25" atv="7.2" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277873', image.hfov=1.0&amp;view.hlookat=-229&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277873); js(showPano(277873, 'Рецепція'));" onhover="showtext( 'Рецепція' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290710" style="hotspot_ani_white" ath="121.5" atv="8.55" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277871', image.hfov=1.0&amp;view.hlookat=-71&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277871); js(showPano(277871, 'Терапевтичний кабінет'));" onhover="showtext( 'Терапевтичний кабінет' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277871" title="Терапевтичний кабінет" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_03/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_03/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_03/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_03/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290707" style="hotspot_ani_white" ath="-2.25" atv="4.95" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277872', image.hfov=1.0&amp;view.hlookat=-350&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277872); js(showPano(277872, 'Вхід в Лікувальне відділення'));" onhover="showtext( 'Вхід в Лікувальне відділення' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290708" style="hotspot_ani_white" ath="109.35" atv="-7.65" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277870', image.hfov=1.0&amp;view.hlookat=-59&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277870); js(showPano(277870, 'Рентгенкабінет'));" onhover="showtext( 'Рентгенкабінет' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277872" title="Вхід в Лікувальне відділення" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_02/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_02/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_02/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_02/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290699" style="hotspot_ani_white" ath="-180" atv="1.35" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277873', image.hfov=1.0&amp;view.hlookat=-126&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277873); js(showPano(277873, 'Рецепція'));" onhover="showtext( 'Рецепція' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290700" style="hotspot_ani_white" ath="-170.1" atv="4.95" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277871', image.hfov=1.0&amp;view.hlookat=-182&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277871); js(showPano(277871, 'Терапевтичний кабінет'));" onhover="showtext( 'Терапевтичний кабінет' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290701" style="hotspot_ani_white" ath="-105.3" atv="11.25" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277869', image.hfov=1.0&amp;view.hlookat=-355&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277869); js(showPano(277869, 'Гігієнічний кабінет'));" onhover="showtext( 'Гігієнічний кабінет' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290702" style="hotspot_ani_white" ath="0.9" atv="3.15" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277868', image.hfov=1.0&amp;view.hlookat=-249&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277868); js(showPano(277868, 'Ортопедичний кабінет'));" onhover="showtext( 'Ортопедичний кабінет' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290703" style="hotspot_ani_white" ath="93.6" atv="7.65" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277867', image.hfov=1.0&amp;view.hlookat=-107&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277867); js(showPano(277867, 'Хірургічний кабінет'));" onhover="showtext( 'Хірургічний кабінет' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290704" style="hotspot_ani_white" ath="160.2" atv="6.75" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277866', image.hfov=1.0&amp;view.hlookat=-228&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277866); js(showPano(277866, 'Дитячий кабінет'));" onhover="showtext( 'Дитячий кабінет' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290705" style="hotspot_ani_white" ath="-24.75" atv="5.4" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277865', image.hfov=1.0&amp;view.hlookat=-342&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277865); js(showPano(277865, 'Стерилізаційна'));" onhover="showtext( 'Стерилізаційна' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290706" style="hotspot_ani_white" ath="-9" atv="3.6" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277864', image.hfov=1.0&amp;view.hlookat=-43&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277864); js(showPano(277864, 'Зуботехнічна лабораторія'));" onhover="showtext( 'Зуботехнічна лабораторія' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277873" title="Рецепція" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_01/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_01/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_01/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_01/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_01/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="spot290697" style="hotspot_ani_white" ath="54.45" atv="7.65" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277872', image.hfov=1.0&amp;view.hlookat=-360&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277872); js(showPano(277872, 'Вхід в Лікувальне відділення'));" onhover="showtext( 'Вхід в Лікувальне відділення' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290698" style="hotspot_ani_white" ath="-49.5" atv="4.95" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277870', image.hfov=1.0&amp;view.hlookat=-353&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277870); js(showPano(277870, 'Рентгенкабінет'));" onhover="showtext( 'Рентгенкабінет' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290718" style="hotspot_ani_white" ath="135.9" atv="13.05" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277874', image.hfov=1.0&amp;view.hlookat=-179&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277874); js(showPano(277874, 'Фасад'));" onhover="showtext( 'Фасад' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot290719" style="hotspot_ani_white" ath="135" atv="-1.8" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277860', image.hfov=1.0&amp;view.hlookat=-194&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277860); js(showPano(277860, 'Конференц-зал'));" onhover="showtext( 'Конференц-зал' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277874" title="Фасад" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_102/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_102/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_102/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_102/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/usmishka/usmishka_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="spot290717" style="hotspot_ani_white" ath="1.8" atv="-3.6" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277873', image.hfov=1.0&amp;view.hlookat=-45&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277873); js(showPano(277873, 'Рецепція'));" onhover="showtext( 'Рецепція' , 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>