<?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="s276598" caption="Фасад" onclick="loadscene(s276598, null, MERGE);"></item>
<item name="s276601" caption="Лікувальний блок" onclick="loadscene(s276601, null, MERGE);"></item>
<item name="s276602" caption="Стерилізаційний блок" onclick="loadscene(s276602, null, MERGE);"></item>
<item name="s276603" caption="Реєстратура" onclick="loadscene(s276603, null, MERGE);"></item>
<item name="s276604" caption="Кабінет керівника" onclick="loadscene(s276604, null, MERGE);"></item>
<item name="s276605" caption="Кабінет рентгендіагностики" onclick="loadscene(s276605, null, MERGE);"></item>
<item name="s277114" caption="Кабінет протезування та імплантології" onclick="loadscene(s277114, null, MERGE);"></item>
<item name="s277115" caption="Кабінет ендодонтії" onclick="loadscene(s277115, null, MERGE);"></item>
<item name="s277116" caption="Кабінет терапевтичної стоматології" onclick="loadscene(s277116, null, MERGE);"></item>
<item name="s277117" caption="Зал очікування" onclick="loadscene(s277117, null, MERGE);"></item>
<item name="s277118" caption="Санвузол для пацієнтів" onclick="loadscene(s277118, null, MERGE);"></item>
<item name="s390936" caption="kogut_01" onclick="loadscene(s390936, null, MERGE);"></item>
<item name="s390937" caption="kogut_02" onclick="loadscene(s390937, null, MERGE);"></item>
<item name="s390938" caption="kogut_03" onclick="loadscene(s390938, 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="s276598" title="Фасад" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_01/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_01/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_01/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_01/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_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="spot289083" style="hotspot_ani_white" ath="-79" atv="-2" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276603', image.hfov=1.0&amp;view.hlookat=-271&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276603); js(showPano(276603, 'Реєстратура'));" onhover="showtext( 'Реєстратура' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s276601" title="Лікувальний блок" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_04/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_04/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_04/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_04/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_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="spot289086" style="hotspot_ani_white" ath="-10" atv="5" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277116', image.hfov=1.0&amp;view.hlookat=-335&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277116); js(showPano(277116, 'Кабінет терапевтичної стоматології'));" onhover="showtext( 'Кабінет терапевтичної стоматології' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289087" style="hotspot_ani_white" ath="94" atv="1" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277114', image.hfov=1.0&amp;view.hlookat=-5&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277114); js(showPano(277114, 'Кабінет протезування та імплантології'));" onhover="showtext( 'Кабінет протезування та імплантології' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289088" style="hotspot_ani_white" ath="94" atv="11" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276602', image.hfov=1.0&amp;view.hlookat=-344&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276602); js(showPano(276602, 'Стерилізаційний блок'));" onhover="showtext( 'Стерилізаційний блок' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289089" style="hotspot_ani_white" ath="125" atv="3" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276603', image.hfov=1.0&amp;view.hlookat=-131&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276603); js(showPano(276603, 'Реєстратура'));" onhover="showtext( 'Реєстратура' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289479" style="hotspot_ani_white" ath="-59" atv="7" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277118', image.hfov=1.0&amp;view.hlookat=-15&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277118); js(showPano(277118, 'Санвузол для пацієнтів'));" onhover="showtext( 'Санвузол для пацієнтів' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289480" style="hotspot_ani_white" ath="16" atv="9" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277115', image.hfov=1.0&amp;view.hlookat=-21&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277115); js(showPano(277115, 'Кабінет ендодонтії'));" onhover="showtext( 'Кабінет ендодонтії' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s276602" title="Стерилізаційний блок" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_05/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_05/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_05/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_05/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_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="spot289090" style="hotspot_ani_white" ath="-164" atv="6" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276601', image.hfov=1.0&amp;view.hlookat=-86&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276601); js(showPano(276601, 'Лікувальний блок'));" onhover="showtext( 'Лікувальний блок' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s276603" title="Реєстратура" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_06/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_06/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_06/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_06/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_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="spot289091" style="hotspot_ani_white" ath="49" atv="4" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276601', image.hfov=1.0&amp;view.hlookat=-55&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276601); js(showPano(276601, 'Лікувальний блок'));" onhover="showtext( 'Лікувальний блок' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289092" style="hotspot_ani_white" ath="-91" atv="6" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276598', image.hfov=1.0&amp;view.hlookat=-259&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276598); js(showPano(276598, 'Фасад'));" onhover="showtext( 'Фасад' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289093" style="hotspot_ani_white" ath="-52" atv="5" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276604', image.hfov=1.0&amp;view.hlookat=-288&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276604); js(showPano(276604, 'Кабінет керівника'));" onhover="showtext( 'Кабінет керівника' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289094" style="hotspot_ani_white" ath="-101" atv="9" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277117', image.hfov=1.0&amp;view.hlookat=-275&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277117); js(showPano(277117, 'Зал очікування'));" onhover="showtext( 'Зал очікування' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s276604" title="Кабінет керівника" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_07/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_07/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_07/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_07/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_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="spot289095" style="hotspot_ani_white" ath="-108" atv="2" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276603', image.hfov=1.0&amp;view.hlookat=-232&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276603); js(showPano(276603, 'Реєстратура'));" onhover="showtext( 'Реєстратура' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s276605" title="Кабінет рентгендіагностики" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_08/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_08/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_08/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_08/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_i_kogut_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="spot289096" style="hotspot_ani_white" ath="-137" atv="3" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s277117', image.hfov=1.0&amp;view.hlookat=-229&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s277117); js(showPano(277117, 'Зал очікування'));" onhover="showtext( 'Зал очікування' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277114" title="Кабінет протезування та імплантології" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_101/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_101/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_101/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_101/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_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="spot289485" style="hotspot_ani_white" ath="175" atv="-1" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276601', image.hfov=1.0&amp;view.hlookat=-86&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276601); js(showPano(276601, 'Лікувальний блок'));" onhover="showtext( 'Лікувальний блок' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277115" title="Кабінет ендодонтії" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_102/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_102/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_102/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_102/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_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="spot289483" style="hotspot_ani_white" ath="159" atv="1" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276601', image.hfov=1.0&amp;view.hlookat=-164&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276601); js(showPano(276601, 'Лікувальний блок'));" onhover="showtext( 'Лікувальний блок' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277116" title="Кабінет терапевтичної стоматології" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_103/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_103/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_103/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_103/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_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="spot289484" style="hotspot_ani_white" ath="-155" atv="" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276601', image.hfov=1.0&amp;view.hlookat=-190&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276601); js(showPano(276601, 'Лікувальний блок'));" onhover="showtext( 'Лікувальний блок' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277117" title="Зал очікування" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_104/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_104/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_104/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_104/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_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="spot289481" style="hotspot_ani_white" ath="-95" atv="-9" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276603', image.hfov=1.0&amp;view.hlookat=-281&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276603); js(showPano(276603, 'Реєстратура'));" onhover="showtext( 'Реєстратура' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot><hotspot name="spot289482" style="hotspot_ani_white" ath="-49" atv="1" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276605', image.hfov=1.0&amp;view.hlookat=-317&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276605); js(showPano(276605, 'Кабінет рентгендіагностики'));" onhover="showtext( 'Кабінет рентгендіагностики' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s277118" title="Санвузол для пацієнтів" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_105/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_105/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_105/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_105/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_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="spot289486" style="hotspot_ani_white" ath="165" atv="3" zoom="false" onclick="looktohotspot(get(name), 40); loadscene('s276601', image.hfov=1.0&amp;view.hlookat=-239&amp;view.vlookat=-4, MERGE, ZOOMBLEND(1,1.6)); plugin[combobox].selectIdItem(s276601); js(showPano(276601, 'Лікувальний блок'));" onhover="showtext( 'Лікувальний блок' , STYLE6); set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);" handcursor="true"></hotspot>
</scene><scene name="s390936" title="kogut_01" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_01/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_01/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_01/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_01/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_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>

</scene><scene name="s390937" title="kogut_02" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_02/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_02/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_02/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_02/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_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>

</scene><scene name="s390938" title="kogut_03" onstart="" thumburl="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_03/thumb.jpg">
<view fisheye="0.0" fov="80" hlookat="0" vlookat="0"></view>
<preview url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_03/preview.jpg"></preview>
<image>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_03/pano_%s.jpg"></cube>
<mobile>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_03/mobile_%s.jpg"></cube>
</mobile>
<tablet>
<cube url="//embed.virtual.ua/panorams/health/lviv/kogut_i_kogut/kogut_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>

</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>