<krpano onstart="startup();">

        <include url="%CURRENTXML%/vtourskin.nl.xml"
            />
    
    <!-- set skin settings: bingmaps? gyro? -->
    <skin_settings
                                      maps="true"
                   maps_lat="50.8299925"
                   maps_lng="3.6027777"
                   maps_zoom="19"
                                      maps_type="bing"
                   maps_bing_api_key="AsPB4S5OElZef4eFNG-g7io_gOc2Pn1qLciSYonr-M5QEdf4MUXdSN_4Q2cVVagw"
                   maps_zoombuttons="true"
                   gyro="true"
                   title="false"
                   thumbs="true"
                   thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop=""
                   thumbs_opened="false"
                   thumbs_text="true"
                   thumbs_dragging="true"
                   thumbs_onhoverscrolling="false"
                   thumbs_scrollbuttons="true"
                   thumbs_scrollindicator="false"
                   tooltips_thumbs="false"
                   tooltips_hotspots="false"
                   tooltips_mapspots="false"
                   controlbar_offset="0"
                   plans_3d="true"
                   minitour="false"
            />

    <include url="%SWFPATH%/plugins/showtext.xml"
            />

    <textstyle name="DEFAULT"
               backgroundcolor="0x000000"
               backgroundalpha="0.5"
               border="false"
               font="Arial"
               padding="4"
               textcolor="0xFFFFFF"
            />

    <action name="startup">
        set(crt_level, null);
        set(active_spot, null);
                delayedcall(1, create_pano_dd(););
        loadscene(get(start));
        delayedcall(0.3, tween(layer[house_plan_container].x, 0, 0.7, easeInQuint););
        if(device.desktop,
            set(fov_default, 115);
            set(fov_trans, 85);
            ,
            set(fov_default, 108);
            if(device.tablet,
                set(fov_trans, 90);
                ,
                set(fov_trans, 70);
            );
        );
        set(lastclicktick, 0);
        set(log_showed, false);
            </action>

    <events onviewchange="rotatecompass();"
        />

<action name="rotatecompass">
    add(hlookat, view.hlookat, heading);
    sub(plugin[compass].rotate, 360, hlookat);
</action>

<!-- compass with rotating pointer -->
<layer name="compass"
        type="container"
        keep="true"
        zorder="3"
        children="false"
        align="leftbottom"
        x="30"
        y="90"
        y.mobile="120"
        scale="1"
        scale.mobile="4"
        heading="0"
        />

<!-- compass pointer, the rotation will be changed in the "onviewchange" action -->
<plugin name="compass_pointer"
        url="%SWFPATH%/compass.png"
        keep="true"
        handcursor="false"
        parent="compass"
        zorder="3"
        align="center"
        /><style name="house-floor-normal"
       css="color: #27557E; font-family:Arial; font-size: 14px; font-weight: bold; line-height: 14px; text-align: center;"
       backgroundcolor="0xE9E9FF"
        />

<style name="house-floor-highlighted"
       css="color: #FFFFFF; font-family:Arial; font-size: 14px; font-weight: bold; line-height: 14px; text-align: center;"
       backgroundcolor="0x639ACE"
        />

<style name="house-floor-selected"
       css="color: #FFFFFF; font-family:Arial; font-size: 14px; font-weight: bold; line-height: 14px; text-align: center;"
       backgroundcolor="0xCE0031"
        />

<style name="house-floor-disabled"
       css="color: #07355E; font-family:Arial; font-size: 14px; font-weight: bold; line-height: 14px; text-align: center;"
       backgroundcolor="0xBBBBBB"
       alpha="0.5"
       handcursor="false"
        />


<action name="select_floor_dd">
    if(layer[floor_dd] AND layer[floor_dd].filled,
        layer[floor_dd].selectIdItem(%1);
        ,
        delayedcall(0, select_floor_dd(%1););
    );
</action>

<style name="mapspotlG"
       keep="true"
       url="%SWFPATH%/hotspot_plan_icon.png"
       align="lefttop"
       edge="center"
       zorder="2"
        />
<style name="mapspotl0"
       keep="true"
       url="%SWFPATH%/hotspot_plan_icon.png"
       align="lefttop"
       edge="center"
       zorder="2"
        />
<style name="mapspotl1"
       keep="true"
       url="%SWFPATH%/hotspot_plan_icon.png"
       align="lefttop"
       edge="center"
       zorder="2"
        />
<style name="mapspotl2"
       keep="true"
       url="%SWFPATH%/hotspot_plan_icon.png"
       align="lefttop"
       edge="center"
       zorder="2"
        />
<style name="mapspotl-1"
       keep="true"
       url="%SWFPATH%/hotspot_plan_icon.png"
       align="lefttop"
       edge="center"
       zorder="2"
        />

<layer name="house_plan_container"
       devices="no-mobile"
       type="container"
       keep="true"
       align="lefttop"
       x="-500"
       y="0"
       width="100%"
       height="100%"
       zorder="1"
        ><layer name="house"
       keep="true"
       type="container"
       align="lefttop"
       x="10"
       y="10"
       width="166"
       height="133"
       bgcolor="0xFFFFFF"
       bgalpha="0.5"
       bgborder="3 0xFFFFFF 1"
       bgroundedge="2"
               >

    <layer name="house-floors-border"
           type="container"
           align="lefttop"
           x="10"
           y="25"
           width="89"
           height="102"
           bgcolor="0xFFFFFF"
           bgalpha="1"
           />

    <layer name="house-roof"
           url="%SWFPATH%/roof2.png"
           align="lefttop"
           x="6"
           y="6"
            />

    <layer name="house-floors"
           type="container"
           align="lefttop"
           x="14"
           y="29"
           zorder="6"
           width="81"
           height="94"
           bgborder="1 0x7381A8"
           bgcolor="0xFFFFFF"
           bgalpha="1"
           />

        <layer name="house-floor2"
           url="%SWFPATH%/plugins/textfield.swf"
           align="lefttop"
           x="17"
           y="32"
           zorder="7"
           html="2"
           width="75"
           height="19"
           border="true"
           bordercolor="0x7381A8"
                      style="house-floor-normal"
           onover="if(!selected, loadstyle(house-floor-highlighted););"
           onout="if(!selected, loadstyle(house-floor-normal););"
           onclick="loadscene(panol2p0, null, MERGE, BLEND(1));"
                      selected="false"
           />
        <layer name="house-floor1"
           url="%SWFPATH%/plugins/textfield.swf"
           align="lefttop"
           x="17"
           y="55"
           zorder="7"
           html="1"
           width="75"
           height="19"
           border="true"
           bordercolor="0x7381A8"
                      style="house-floor-normal"
           onover="if(!selected, loadstyle(house-floor-highlighted););"
           onout="if(!selected, loadstyle(house-floor-normal););"
           onclick="loadscene(panol1p0, null, MERGE, BLEND(1));"
                      selected="false"
           />
        <layer name="house-floor0"
           url="%SWFPATH%/plugins/textfield.swf"
           align="lefttop"
           x="17"
           y="78"
           zorder="7"
           html="0"
           width="75"
           height="19"
           border="true"
           bordercolor="0x7381A8"
                      style="house-floor-normal"
           onover="if(!selected, loadstyle(house-floor-highlighted););"
           onout="if(!selected, loadstyle(house-floor-normal););"
           onclick="loadscene(panol0p1, null, MERGE, BLEND(1));"
                      selected="false"
           />
        <layer name="house-floor-1"
           url="%SWFPATH%/plugins/textfield.swf"
           align="lefttop"
           x="17"
           y="101"
           zorder="7"
           html="-1"
           width="75"
           height="19"
           border="true"
           bordercolor="0x7381A8"
                      style="house-floor-normal"
           onover="if(!selected, loadstyle(house-floor-highlighted););"
           onout="if(!selected, loadstyle(house-floor-normal););"
           onclick="loadscene(panol-1p0, null, MERGE, BLEND(1));"
                      selected="false"
           />
    
        <layer name="house-garden"
           url="%SWFPATH%/floor_garden2.png"
           align="lefttop"
           x="104"
           y="78"
           alpha="0.7"
           selected="false"
                      onover="if(!selected, set(alpha, 1););"
           onout="if(!selected, set(alpha, 0.7););"
           onclick="loadscene(panolGp1, null, MERGE, BLEND(1));"
           />
    
</layer>

    <layer name="radar" keep="true"
           url.flash="%SWFPATH%/plugins/radar.swf"
           url.html5="%SWFPATH%/plugins/radar.js"
           align="lefttop"
           edge="center"
           zorder="1"
           scale="0.45"
           fillalpha="0.3" fillcolor="0xAEAEAE"
           linewidth="2" linecolor="0xA0A0A0" linealpha="0.5"
           visible.mobile="false"
    />

        <layer name="maplG"
           url="plans/G_s.png"
           keep="true"
           handcursor="false"
           capture="false"
           align="lefttop"
           visible="false"
           x="7"
                      y="163"
                      preload="true"
           scalechildren="true"
           height="43%"
           width="prop"
           zo="true"
           onover="tween(height, 70%, 0.5);"
           onout="tween(height, 43%, 0.5);"
           onclick="ifnot(device.mouse, switch(zo); if(zo, tween(height, 43%, 0.5);, tween(height, 70%, 0.5);););"
            >

        <layer name="spotlGs0"
           style="mapspotlG"
           x="445"
           y="395"
           onclick="loadscene(panolGp0, null, MERGE, BLEND(1));"
           onhover="showtext(Achterlandschap);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotlGs1"
           style="mapspotlG"
           x="297"
           y="109"
           onclick="loadscene(panolGp1, null, MERGE, BLEND(1));"
           onhover="showtext(Voortuin);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
    
    </layer>

        <layer name="mapl0"
           url="plans/0_s.png"
           keep="true"
           handcursor="false"
           capture="false"
           align="lefttop"
           visible="false"
           x="7"
                      y="163"
                      preload="true"
           scalechildren="true"
           height="43%"
           width="prop"
           zo="true"
           onover="tween(height, 70%, 0.5);"
           onout="tween(height, 43%, 0.5);"
           onclick="ifnot(device.mouse, switch(zo); if(zo, tween(height, 43%, 0.5);, tween(height, 70%, 0.5);););"
            >

        <layer name="spotl0s0"
           style="mapspotl0"
           x="196"
           y="666"
           onclick="loadscene(panol0p0, null, MERGE, BLEND(1));"
           onhover="showtext(Garage);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl0s1"
           style="mapspotl0"
           x="135"
           y="466"
           onclick="loadscene(panol0p1, null, MERGE, BLEND(1));"
           onhover="showtext(Winkel);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl0s2"
           style="mapspotl0"
           x="205"
           y="321"
           onclick="loadscene(panol0p2, null, MERGE, BLEND(1));"
           onhover="showtext(Gang);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl0s3"
           style="mapspotl0"
           x="141"
           y="271"
           onclick="loadscene(panol0p3, null, MERGE, BLEND(1));"
           onhover="showtext(Keuken);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl0s4"
           style="mapspotl0"
           x="183"
           y="207"
           onclick="loadscene(panol0p4, null, MERGE, BLEND(1));"
           onhover="showtext(Keuken);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl0s5"
           style="mapspotl0"
           x="255"
           y="256"
           onclick="loadscene(panol0p5, null, MERGE, BLEND(1));"
           onhover="showtext(Gang);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl0s6"
           style="mapspotl0"
           x="288"
           y="175"
           onclick="loadscene(panol0p6, null, MERGE, BLEND(1));"
           onhover="showtext(Woonkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
    
    </layer>

        <layer name="mapl1"
           url="plans/1_s.png"
           keep="true"
           handcursor="false"
           capture="false"
           align="lefttop"
           visible="false"
           x="7"
                      y="163"
                      preload="true"
           scalechildren="true"
           height="43%"
           width="prop"
           zo="true"
           onover="tween(height, 70%, 0.5);"
           onout="tween(height, 43%, 0.5);"
           onclick="ifnot(device.mouse, switch(zo); if(zo, tween(height, 43%, 0.5);, tween(height, 70%, 0.5);););"
            >

        <layer name="spotl1s0"
           style="mapspotl1"
           x="314"
           y="204"
           onclick="loadscene(panol1p0, null, MERGE, BLEND(1));"
           onhover="showtext(Overloop);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl1s1"
           style="mapspotl1"
           x="351"
           y="156"
           onclick="loadscene(panol1p1, null, MERGE, BLEND(1));"
           onhover="showtext(Slaapkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl1s2"
           style="mapspotl1"
           x="263"
           y="155"
           onclick="loadscene(panol1p2, null, MERGE, BLEND(1));"
           onhover="showtext(Slaapkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl1s3"
           style="mapspotl1"
           x="285"
           y="245"
           onclick="loadscene(panol1p3, null, MERGE, BLEND(1));"
           onhover="showtext(Overloop);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl1s4"
           style="mapspotl1"
           x="246"
           y="197"
           onclick="loadscene(panol1p4, null, MERGE, BLEND(1));"
           onhover="showtext(Badkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl1s5"
           style="mapspotl1"
           x="232"
           y="312"
           onclick="loadscene(panol1p5, null, MERGE, BLEND(1));"
           onhover="showtext(Overloop);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl1s6"
           style="mapspotl1"
           x="179"
           y="267"
           onclick="loadscene(panol1p6, null, MERGE, BLEND(1));"
           onhover="showtext(Slaapkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl1s7"
           style="mapspotl1"
           x="164"
           y="413"
           onclick="loadscene(panol1p7, null, MERGE, BLEND(1));"
           onhover="showtext(Slaapkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
    
    </layer>

        <layer name="mapl2"
           url="plans/2_s.png"
           keep="true"
           handcursor="false"
           capture="false"
           align="lefttop"
           visible="false"
           x="7"
                      y="163"
                      preload="true"
           scalechildren="true"
           height="43%"
           width="prop"
           zo="true"
           onover="tween(height, 70%, 0.5);"
           onout="tween(height, 43%, 0.5);"
           onclick="ifnot(device.mouse, switch(zo); if(zo, tween(height, 43%, 0.5);, tween(height, 70%, 0.5);););"
            >

        <layer name="spotl2s0"
           style="mapspotl2"
           x="291"
           y="256"
           onclick="loadscene(panol2p0, null, MERGE, BLEND(1));"
           onhover="showtext(Overloop);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl2s1"
           style="mapspotl2"
           x="232"
           y="225"
           onclick="loadscene(panol2p1, null, MERGE, BLEND(1));"
           onhover="showtext(Slaapkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl2s2"
           style="mapspotl2"
           x="273"
           y="169"
           onclick="loadscene(panol2p2, null, MERGE, BLEND(1));"
           onhover="showtext(Slaapkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
        <layer name="spotl2s3"
           style="mapspotl2"
           x="356"
           y="137"
           onclick="loadscene(panol2p3, null, MERGE, BLEND(1));"
           onhover="showtext(Slaapkamer);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
    
    </layer>

        <layer name="mapl-1"
           url="plans/-1_s.png"
           keep="true"
           handcursor="false"
           capture="false"
           align="lefttop"
           visible="false"
           x="7"
                      y="163"
                      preload="true"
           scalechildren="true"
           height="43%"
           width="prop"
           zo="true"
           onover="tween(height, 70%, 0.5);"
           onout="tween(height, 43%, 0.5);"
           onclick="ifnot(device.mouse, switch(zo); if(zo, tween(height, 43%, 0.5);, tween(height, 70%, 0.5);););"
            >

        <layer name="spotl-1s0"
           style="mapspotl-1"
           x="224"
           y="327"
           onclick="loadscene(panol-1p0, null, MERGE, BLEND(1));"
           onhover="showtext(Kelder);"
           onover="if(active_spot !== name, copy(scale, hoverscale););"
           onout="if(active_spot !== name, copy(scale, normalscale););"
                      scale="0.4"
           normalscale="0.4"
           hoverscale="0.5"
                       />
    
    </layer>

    
    <layer name="hide_plan_btn"
           url="%SWFPATH%/close_plan.png"
           keep="true"
           align="lefttop"
           zorder="1"
                      x="190"
                      y="7"
           alpha="0.7"
           style="skin_tooltips"
           tooltip="Plannen Verbergen"
           onclick="show_plan(false, true);"
           onover="tween(alpha, 1.0);"
           onout="tween(alpha, 0.7);"
            />

</layer>



<layer name="show_plan_btn"
              url="%SWFPATH%/show_plan_3d.png"
              keep="true"
       align="lefttop"
       x="7"
       y="7"
       visible="false"
       alpha="0.7"
       style="skin_tooltips"
       tooltip="Plannen Tonen"
       onclick="show_plan(true, true);"
       onover="tween(alpha, 1.0);"
       onout="tween(alpha, 0.7);"
        />

<action name="show_level">
        if(crt_level != %1,
        if(crt_level !== null,
            txtadd(map_crt_level, 'mapl', get(crt_level));
                        tween(layer[get(map_crt_level)].alpha, 0, 0.5, default, set(layer[get(map_crt_level)].visible, false););
            if(crt_level == 'G',
                                set(layer[house-garden].selected, false);
                set(layer[house-garden].alpha, 0.7);
                ,
                                txtadd(house_floor, 'house-floor', get(crt_level));
                set(layer[get(house_floor)].selected, false);
                layer[get(house_floor)].loadstyle('house-floor-normal');
            );
        );
        txtadd(map_level, 'mapl', %1);
                set(layer[get(map_level)].alpha, 0);
        set(layer[get(map_level)].visible, true);
        tween(layer[get(map_level)].alpha, 1);
        txtadd(tmp, 'iteml', %1);
        select_floor_dd(get(tmp));
        if(%1 == 'G',
            set(layer[house-garden].selected, true);
            set(layer[house-garden].alpha, 1);
            ,
            txtadd(house_floor, 'house-floor', %1);
            set(layer[get(house_floor)].selected, true);
            layer[get(house_floor)].loadstyle(house-floor-selected);
        );

        set(crt_level, %1);
    );
</action>

<action name="show_plan">
    copy(show, %1);
    copy(force, %2);
    if(show,
        if(plan_hidden AND (force OR !plan_hidden_force),
            set(layer[show_plan_btn].visible, false);
            tween(layer[house_plan_container].x, 0, 0.7, easeOutQuint);
            set(plan_hidden, false);
            set(layer[skin_btn_plan].alpha, 1);
            set(layer[skin_btn_plan].tooltip, 'Plannen Verbergen');
        );
        ,
        ifnot(plan_hidden,
            tween(layer[house_plan_container].x, -800, 0.7, easeInQuint, set(layer[show_plan_btn].visible, true););
            set(plan_hidden, true);
            copy(plan_hidden_force, force);
            set(layer[skin_btn_plan].alpha, 0.5);
            set(layer[skin_btn_plan].tooltip, 'Plannen Tonen');
        );
    );
</action>
    
    <style name="hotspot_ani_white"
           url="%SWFPATH%/hotspot_ani_white_64x64x20.png"
           crop="0|0|64|64"
           framewidth="64"
           frameheight="64"
           framex="0"
           frame="0"
           lastframe="19"
            />

    <style name="hotspot_ani_black"
           url="%SWFPATH%/hotspot_ani_black_64x64x20.png"
           crop="0|0|64|64"
           framewidth="64"
           frameheight="64"
           framex="0"
           frame="0"
           lastframe="19"
            />

    <style name="hotspot_ani_arrow"
           url="%SWFPATH%/vtourskin_hotspot3.png"
           distorted="true"
           rx="-70"
                      alpha="0.7"
           edge="top"
           scale.mobile="1.6"
            />

    <action name="hotspot_animate">
        inc(frame, 1, get(lastframe), 0);
        mul(ypos, frame, frameheight);
        txtadd(crop, get(framex), '|', get(ypos), '|', get(framewidth), '|', get(frameheight));
        delayedcall(get(%1), 0.03, if(loaded, hotspot_animate(%1);););
    </action>

    <action name="tween_active_spot">
        copy(asl, layer[get(active_spot)]);
        if(layer[get(active_spot)].scale === layer[get(active_spot)].hoverscale,
            tween(layer[get(active_spot)].scale, get(layer[get(active_spot)].normalscale), 0.5, linear, tween_active_spot);
            ,
            tween(layer[get(active_spot)].scale, get(layer[get(active_spot)].hoverscale), 0.5, linear, tween_active_spot);
        );
    </action>

    <action name="set_active_spot">
        if(active_spot !== null,
            tween(layer[get(active_spot)].scale, get(layer[get(active_spot)].normalscale), 0, linear);
        );
        set(active_spot, %1);
        tolower(active_spot);
        tween_active_spot();
    </action>

            <scene name="panolGp0"
           onstart="update_pano();"
           title="Achterlandschap"
           thumburl="panoramas/G/0_s.jpg"
            >
        <action name="update_pano">
            set(heading, 115);

            ifnot(device.mobile,
                set_active_spot(spotlGs0);
                show_level(G);

                set(layer[radar].parent, maplG);

                set(new_spot, spotlGs0);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -0);
            );

            select_pano_dd(itemlGp0);
        </action>

        <view hlookat="-72" vlookat="-1.3037240161663"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/G/0_p.jpg" />

        <image>
            <cube url="panoramas/G/0_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/G/0t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/G/0m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot00"
                 style="hotspot_ani_white"
                 ath="343"
                 atv="-1.3037240161663"
                 zorder="20"
                 animation="anim00"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol0p6, null, MERGE, BLEND(1)); lookat(25, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-120, 0.87963459888594, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Woonkamer);"
                 onover="set(framex, 64); copy(layer[spotl0s6].scale, layer[spotl0s6].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl0s6].scale, layer[spotl0s6].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot00c"
                 devices="desktop"
                 ath="343"
                 atv="-1.3037240161663"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot00], onclick);"
                 onhover="callwith(hotspot[spot00], onhover);"
                 onover="callwith(hotspot[spot00], onover);"
                 onout="callwith(hotspot[spot00], onout);"
                >
            <point ath="340" atv="45" />
            <point ath="346" atv="45" />
            <point ath="346" atv="-5" />
            <point ath="340" atv="-5" />
        </hotspot>

                    </scene>
        <scene name="panolGp1"
           onstart="update_pano();"
           title="Voortuin"
           thumburl="panoramas/G/1_s.jpg"
            >
        <action name="update_pano">
            set(heading, 115);

            ifnot(device.mobile,
                set_active_spot(spotlGs1);
                show_level(G);

                set(layer[radar].parent, maplG);

                set(new_spot, spotlGs1);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -0);
            );

            select_pano_dd(itemlGp1);
        </action>

        <view hlookat="175" vlookat="3.4864611360355"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/G/1_p.jpg" />

        <image>
            <cube url="panoramas/G/1_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/G/1t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/G/1m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot10"
                 style="hotspot_ani_white"
                 ath="180"
                 atv="-2.6229290207104"
                 zorder="20"
                 animation="anim10"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol0p1, null, MERGE, BLEND(1)); lookat(178, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-116, 1.3037240161663, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Winkel);"
                 onover="set(framex, 64); copy(layer[spotl0s1].scale, layer[spotl0s1].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl0s1].scale, layer[spotl0s1].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot10c"
                 devices="desktop"
                 ath="180"
                 atv="-2.6229290207104"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot10], onclick);"
                 onhover="callwith(hotspot[spot10], onhover);"
                 onover="callwith(hotspot[spot10], onover);"
                 onout="callwith(hotspot[spot10], onout);"
                >
            <point ath="177" atv="45" />
            <point ath="183" atv="45" />
            <point ath="183" atv="-5" />
            <point ath="177" atv="-5" />
        </hotspot>

                    </scene>
                <scene name="panol0p0"
           onstart="update_pano();"
           title="Garage"
           thumburl="panoramas/0/0_s.jpg"
            >
        <action name="update_pano">
            set(heading, 68.78292504221);

            ifnot(device.mobile,
                set_active_spot(spotl0s0);
                show_level(0);

                set(layer[radar].parent, mapl0);

                set(new_spot, spotl0s0);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -100);
            );

            select_pano_dd(iteml0p0);
        </action>

        <view hlookat="-4" vlookat="-4.8047861176657"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/0/0_p.jpg" />

        <image>
            <cube url="panoramas/0/0_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/0/0t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/0/0m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot00"
                 style="hotspot_ani_arrow"
                 ath="82"
                 atv="11.753739745784"
                 zorder="20"
                 animation="anim00"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p1, null, MERGE, BLEND(1)); lookat(45, 0, get(fov_default));"
                                  onhover="showtext(Winkel);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s1].scale, layer[spotl0s1].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s1].scale, layer[spotl0s1].normalscale);"
                                 />

        <hotspot name="spot00c"
                 devices="desktop"
                 ath="82"
                 atv="11.753739745784"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot00], onclick);"
                 onhover="callwith(hotspot[spot00], onhover);"
                 onover="callwith(hotspot[spot00], onover);"
                 onout="callwith(hotspot[spot00], onout);"
                >
            <point ath="79" atv="45" />
            <point ath="85" atv="45" />
            <point ath="85" atv="-5" />
            <point ath="79" atv="-5" />
        </hotspot>

                <hotspot name="spot00s"
                 devices="no-desktop"
                 ath="82"
                 atv="11.753739745784"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot00], onclick);"
                >
            <point ath="87" atv="16.753739745784" />
            <point ath="87" atv="9.7537397457838" />
            <point ath="77" atv="9.7537397457838" />
            <point ath="77" atv="16.753739745784" />
        </hotspot>
                    </scene>
        <scene name="panol0p1"
           onstart="update_pano();"
           title="Winkel"
           thumburl="panoramas/0/1_s.jpg"
            >
        <action name="update_pano">
            set(heading, 89.78292504221);

            ifnot(device.mobile,
                set_active_spot(spotl0s1);
                show_level(0);

                set(layer[radar].parent, mapl0);

                set(new_spot, spotl0s1);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -79);
            );

            select_pano_dd(iteml0p1);
        </action>

        <view hlookat="0" vlookat="0"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/0/1_p.jpg" />

        <image>
            <cube url="panoramas/0/1_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/0/1t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/0/1m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot10"
                 style="hotspot_ani_white"
                 ath="350"
                 atv="-1.3037240161663"
                 zorder="20"
                 animation="anim10"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panolGp1, null, MERGE, BLEND(1)); lookat(352, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(175, 3.4864611360355, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Voortuin);"
                 onover="set(framex, 64); copy(layer[spotlGs1].scale, layer[spotlGs1].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotlGs1].scale, layer[spotlGs1].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot10c"
                 devices="desktop"
                 ath="350"
                 atv="-1.3037240161663"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot10], onclick);"
                 onhover="callwith(hotspot[spot10], onhover);"
                 onover="callwith(hotspot[spot10], onover);"
                 onout="callwith(hotspot[spot10], onout);"
                >
            <point ath="347" atv="45" />
            <point ath="353" atv="45" />
            <point ath="353" atv="-5" />
            <point ath="347" atv="-5" />
        </hotspot>

                        <hotspot name="spot11"
                 style="hotspot_ani_arrow"
                 ath="243"
                 atv="-0.43982155348356"
                 zorder="20"
                 animation="anim11"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p0, null, MERGE, BLEND(1)); lookat(277, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(68, 10.020542707341, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Garage);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s0].scale, layer[spotl0s0].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s0].scale, layer[spotl0s0].normalscale);"
                                 />

        <hotspot name="spot11c"
                 devices="desktop"
                 ath="243"
                 atv="-0.43982155348356"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot11], onclick);"
                 onhover="callwith(hotspot[spot11], onhover);"
                 onover="callwith(hotspot[spot11], onover);"
                 onout="callwith(hotspot[spot11], onout);"
                >
            <point ath="240" atv="45" />
            <point ath="246" atv="45" />
            <point ath="246" atv="-5" />
            <point ath="240" atv="-5" />
        </hotspot>

                <hotspot name="spot11s"
                 devices="no-desktop"
                 ath="243"
                 atv="-0.43982155348356"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot11], onclick);"
                >
            <point ath="248" atv="4.5601784465164" />
            <point ath="248" atv="-2.4398215534836" />
            <point ath="238" atv="-2.4398215534836" />
            <point ath="238" atv="4.5601784465164" />
        </hotspot>
                        <hotspot name="spot12"
                 style="hotspot_ani_white"
                 ath="106"
                 atv="1.3037240161663"
                 zorder="20"
                 animation="anim12"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol0p2, null, MERGE, BLEND(1)); lookat(87, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(109, 2.1832334170347, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Gang);"
                 onover="set(framex, 64); copy(layer[spotl0s2].scale, layer[spotl0s2].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl0s2].scale, layer[spotl0s2].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot12c"
                 devices="desktop"
                 ath="106"
                 atv="1.3037240161663"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot12], onclick);"
                 onhover="callwith(hotspot[spot12], onhover);"
                 onover="callwith(hotspot[spot12], onover);"
                 onout="callwith(hotspot[spot12], onout);"
                >
            <point ath="103" atv="45" />
            <point ath="109" atv="45" />
            <point ath="109" atv="-5" />
            <point ath="103" atv="-5" />
        </hotspot>

                    </scene>
        <scene name="panol0p2"
           onstart="update_pano();"
           title="Gang"
           thumburl="panoramas/0/2_s.jpg"
            >
        <action name="update_pano">
            set(heading, 115.78292504221);

            ifnot(device.mobile,
                set_active_spot(spotl0s2);
                show_level(0);

                set(layer[radar].parent, mapl0);

                set(new_spot, spotl0s2);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -53);
            );

            select_pano_dd(iteml0p2);
        </action>

        <view hlookat="91" vlookat="2.1832334170347"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/0/2_p.jpg" />

        <image>
            <cube url="panoramas/0/2_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/0/2t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/0/2m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot20"
                 style="hotspot_ani_arrow"
                 ath="271"
                 atv="18.645544757753"
                 zorder="20"
                 animation="anim20"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p1, null, MERGE, BLEND(1)); lookat(326, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(132, 4.365426070046, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Winkel);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s1].scale, layer[spotl0s1].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s1].scale, layer[spotl0s1].normalscale);"
                                 />

        <hotspot name="spot20c"
                 devices="desktop"
                 ath="271"
                 atv="18.645544757753"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot20], onclick);"
                 onhover="callwith(hotspot[spot20], onhover);"
                 onover="callwith(hotspot[spot20], onover);"
                 onout="callwith(hotspot[spot20], onout);"
                >
            <point ath="268" atv="45" />
            <point ath="274" atv="45" />
            <point ath="274" atv="-5" />
            <point ath="268" atv="-5" />
        </hotspot>

                <hotspot name="spot20s"
                 devices="no-desktop"
                 ath="271"
                 atv="18.645544757753"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot20], onclick);"
                >
            <point ath="276" atv="23.645544757753" />
            <point ath="276" atv="16.645544757753" />
            <point ath="266" atv="16.645544757753" />
            <point ath="266" atv="23.645544757753" />
        </hotspot>
                        <hotspot name="spot21"
                 style="hotspot_ani_arrow"
                 ath="352"
                 atv="19.940214012076"
                 zorder="20"
                 animation="anim21"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p3, null, MERGE, BLEND(1)); lookat(345, 0, get(fov_default));"
                                  onhover="showtext(Keuken);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s3].scale, layer[spotl0s3].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s3].scale, layer[spotl0s3].normalscale);"
                                 />

        <hotspot name="spot21c"
                 devices="desktop"
                 ath="352"
                 atv="19.940214012076"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot21], onclick);"
                 onhover="callwith(hotspot[spot21], onhover);"
                 onover="callwith(hotspot[spot21], onover);"
                 onout="callwith(hotspot[spot21], onout);"
                >
            <point ath="349" atv="45" />
            <point ath="355" atv="45" />
            <point ath="355" atv="-5" />
            <point ath="349" atv="-5" />
        </hotspot>

                <hotspot name="spot21s"
                 devices="no-desktop"
                 ath="352"
                 atv="19.940214012076"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot21], onclick);"
                >
            <point ath="357" atv="24.940214012076" />
            <point ath="357" atv="17.940214012076" />
            <point ath="347" atv="17.940214012076" />
            <point ath="347" atv="24.940214012076" />
        </hotspot>
                        <hotspot name="spot22"
                 style="hotspot_ani_arrow"
                 ath="84"
                 atv="21.645665348493"
                 zorder="20"
                 animation="anim22"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p5, null, MERGE, BLEND(1)); lookat(77, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(99, 12.626822383851, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Gang);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s5].scale, layer[spotl0s5].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s5].scale, layer[spotl0s5].normalscale);"
                                 />

        <hotspot name="spot22c"
                 devices="desktop"
                 ath="84"
                 atv="21.645665348493"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot22], onclick);"
                 onhover="callwith(hotspot[spot22], onhover);"
                 onover="callwith(hotspot[spot22], onover);"
                 onout="callwith(hotspot[spot22], onout);"
                >
            <point ath="81" atv="45" />
            <point ath="87" atv="45" />
            <point ath="87" atv="-5" />
            <point ath="81" atv="-5" />
        </hotspot>

                <hotspot name="spot22s"
                 devices="no-desktop"
                 ath="84"
                 atv="21.645665348493"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot22], onclick);"
                >
            <point ath="89" atv="26.645665348493" />
            <point ath="89" atv="19.645665348493" />
            <point ath="79" atv="19.645665348493" />
            <point ath="79" atv="26.645665348493" />
        </hotspot>
                        <hotspot name="spot23"
                 style="hotspot_ani_black"
                 ath="134"
                 atv="-6.1065960264169"
                 zorder="20"
                 animation="anim23"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol1p3, null, MERGE, BLEND(1)); lookat(47, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-105, 6.9686830465483, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="set(framex, 64); copy(layer[spotl1s3].scale, layer[spotl1s3].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl1s3].scale, layer[spotl1s3].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot23c"
                 devices="desktop"
                 ath="134"
                 atv="-6.1065960264169"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot23], onclick);"
                 onhover="callwith(hotspot[spot23], onhover);"
                 onover="callwith(hotspot[spot23], onover);"
                 onout="callwith(hotspot[spot23], onout);"
                >
            <point ath="131" atv="45" />
            <point ath="137" atv="45" />
            <point ath="137" atv="-5" />
            <point ath="131" atv="-5" />
        </hotspot>

                    </scene>
        <scene name="panol0p3"
           onstart="update_pano();"
           title="Keuken"
           thumburl="panoramas/0/3_s.jpg"
            >
        <action name="update_pano">
            set(heading, 115.78292504221);

            ifnot(device.mobile,
                set_active_spot(spotl0s3);
                show_level(0);

                set(layer[radar].parent, mapl0);

                set(new_spot, spotl0s3);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -53);
            );

            select_pano_dd(iteml0p3);
        </action>

        <view hlookat="87" vlookat="5.2283668051059"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/0/3_p.jpg" />

        <image>
            <cube url="panoramas/0/3_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/0/3t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/0/3m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot30"
                 style="hotspot_ani_arrow"
                 ath="184"
                 atv="26.296385895551"
                 zorder="20"
                 animation="anim30"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p2, null, MERGE, BLEND(1)); lookat(201, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(87, 4.365426070046, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Gang);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s2].scale, layer[spotl0s2].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s2].scale, layer[spotl0s2].normalscale);"
                                 />

        <hotspot name="spot30c"
                 devices="desktop"
                 ath="184"
                 atv="26.296385895551"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot30], onclick);"
                 onhover="callwith(hotspot[spot30], onhover);"
                 onover="callwith(hotspot[spot30], onover);"
                 onout="callwith(hotspot[spot30], onout);"
                >
            <point ath="181" atv="45" />
            <point ath="187" atv="45" />
            <point ath="187" atv="-5" />
            <point ath="181" atv="-5" />
        </hotspot>

                <hotspot name="spot30s"
                 devices="no-desktop"
                 ath="184"
                 atv="26.296385895551"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot30], onclick);"
                >
            <point ath="189" atv="31.296385895551" />
            <point ath="189" atv="24.296385895551" />
            <point ath="179" atv="24.296385895551" />
            <point ath="179" atv="31.296385895551" />
        </hotspot>
                        <hotspot name="spot31"
                 style="hotspot_ani_white"
                 ath="88"
                 atv="-3.0468732526881"
                 zorder="20"
                 animation="anim31"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol0p4, null, MERGE, BLEND(1)); lookat(74, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(180, -0.43982155348356, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Keuken);"
                 onover="set(framex, 64); copy(layer[spotl0s4].scale, layer[spotl0s4].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl0s4].scale, layer[spotl0s4].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot31c"
                 devices="desktop"
                 ath="88"
                 atv="-3.0468732526881"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot31], onclick);"
                 onhover="callwith(hotspot[spot31], onhover);"
                 onover="callwith(hotspot[spot31], onover);"
                 onout="callwith(hotspot[spot31], onout);"
                >
            <point ath="85" atv="45" />
            <point ath="91" atv="45" />
            <point ath="91" atv="-5" />
            <point ath="85" atv="-5" />
        </hotspot>

                    </scene>
        <scene name="panol0p4"
           onstart="update_pano();"
           title="Keuken"
           thumburl="panoramas/0/4_s.jpg"
            >
        <action name="update_pano">
            set(heading, 125.78292504221);

            ifnot(device.mobile,
                set_active_spot(spotl0s4);
                show_level(0);

                set(layer[radar].parent, mapl0);

                set(new_spot, spotl0s4);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -43);
            );

            select_pano_dd(iteml0p4);
        </action>

        <view hlookat="-7" vlookat="-7.8459095727845"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/0/4_p.jpg" />

        <image>
            <cube url="panoramas/0/4_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/0/4t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/0/4m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot40"
                 style="hotspot_ani_arrow"
                 ath="176"
                 atv="27.144044986507"
                 zorder="20"
                 animation="anim40"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p5, null, MERGE, BLEND(1)); lookat(169, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-108, 3.4864611360355, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Gang);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s5].scale, layer[spotl0s5].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s5].scale, layer[spotl0s5].normalscale);"
                                 />

        <hotspot name="spot40c"
                 devices="desktop"
                 ath="176"
                 atv="27.144044986507"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot40], onclick);"
                 onhover="callwith(hotspot[spot40], onhover);"
                 onover="callwith(hotspot[spot40], onover);"
                 onout="callwith(hotspot[spot40], onout);"
                >
            <point ath="173" atv="45" />
            <point ath="179" atv="45" />
            <point ath="179" atv="-5" />
            <point ath="173" atv="-5" />
        </hotspot>

                <hotspot name="spot40s"
                 devices="no-desktop"
                 ath="176"
                 atv="27.144044986507"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot40], onclick);"
                >
            <point ath="181" atv="32.144044986507" />
            <point ath="181" atv="25.144044986507" />
            <point ath="171" atv="25.144044986507" />
            <point ath="171" atv="32.144044986507" />
        </hotspot>
                        <hotspot name="spot41"
                 style="hotspot_ani_arrow"
                 ath="263"
                 atv="19.724670802126"
                 zorder="20"
                 animation="anim41"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p3, null, MERGE, BLEND(1)); lookat(252, 0, get(fov_default));"
                                  onhover="showtext(Keuken);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s3].scale, layer[spotl0s3].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s3].scale, layer[spotl0s3].normalscale);"
                                 />

        <hotspot name="spot41c"
                 devices="desktop"
                 ath="263"
                 atv="19.724670802126"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot41], onclick);"
                 onhover="callwith(hotspot[spot41], onhover);"
                 onover="callwith(hotspot[spot41], onover);"
                 onout="callwith(hotspot[spot41], onout);"
                >
            <point ath="260" atv="45" />
            <point ath="266" atv="45" />
            <point ath="266" atv="-5" />
            <point ath="260" atv="-5" />
        </hotspot>

                <hotspot name="spot41s"
                 devices="no-desktop"
                 ath="263"
                 atv="19.724670802126"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot41], onclick);"
                >
            <point ath="268" atv="24.724670802126" />
            <point ath="268" atv="17.724670802126" />
            <point ath="258" atv="17.724670802126" />
            <point ath="258" atv="24.724670802126" />
        </hotspot>
                    </scene>
        <scene name="panol0p5"
           onstart="update_pano();"
           title="Gang"
           thumburl="panoramas/0/5_s.jpg"
            >
        <action name="update_pano">
            set(heading, 129.78292504221);

            ifnot(device.mobile,
                set_active_spot(spotl0s5);
                show_level(0);

                set(layer[radar].parent, mapl0);

                set(new_spot, spotl0s5);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -39);
            );

            select_pano_dd(iteml0p5);
        </action>

        <view hlookat="-12" vlookat="-5.2283668051059"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/0/5_p.jpg" />

        <image>
            <cube url="panoramas/0/5_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/0/5t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/0/5m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot50"
                 style="hotspot_ani_arrow"
                 ath="257"
                 atv="19.077473000755"
                 zorder="20"
                 animation="anim50"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p2, null, MERGE, BLEND(1)); lookat(260, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-7, 6.9686830465483, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Gang);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s2].scale, layer[spotl0s2].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s2].scale, layer[spotl0s2].normalscale);"
                                 />

        <hotspot name="spot50c"
                 devices="desktop"
                 ath="257"
                 atv="19.077473000755"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot50], onclick);"
                 onhover="callwith(hotspot[spot50], onhover);"
                 onover="callwith(hotspot[spot50], onover);"
                 onout="callwith(hotspot[spot50], onout);"
                >
            <point ath="254" atv="45" />
            <point ath="260" atv="45" />
            <point ath="260" atv="-5" />
            <point ath="254" atv="-5" />
        </hotspot>

                <hotspot name="spot50s"
                 devices="no-desktop"
                 ath="257"
                 atv="19.077473000755"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot50], onclick);"
                >
            <point ath="262" atv="24.077473000755" />
            <point ath="262" atv="17.077473000755" />
            <point ath="252" atv="17.077473000755" />
            <point ath="252" atv="24.077473000755" />
        </hotspot>
                        <hotspot name="spot51"
                 style="hotspot_ani_arrow"
                 ath="82"
                 atv="25.036310665234"
                 zorder="20"
                 animation="anim51"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p6, null, MERGE, BLEND(1)); lookat(104, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-79, 5.6675362332868, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Woonkamer);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s6].scale, layer[spotl0s6].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s6].scale, layer[spotl0s6].normalscale);"
                                 />

        <hotspot name="spot51c"
                 devices="desktop"
                 ath="82"
                 atv="25.036310665234"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot51], onclick);"
                 onhover="callwith(hotspot[spot51], onhover);"
                 onover="callwith(hotspot[spot51], onover);"
                 onout="callwith(hotspot[spot51], onout);"
                >
            <point ath="79" atv="45" />
            <point ath="85" atv="45" />
            <point ath="85" atv="-5" />
            <point ath="79" atv="-5" />
        </hotspot>

                <hotspot name="spot51s"
                 devices="no-desktop"
                 ath="82"
                 atv="25.036310665234"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot51], onclick);"
                >
            <point ath="87" atv="30.036310665234" />
            <point ath="87" atv="23.036310665234" />
            <point ath="77" atv="23.036310665234" />
            <point ath="77" atv="30.036310665234" />
        </hotspot>
                        <hotspot name="spot52"
                 style="hotspot_ani_arrow"
                 ath="347"
                 atv="21.216061622377"
                 zorder="20"
                 animation="anim52"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol0p4, null, MERGE, BLEND(1)); lookat(351, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-98, 3.9259815759069, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Keuken);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl0s4].scale, layer[spotl0s4].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl0s4].scale, layer[spotl0s4].normalscale);"
                                 />

        <hotspot name="spot52c"
                 devices="desktop"
                 ath="347"
                 atv="21.216061622377"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot52], onclick);"
                 onhover="callwith(hotspot[spot52], onhover);"
                 onover="callwith(hotspot[spot52], onover);"
                 onout="callwith(hotspot[spot52], onout);"
                >
            <point ath="344" atv="45" />
            <point ath="350" atv="45" />
            <point ath="350" atv="-5" />
            <point ath="344" atv="-5" />
        </hotspot>

                <hotspot name="spot52s"
                 devices="no-desktop"
                 ath="347"
                 atv="21.216061622377"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot52], onclick);"
                >
            <point ath="352" atv="26.216061622377" />
            <point ath="352" atv="19.216061622377" />
            <point ath="342" atv="19.216061622377" />
            <point ath="342" atv="26.216061622377" />
        </hotspot>
                        <hotspot name="spot53"
                 style="hotspot_ani_white"
                 ath="120"
                 atv="-0.43982155348356"
                 zorder="20"
                 animation="anim53"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol-1p0, null, MERGE, BLEND(1)); lookat(243, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(115, -6.9686830465483, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Kelder);"
                 onover="set(framex, 64); copy(layer[spotl-1s0].scale, layer[spotl-1s0].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl-1s0].scale, layer[spotl-1s0].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot53c"
                 devices="desktop"
                 ath="120"
                 atv="-0.43982155348356"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot53], onclick);"
                 onhover="callwith(hotspot[spot53], onhover);"
                 onover="callwith(hotspot[spot53], onover);"
                 onout="callwith(hotspot[spot53], onout);"
                >
            <point ath="117" atv="45" />
            <point ath="123" atv="45" />
            <point ath="123" atv="-5" />
            <point ath="117" atv="-5" />
        </hotspot>

                    </scene>
        <scene name="panol0p6"
           onstart="update_pano();"
           title="Woonkamer"
           thumburl="panoramas/0/6_s.jpg"
            >
        <action name="update_pano">
            set(heading, 122.78292504221);

            ifnot(device.mobile,
                set_active_spot(spotl0s6);
                show_level(0);

                set(layer[radar].parent, mapl0);

                set(new_spot, spotl0s6);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -46);
            );

            select_pano_dd(iteml0p6);
        </action>

        <view hlookat="47" vlookat="-1.7434955800327"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/0/6_p.jpg" />

        <image>
            <cube url="panoramas/0/6_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/0/6t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/0/6m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot60"
                 style="hotspot_ani_white"
                 ath="242"
                 atv="1.7434955800327"
                 zorder="20"
                 animation="anim60"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol0p5, null, MERGE, BLEND(1)); lookat(189, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-12, -5.2283668051059, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Gang);"
                 onover="set(framex, 64); copy(layer[spotl0s5].scale, layer[spotl0s5].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl0s5].scale, layer[spotl0s5].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot60c"
                 devices="desktop"
                 ath="242"
                 atv="1.7434955800327"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot60], onclick);"
                 onhover="callwith(hotspot[spot60], onhover);"
                 onover="callwith(hotspot[spot60], onover);"
                 onout="callwith(hotspot[spot60], onout);"
                >
            <point ath="239" atv="45" />
            <point ath="245" atv="45" />
            <point ath="245" atv="-5" />
            <point ath="239" atv="-5" />
        </hotspot>

                        <hotspot name="spot61"
                 style="hotspot_ani_black"
                 ath="171"
                 atv="0.43982155348356"
                 zorder="20"
                 animation="anim61"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panolGp0, null, MERGE, BLEND(1)); lookat(200, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-46, 2.1832334170347, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Achterlandschap);"
                 onover="set(framex, 64); copy(layer[spotlGs0].scale, layer[spotlGs0].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotlGs0].scale, layer[spotlGs0].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot61c"
                 devices="desktop"
                 ath="171"
                 atv="0.43982155348356"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot61], onclick);"
                 onhover="callwith(hotspot[spot61], onhover);"
                 onover="callwith(hotspot[spot61], onover);"
                 onout="callwith(hotspot[spot61], onout);"
                >
            <point ath="168" atv="45" />
            <point ath="174" atv="45" />
            <point ath="174" atv="-5" />
            <point ath="168" atv="-5" />
        </hotspot>

                    </scene>
                <scene name="panol1p0"
           onstart="update_pano();"
           title="Overloop"
           thumburl="panoramas/1/0_s.jpg"
            >
        <action name="update_pano">
            set(heading, 120.75483518474);

            ifnot(device.mobile,
                set_active_spot(spotl1s0);
                show_level(1);

                set(layer[radar].parent, mapl1);

                set(new_spot, spotl1s0);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -48);
            );

            select_pano_dd(iteml1p0);
        </action>

        <view hlookat="0" vlookat="0"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/1/0_p.jpg" />

        <image>
            <cube url="panoramas/1/0_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/1/0t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/1/0m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot00"
                 style="hotspot_ani_arrow"
                 ath="264"
                 atv="20.786047484417"
                 zorder="20"
                 animation="anim00"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p3, null, MERGE, BLEND(1)); lookat(256, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(128, 22.916641343692, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s3].scale, layer[spotl1s3].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s3].scale, layer[spotl1s3].normalscale);"
                                 />

        <hotspot name="spot00c"
                 devices="desktop"
                 ath="264"
                 atv="20.786047484417"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot00], onclick);"
                 onhover="callwith(hotspot[spot00], onhover);"
                 onover="callwith(hotspot[spot00], onover);"
                 onout="callwith(hotspot[spot00], onout);"
                >
            <point ath="261" atv="45" />
            <point ath="267" atv="45" />
            <point ath="267" atv="-5" />
            <point ath="261" atv="-5" />
        </hotspot>

                <hotspot name="spot00s"
                 devices="no-desktop"
                 ath="264"
                 atv="20.786047484417"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot00], onclick);"
                >
            <point ath="269" atv="25.786047484417" />
            <point ath="269" atv="18.786047484417" />
            <point ath="259" atv="18.786047484417" />
            <point ath="259" atv="25.786047484417" />
        </hotspot>
                        <hotspot name="spot01"
                 style="hotspot_ani_arrow"
                 ath="104"
                 atv="25.886962050571"
                 zorder="20"
                 animation="anim01"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p1, null, MERGE, BLEND(1)); lookat(108, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-68, 17.796072019689, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Slaapkamer);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s1].scale, layer[spotl1s1].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s1].scale, layer[spotl1s1].normalscale);"
                                 />

        <hotspot name="spot01c"
                 devices="desktop"
                 ath="104"
                 atv="25.886962050571"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot01], onclick);"
                 onhover="callwith(hotspot[spot01], onhover);"
                 onover="callwith(hotspot[spot01], onover);"
                 onout="callwith(hotspot[spot01], onout);"
                >
            <point ath="101" atv="45" />
            <point ath="107" atv="45" />
            <point ath="107" atv="-5" />
            <point ath="101" atv="-5" />
        </hotspot>

                <hotspot name="spot01s"
                 devices="no-desktop"
                 ath="104"
                 atv="25.886962050571"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot01], onclick);"
                >
            <point ath="109" atv="30.886962050571" />
            <point ath="109" atv="23.886962050571" />
            <point ath="99" atv="23.886962050571" />
            <point ath="99" atv="30.886962050571" />
        </hotspot>
                        <hotspot name="spot02"
                 style="hotspot_ani_arrow"
                 ath="15"
                 atv="25.886962050571"
                 zorder="20"
                 animation="anim02"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p2, null, MERGE, BLEND(1)); lookat(9, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(180, 20.371010091195, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Slaapkamer);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s2].scale, layer[spotl1s2].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s2].scale, layer[spotl1s2].normalscale);"
                                 />

        <hotspot name="spot02c"
                 devices="desktop"
                 ath="15"
                 atv="25.886962050571"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot02], onclick);"
                 onhover="callwith(hotspot[spot02], onhover);"
                 onover="callwith(hotspot[spot02], onover);"
                 onout="callwith(hotspot[spot02], onout);"
                >
            <point ath="12" atv="45" />
            <point ath="18" atv="45" />
            <point ath="18" atv="-5" />
            <point ath="12" atv="-5" />
        </hotspot>

                <hotspot name="spot02s"
                 devices="no-desktop"
                 ath="15"
                 atv="25.886962050571"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot02], onclick);"
                >
            <point ath="20" atv="30.886962050571" />
            <point ath="20" atv="23.886962050571" />
            <point ath="10" atv="23.886962050571" />
            <point ath="10" atv="30.886962050571" />
        </hotspot>
                    </scene>
        <scene name="panol1p1"
           onstart="update_pano();"
           title="Slaapkamer"
           thumburl="panoramas/1/1_s.jpg"
            >
        <action name="update_pano">
            set(heading, 121.75483518474);

            ifnot(device.mobile,
                set_active_spot(spotl1s1);
                show_level(1);

                set(layer[radar].parent, mapl1);

                set(new_spot, spotl1s1);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -47);
            );

            select_pano_dd(iteml1p1);
        </action>

        <view hlookat="176" vlookat="-3.9259815759069"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/1/1_p.jpg" />

        <image>
            <cube url="panoramas/1/1_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/1/1t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/1/1m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot10"
                 style="hotspot_ani_arrow"
                 ath="272"
                 atv="19.077473000755"
                 zorder="20"
                 animation="anim10"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p0, null, MERGE, BLEND(1)); lookat(273, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(14, 13.04742801096, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s0].scale, layer[spotl1s0].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s0].scale, layer[spotl1s0].normalscale);"
                                 />

        <hotspot name="spot10c"
                 devices="desktop"
                 ath="272"
                 atv="19.077473000755"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot10], onclick);"
                 onhover="callwith(hotspot[spot10], onhover);"
                 onover="callwith(hotspot[spot10], onover);"
                 onout="callwith(hotspot[spot10], onout);"
                >
            <point ath="269" atv="45" />
            <point ath="275" atv="45" />
            <point ath="275" atv="-5" />
            <point ath="269" atv="-5" />
        </hotspot>

                <hotspot name="spot10s"
                 devices="no-desktop"
                 ath="272"
                 atv="19.077473000755"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot10], onclick);"
                >
            <point ath="277" atv="24.077473000755" />
            <point ath="277" atv="17.077473000755" />
            <point ath="267" atv="17.077473000755" />
            <point ath="267" atv="24.077473000755" />
        </hotspot>
                    </scene>
        <scene name="panol1p2"
           onstart="update_pano();"
           title="Slaapkamer"
           thumburl="panoramas/1/2_s.jpg"
            >
        <action name="update_pano">
            set(heading, 124.75483518474);

            ifnot(device.mobile,
                set_active_spot(spotl1s2);
                show_level(1);

                set(layer[radar].parent, mapl1);

                set(new_spot, spotl1s2);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -44);
            );

            select_pano_dd(iteml1p2);
        </action>

        <view hlookat="41" vlookat="-2.1832334170347"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/1/2_p.jpg" />

        <image>
            <cube url="panoramas/1/2_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/1/2t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/1/2m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot20"
                 style="hotspot_ani_arrow"
                 ath="198"
                 atv="24.610254387984"
                 zorder="20"
                 animation="anim20"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p0, null, MERGE, BLEND(1)); lookat(207, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-94, 10.879747636251, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s0].scale, layer[spotl1s0].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s0].scale, layer[spotl1s0].normalscale);"
                                 />

        <hotspot name="spot20c"
                 devices="desktop"
                 ath="198"
                 atv="24.610254387984"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot20], onclick);"
                 onhover="callwith(hotspot[spot20], onhover);"
                 onover="callwith(hotspot[spot20], onover);"
                 onout="callwith(hotspot[spot20], onout);"
                >
            <point ath="195" atv="45" />
            <point ath="201" atv="45" />
            <point ath="201" atv="-5" />
            <point ath="195" atv="-5" />
        </hotspot>

                <hotspot name="spot20s"
                 devices="no-desktop"
                 ath="198"
                 atv="24.610254387984"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot20], onclick);"
                >
            <point ath="203" atv="29.610254387984" />
            <point ath="203" atv="22.610254387984" />
            <point ath="193" atv="22.610254387984" />
            <point ath="193" atv="29.610254387984" />
        </hotspot>
                    </scene>
        <scene name="panol1p3"
           onstart="update_pano();"
           title="Overloop"
           thumburl="panoramas/1/3_s.jpg"
            >
        <action name="update_pano">
            set(heading, 126.75483518474);

            ifnot(device.mobile,
                set_active_spot(spotl1s3);
                show_level(1);

                set(layer[radar].parent, mapl1);

                set(new_spot, spotl1s3);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -42);
            );

            select_pano_dd(iteml1p3);
        </action>

        <view hlookat="0" vlookat="0"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/1/3_p.jpg" />

        <image>
            <cube url="panoramas/1/3_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/1/3t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/1/3m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot30"
                 style="hotspot_ani_white"
                 ath="118"
                 atv="17.796072019689"
                 zorder="20"
                 animation="anim30"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol0p2, null, MERGE, BLEND(1)); lookat(49, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-6, 5.6675362332868, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Gang);"
                 onover="set(framex, 64); copy(layer[spotl0s2].scale, layer[spotl0s2].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl0s2].scale, layer[spotl0s2].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot30c"
                 devices="desktop"
                 ath="118"
                 atv="17.796072019689"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot30], onclick);"
                 onhover="callwith(hotspot[spot30], onhover);"
                 onover="callwith(hotspot[spot30], onover);"
                 onout="callwith(hotspot[spot30], onout);"
                >
            <point ath="115" atv="45" />
            <point ath="121" atv="45" />
            <point ath="121" atv="-5" />
            <point ath="115" atv="-5" />
        </hotspot>

                        <hotspot name="spot31"
                 style="hotspot_ani_arrow"
                 ath="261"
                 atv="19.077473000755"
                 zorder="20"
                 animation="anim31"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p5, null, MERGE, BLEND(1)); lookat(263, 0, get(fov_default));"
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s5].scale, layer[spotl1s5].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s5].scale, layer[spotl1s5].normalscale);"
                                 />

        <hotspot name="spot31c"
                 devices="desktop"
                 ath="261"
                 atv="19.077473000755"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot31], onclick);"
                 onhover="callwith(hotspot[spot31], onhover);"
                 onover="callwith(hotspot[spot31], onover);"
                 onout="callwith(hotspot[spot31], onout);"
                >
            <point ath="258" atv="45" />
            <point ath="264" atv="45" />
            <point ath="264" atv="-5" />
            <point ath="258" atv="-5" />
        </hotspot>

                <hotspot name="spot31s"
                 devices="no-desktop"
                 ath="261"
                 atv="19.077473000755"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot31], onclick);"
                >
            <point ath="266" atv="24.077473000755" />
            <point ath="266" atv="17.077473000755" />
            <point ath="256" atv="17.077473000755" />
            <point ath="256" atv="24.077473000755" />
        </hotspot>
                        <hotspot name="spot32"
                 style="hotspot_ani_arrow"
                 ath="84"
                 atv="27.989603747278"
                 zorder="20"
                 animation="anim32"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p0, null, MERGE, BLEND(1)); lookat(89, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(104, 16.077701817849, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s0].scale, layer[spotl1s0].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s0].scale, layer[spotl1s0].normalscale);"
                                 />

        <hotspot name="spot32c"
                 devices="desktop"
                 ath="84"
                 atv="27.989603747278"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot32], onclick);"
                 onhover="callwith(hotspot[spot32], onhover);"
                 onover="callwith(hotspot[spot32], onover);"
                 onout="callwith(hotspot[spot32], onout);"
                >
            <point ath="81" atv="45" />
            <point ath="87" atv="45" />
            <point ath="87" atv="-5" />
            <point ath="81" atv="-5" />
        </hotspot>

                <hotspot name="spot32s"
                 devices="no-desktop"
                 ath="84"
                 atv="27.989603747278"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot32], onclick);"
                >
            <point ath="89" atv="32.989603747278" />
            <point ath="89" atv="25.989603747278" />
            <point ath="79" atv="25.989603747278" />
            <point ath="79" atv="32.989603747278" />
        </hotspot>
                        <hotspot name="spot33"
                 style="hotspot_ani_arrow"
                 ath="3"
                 atv="28.817955531713"
                 zorder="20"
                 animation="anim33"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p4, null, MERGE, BLEND(1)); lookat(359, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(180, 20.786047484417, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Badkamer);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s4].scale, layer[spotl1s4].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s4].scale, layer[spotl1s4].normalscale);"
                                 />

        <hotspot name="spot33c"
                 devices="desktop"
                 ath="3"
                 atv="28.817955531713"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot33], onclick);"
                 onhover="callwith(hotspot[spot33], onhover);"
                 onover="callwith(hotspot[spot33], onover);"
                 onout="callwith(hotspot[spot33], onout);"
                >
            <point ath="0" atv="45" />
            <point ath="6" atv="45" />
            <point ath="6" atv="-5" />
            <point ath="0" atv="-5" />
        </hotspot>

                <hotspot name="spot33s"
                 devices="no-desktop"
                 ath="3"
                 atv="28.817955531713"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot33], onclick);"
                >
            <point ath="8" atv="33.817955531713" />
            <point ath="8" atv="26.817955531713" />
            <point ath="-2" atv="26.817955531713" />
            <point ath="-2" atv="33.817955531713" />
        </hotspot>
                    </scene>
        <scene name="panol1p4"
           onstart="update_pano();"
           title="Badkamer"
           thumburl="panoramas/1/4_s.jpg"
            >
        <action name="update_pano">
            set(heading, 127.75483518474);

            ifnot(device.mobile,
                set_active_spot(spotl1s4);
                show_level(1);

                set(layer[radar].parent, mapl1);

                set(new_spot, spotl1s4);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -41);
            );

            select_pano_dd(iteml1p4);
        </action>

        <view hlookat="21" vlookat="-2.1832334170347"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/1/4_p.jpg" />

        <image>
            <cube url="panoramas/1/4_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/1/4t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/1/4m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot40"
                 style="hotspot_ani_arrow"
                 ath="201"
                 atv="27.144044986507"
                 zorder="20"
                 animation="anim40"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p3, null, MERGE, BLEND(1)); lookat(205, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(130, 17.796072019689, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s3].scale, layer[spotl1s3].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s3].scale, layer[spotl1s3].normalscale);"
                                 />

        <hotspot name="spot40c"
                 devices="desktop"
                 ath="201"
                 atv="27.144044986507"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot40], onclick);"
                 onhover="callwith(hotspot[spot40], onhover);"
                 onover="callwith(hotspot[spot40], onover);"
                 onout="callwith(hotspot[spot40], onout);"
                >
            <point ath="198" atv="45" />
            <point ath="204" atv="45" />
            <point ath="204" atv="-5" />
            <point ath="198" atv="-5" />
        </hotspot>

                <hotspot name="spot40s"
                 devices="no-desktop"
                 ath="201"
                 atv="27.144044986507"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot40], onclick);"
                >
            <point ath="206" atv="32.144044986507" />
            <point ath="206" atv="25.144044986507" />
            <point ath="196" atv="25.144044986507" />
            <point ath="196" atv="32.144044986507" />
        </hotspot>
                    </scene>
        <scene name="panol1p5"
           onstart="update_pano();"
           title="Overloop"
           thumburl="panoramas/1/5_s.jpg"
            >
        <action name="update_pano">
            set(heading, 121.75483518474);

            ifnot(device.mobile,
                set_active_spot(spotl1s5);
                show_level(1);

                set(layer[radar].parent, mapl1);

                set(new_spot, spotl1s5);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -47);
            );

            select_pano_dd(iteml1p5);
        </action>

        <view hlookat="-3" vlookat="-1.7434955800327"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/1/5_p.jpg" />

        <image>
            <cube url="panoramas/1/5_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/1/5t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/1/5m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot50"
                 style="hotspot_ani_arrow"
                 ath="88"
                 atv="22.488302993267"
                 zorder="20"
                 animation="anim50"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p3, null, MERGE, BLEND(1)); lookat(91, 0, get(fov_default));"
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s3].scale, layer[spotl1s3].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s3].scale, layer[spotl1s3].normalscale);"
                                 />

        <hotspot name="spot50c"
                 devices="desktop"
                 ath="88"
                 atv="22.488302993267"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot50], onclick);"
                 onhover="callwith(hotspot[spot50], onhover);"
                 onover="callwith(hotspot[spot50], onover);"
                 onout="callwith(hotspot[spot50], onout);"
                >
            <point ath="85" atv="45" />
            <point ath="91" atv="45" />
            <point ath="91" atv="-5" />
            <point ath="85" atv="-5" />
        </hotspot>

                <hotspot name="spot50s"
                 devices="no-desktop"
                 ath="88"
                 atv="22.488302993267"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot50], onclick);"
                >
            <point ath="93" atv="27.488302993267" />
            <point ath="93" atv="20.488302993267" />
            <point ath="83" atv="20.488302993267" />
            <point ath="83" atv="27.488302993267" />
        </hotspot>
                        <hotspot name="spot51"
                 style="hotspot_ani_arrow"
                 ath="257"
                 atv="15.643446504023"
                 zorder="20"
                 animation="anim51"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p7, null, MERGE, BLEND(1)); lookat(272, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(124, 15.208888577213, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Slaapkamer);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s7].scale, layer[spotl1s7].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s7].scale, layer[spotl1s7].normalscale);"
                                 />

        <hotspot name="spot51c"
                 devices="desktop"
                 ath="257"
                 atv="15.643446504023"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot51], onclick);"
                 onhover="callwith(hotspot[spot51], onhover);"
                 onover="callwith(hotspot[spot51], onover);"
                 onout="callwith(hotspot[spot51], onout);"
                >
            <point ath="254" atv="45" />
            <point ath="260" atv="45" />
            <point ath="260" atv="-5" />
            <point ath="254" atv="-5" />
        </hotspot>

                <hotspot name="spot51s"
                 devices="no-desktop"
                 ath="257"
                 atv="15.643446504023"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot51], onclick);"
                >
            <point ath="262" atv="20.643446504023" />
            <point ath="262" atv="13.643446504023" />
            <point ath="252" atv="13.643446504023" />
            <point ath="252" atv="20.643446504023" />
        </hotspot>
                        <hotspot name="spot52"
                 style="hotspot_ani_arrow"
                 ath="8"
                 atv="25.886962050571"
                 zorder="20"
                 animation="anim52"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p6, null, MERGE, BLEND(1)); lookat(17, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-148, 26.720473886709, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Slaapkamer);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s6].scale, layer[spotl1s6].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s6].scale, layer[spotl1s6].normalscale);"
                                 />

        <hotspot name="spot52c"
                 devices="desktop"
                 ath="8"
                 atv="25.886962050571"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot52], onclick);"
                 onhover="callwith(hotspot[spot52], onhover);"
                 onover="callwith(hotspot[spot52], onover);"
                 onout="callwith(hotspot[spot52], onout);"
                >
            <point ath="5" atv="45" />
            <point ath="11" atv="45" />
            <point ath="11" atv="-5" />
            <point ath="5" atv="-5" />
        </hotspot>

                <hotspot name="spot52s"
                 devices="no-desktop"
                 ath="8"
                 atv="25.886962050571"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot52], onclick);"
                >
            <point ath="13" atv="30.886962050571" />
            <point ath="13" atv="23.886962050571" />
            <point ath="3" atv="23.886962050571" />
            <point ath="3" atv="30.886962050571" />
        </hotspot>
                    </scene>
        <scene name="panol1p6"
           onstart="update_pano();"
           title="Slaapkamer"
           thumburl="panoramas/1/6_s.jpg"
            >
        <action name="update_pano">
            set(heading, 126.75483518474);

            ifnot(device.mobile,
                set_active_spot(spotl1s6);
                show_level(1);

                set(layer[radar].parent, mapl1);

                set(new_spot, spotl1s6);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -42);
            );

            select_pano_dd(iteml1p6);
        </action>

        <view hlookat="-13" vlookat="-4.365426070046"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/1/6_p.jpg" />

        <image>
            <cube url="panoramas/1/6_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/1/6t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/1/6m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot60"
                 style="hotspot_ani_arrow"
                 ath="184"
                 atv="28.817955531713"
                 zorder="20"
                 animation="anim60"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p5, null, MERGE, BLEND(1)); lookat(185, 0, get(fov_default));"
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s5].scale, layer[spotl1s5].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s5].scale, layer[spotl1s5].normalscale);"
                                 />

        <hotspot name="spot60c"
                 devices="desktop"
                 ath="184"
                 atv="28.817955531713"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot60], onclick);"
                 onhover="callwith(hotspot[spot60], onhover);"
                 onover="callwith(hotspot[spot60], onover);"
                 onout="callwith(hotspot[spot60], onout);"
                >
            <point ath="181" atv="45" />
            <point ath="187" atv="45" />
            <point ath="187" atv="-5" />
            <point ath="181" atv="-5" />
        </hotspot>

                <hotspot name="spot60s"
                 devices="no-desktop"
                 ath="184"
                 atv="28.817955531713"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot60], onclick);"
                >
            <point ath="189" atv="33.817955531713" />
            <point ath="189" atv="26.817955531713" />
            <point ath="179" atv="26.817955531713" />
            <point ath="179" atv="33.817955531713" />
        </hotspot>
                    </scene>
        <scene name="panol1p7"
           onstart="update_pano();"
           title="Slaapkamer"
           thumburl="panoramas/1/7_s.jpg"
            >
        <action name="update_pano">
            set(heading, 98.754835184738);

            ifnot(device.mobile,
                set_active_spot(spotl1s7);
                show_level(1);

                set(layer[radar].parent, mapl1);

                set(new_spot, spotl1s7);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -70);
            );

            select_pano_dd(iteml1p7);
        </action>

        <view hlookat="-36" vlookat="1.7434955800327"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/1/7_p.jpg" />

        <image>
            <cube url="panoramas/1/7_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/1/7t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/1/7m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot70"
                 style="hotspot_ani_arrow"
                 ath="98"
                 atv="15.860612512724"
                 zorder="20"
                 animation="anim70"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol1p5, null, MERGE, BLEND(1)); lookat(85, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(88, 22.488302993267, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl1s5].scale, layer[spotl1s5].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl1s5].scale, layer[spotl1s5].normalscale);"
                                 />

        <hotspot name="spot70c"
                 devices="desktop"
                 ath="98"
                 atv="15.860612512724"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot70], onclick);"
                 onhover="callwith(hotspot[spot70], onhover);"
                 onover="callwith(hotspot[spot70], onover);"
                 onout="callwith(hotspot[spot70], onout);"
                >
            <point ath="95" atv="45" />
            <point ath="101" atv="45" />
            <point ath="101" atv="-5" />
            <point ath="95" atv="-5" />
        </hotspot>

                <hotspot name="spot70s"
                 devices="no-desktop"
                 ath="98"
                 atv="15.860612512724"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot70], onclick);"
                >
            <point ath="103" atv="20.860612512724" />
            <point ath="103" atv="13.860612512724" />
            <point ath="93" atv="13.860612512724" />
            <point ath="93" atv="20.860612512724" />
        </hotspot>
                        <hotspot name="spot71"
                 style="hotspot_ani_white"
                 ath="130"
                 atv="-5.2283668051059"
                 zorder="20"
                 animation="anim71"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol2p0, null, MERGE, BLEND(1)); lookat(90, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-20, 14.774036443678, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="set(framex, 64); copy(layer[spotl2s0].scale, layer[spotl2s0].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl2s0].scale, layer[spotl2s0].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot71c"
                 devices="desktop"
                 ath="130"
                 atv="-5.2283668051059"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot71], onclick);"
                 onhover="callwith(hotspot[spot71], onhover);"
                 onover="callwith(hotspot[spot71], onover);"
                 onout="callwith(hotspot[spot71], onout);"
                >
            <point ath="127" atv="45" />
            <point ath="133" atv="45" />
            <point ath="133" atv="-5" />
            <point ath="127" atv="-5" />
        </hotspot>

                    </scene>
                <scene name="panol2p0"
           onstart="update_pano();"
           title="Overloop"
           thumburl="panoramas/2/0_s.jpg"
            >
        <action name="update_pano">
            set(heading, 121.30357616873);

            ifnot(device.mobile,
                set_active_spot(spotl2s0);
                show_level(2);

                set(layer[radar].parent, mapl2);

                set(new_spot, spotl2s0);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -48);
            );

            select_pano_dd(iteml2p0);
        </action>

        <view hlookat="82" vlookat="1.3037240161663"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/2/0_p.jpg" />

        <image>
            <cube url="panoramas/2/0_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/2/0t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/2/0m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot00"
                 style="hotspot_ani_black"
                 ath="262"
                 atv="6.1065960264169"
                 zorder="20"
                 animation="anim00"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol1p7, null, MERGE, BLEND(1)); lookat(276, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(96, 6.9686830465483, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Slaapkamer);"
                 onover="set(framex, 64); copy(layer[spotl1s7].scale, layer[spotl1s7].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl1s7].scale, layer[spotl1s7].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot00c"
                 devices="desktop"
                 ath="262"
                 atv="6.1065960264169"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot00], onclick);"
                 onhover="callwith(hotspot[spot00], onhover);"
                 onover="callwith(hotspot[spot00], onover);"
                 onout="callwith(hotspot[spot00], onout);"
                >
            <point ath="259" atv="45" />
            <point ath="265" atv="45" />
            <point ath="265" atv="-5" />
            <point ath="259" atv="-5" />
        </hotspot>

                        <hotspot name="spot01"
                 style="hotspot_ani_arrow"
                 ath="343"
                 atv="28.39651406307"
                 zorder="20"
                 animation="anim01"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol2p1, null, MERGE, BLEND(1)); lookat(341, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-178, 25.886962050571, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Slaapkamer);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl2s1].scale, layer[spotl2s1].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl2s1].scale, layer[spotl2s1].normalscale);"
                                 />

        <hotspot name="spot01c"
                 devices="desktop"
                 ath="343"
                 atv="28.39651406307"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot01], onclick);"
                 onhover="callwith(hotspot[spot01], onhover);"
                 onover="callwith(hotspot[spot01], onover);"
                 onout="callwith(hotspot[spot01], onout);"
                >
            <point ath="340" atv="45" />
            <point ath="346" atv="45" />
            <point ath="346" atv="-5" />
            <point ath="340" atv="-5" />
        </hotspot>

                <hotspot name="spot01s"
                 devices="no-desktop"
                 ath="343"
                 atv="28.39651406307"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot01], onclick);"
                >
            <point ath="348" atv="33.39651406307" />
            <point ath="348" atv="26.39651406307" />
            <point ath="338" atv="26.39651406307" />
            <point ath="338" atv="33.39651406307" />
        </hotspot>
                        <hotspot name="spot02"
                 style="hotspot_ani_arrow"
                 ath="43"
                 atv="27.56709100122"
                 zorder="20"
                 animation="anim02"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol2p2, null, MERGE, BLEND(1)); lookat(40, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(180, 24.198963443063, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Slaapkamer);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl2s2].scale, layer[spotl2s2].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl2s2].scale, layer[spotl2s2].normalscale);"
                                 />

        <hotspot name="spot02c"
                 devices="desktop"
                 ath="43"
                 atv="27.56709100122"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot02], onclick);"
                 onhover="callwith(hotspot[spot02], onhover);"
                 onover="callwith(hotspot[spot02], onover);"
                 onout="callwith(hotspot[spot02], onout);"
                >
            <point ath="40" atv="45" />
            <point ath="46" atv="45" />
            <point ath="46" atv="-5" />
            <point ath="40" atv="-5" />
        </hotspot>

                <hotspot name="spot02s"
                 devices="no-desktop"
                 ath="43"
                 atv="27.56709100122"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot02], onclick);"
                >
            <point ath="48" atv="32.56709100122" />
            <point ath="48" atv="25.56709100122" />
            <point ath="38" atv="25.56709100122" />
            <point ath="38" atv="32.56709100122" />
        </hotspot>
                        <hotspot name="spot03"
                 style="hotspot_ani_white"
                 ath="80"
                 atv="2.1832334170347"
                 zorder="20"
                 animation="anim03"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol2p3, null, MERGE, BLEND(1)); lookat(79, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-85, 24.610254387984, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Slaapkamer);"
                 onover="set(framex, 64); copy(layer[spotl2s3].scale, layer[spotl2s3].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl2s3].scale, layer[spotl2s3].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot03c"
                 devices="desktop"
                 ath="80"
                 atv="2.1832334170347"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot03], onclick);"
                 onhover="callwith(hotspot[spot03], onhover);"
                 onover="callwith(hotspot[spot03], onover);"
                 onout="callwith(hotspot[spot03], onout);"
                >
            <point ath="77" atv="45" />
            <point ath="83" atv="45" />
            <point ath="83" atv="-5" />
            <point ath="77" atv="-5" />
        </hotspot>

                    </scene>
        <scene name="panol2p1"
           onstart="update_pano();"
           title="Slaapkamer"
           thumburl="panoramas/2/1_s.jpg"
            >
        <action name="update_pano">
            set(heading, 119.30357616873);

            ifnot(device.mobile,
                set_active_spot(spotl2s1);
                show_level(2);

                set(layer[radar].parent, mapl2);

                set(new_spot, spotl2s1);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -50);
            );

            select_pano_dd(iteml2p1);
        </action>

        <view hlookat="-37" vlookat="-1.3037240161663"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/2/1_p.jpg" />

        <image>
            <cube url="panoramas/2/1_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/2/1t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/2/1m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot10"
                 style="hotspot_ani_arrow"
                 ath="155"
                 atv="32.970712267441"
                 zorder="20"
                 animation="anim10"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol2p0, null, MERGE, BLEND(1)); lookat(130, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(45, 10.458053616902, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl2s0].scale, layer[spotl2s0].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl2s0].scale, layer[spotl2s0].normalscale);"
                                 />

        <hotspot name="spot10c"
                 devices="desktop"
                 ath="155"
                 atv="32.970712267441"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot10], onclick);"
                 onhover="callwith(hotspot[spot10], onhover);"
                 onover="callwith(hotspot[spot10], onover);"
                 onout="callwith(hotspot[spot10], onout);"
                >
            <point ath="152" atv="45" />
            <point ath="158" atv="45" />
            <point ath="158" atv="-5" />
            <point ath="152" atv="-5" />
        </hotspot>

                <hotspot name="spot10s"
                 devices="no-desktop"
                 ath="155"
                 atv="32.970712267441"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot10], onclick);"
                >
            <point ath="160" atv="37.970712267441" />
            <point ath="160" atv="30.970712267441" />
            <point ath="150" atv="30.970712267441" />
            <point ath="150" atv="37.970712267441" />
        </hotspot>
                    </scene>
        <scene name="panol2p2"
           onstart="update_pano();"
           title="Slaapkamer"
           thumburl="panoramas/2/2_s.jpg"
            >
        <action name="update_pano">
            set(heading, 127.30357616873);

            ifnot(device.mobile,
                set_active_spot(spotl2s2);
                show_level(2);

                set(layer[radar].parent, mapl2);

                set(new_spot, spotl2s2);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -42);
            );

            select_pano_dd(iteml2p2);
        </action>

        <view hlookat="0" vlookat="0"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/2/2_p.jpg" />

        <image>
            <cube url="panoramas/2/2_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/2/2t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/2/2m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot20"
                 style="hotspot_ani_arrow"
                 ath="201"
                 atv="27.989603747278"
                 zorder="20"
                 animation="anim20"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol2p0, null, MERGE, BLEND(1)); lookat(177, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(82, 5.2283668051059, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl2s0].scale, layer[spotl2s0].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl2s0].scale, layer[spotl2s0].normalscale);"
                                 />

        <hotspot name="spot20c"
                 devices="desktop"
                 ath="201"
                 atv="27.989603747278"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot20], onclick);"
                 onhover="callwith(hotspot[spot20], onhover);"
                 onover="callwith(hotspot[spot20], onover);"
                 onout="callwith(hotspot[spot20], onout);"
                >
            <point ath="198" atv="45" />
            <point ath="204" atv="45" />
            <point ath="204" atv="-5" />
            <point ath="198" atv="-5" />
        </hotspot>

                <hotspot name="spot20s"
                 devices="no-desktop"
                 ath="201"
                 atv="27.989603747278"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot20], onclick);"
                >
            <point ath="206" atv="32.989603747278" />
            <point ath="206" atv="25.989603747278" />
            <point ath="196" atv="25.989603747278" />
            <point ath="196" atv="32.989603747278" />
        </hotspot>
                    </scene>
        <scene name="panol2p3"
           onstart="update_pano();"
           title="Slaapkamer"
           thumburl="panoramas/2/3_s.jpg"
            >
        <action name="update_pano">
            set(heading, 120.30357616873);

            ifnot(device.mobile,
                set_active_spot(spotl2s3);
                show_level(2);

                set(layer[radar].parent, mapl2);

                set(new_spot, spotl2s3);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -49);
            );

            select_pano_dd(iteml2p3);
        </action>

        <view hlookat="142" vlookat="-0.43982155348356"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/2/3_p.jpg" />

        <image>
            <cube url="panoramas/2/3_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/2/3t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/2/3m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot30"
                 style="hotspot_ani_arrow"
                 ath="254"
                 atv="22.488302993267"
                 zorder="20"
                 animation="anim30"
                 onclick=" skin_hidetooltips(); tween(scale, 0.3, 0.5); tween(oy, -20, 0.5); tween(alpha, 0, 0.5);  lookto(get(ath), 0 , get(fov_trans)); loadscene(panol2p0, null, MERGE, BLEND(1)); lookat(249, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(-94, 3.0468732526881, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Overloop);"
                 onover="tween(alpha, 1, 0.7); copy(layer[spotl2s0].scale, layer[spotl2s0].hoverscale);"
                 onout="tween(alpha, 0.7, 1); copy(layer[spotl2s0].scale, layer[spotl2s0].normalscale);"
                                 />

        <hotspot name="spot30c"
                 devices="desktop"
                 ath="254"
                 atv="22.488302993267"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot30], onclick);"
                 onhover="callwith(hotspot[spot30], onhover);"
                 onover="callwith(hotspot[spot30], onover);"
                 onout="callwith(hotspot[spot30], onout);"
                >
            <point ath="251" atv="45" />
            <point ath="257" atv="45" />
            <point ath="257" atv="-5" />
            <point ath="251" atv="-5" />
        </hotspot>

                <hotspot name="spot30s"
                 devices="no-desktop"
                 ath="254"
                 atv="22.488302993267"
                 zorder="9"
                 fillalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot30], onclick);"
                >
            <point ath="259" atv="27.488302993267" />
            <point ath="259" atv="20.488302993267" />
            <point ath="249" atv="20.488302993267" />
            <point ath="249" atv="27.488302993267" />
        </hotspot>
                    </scene>
                <scene name="panol-1p0"
           onstart="update_pano();"
           title="Kelder"
           thumburl="panoramas/-1/0_s.jpg"
            >
        <action name="update_pano">
            set(heading, 125.98330575874);

            ifnot(device.mobile,
                set_active_spot(spotl-1s0);
                show_level(-1);

                set(layer[radar].parent, mapl-1);

                set(new_spot, spotl-1s0);
                tolower(new_spot);
                set(layer[radar].x, get(layer[get(new_spot)].x));
                set(layer[radar].y, get(layer[get(new_spot)].y));

                set(layer[radar].headingoffset, -43);
            );

            select_pano_dd(iteml-1p0);
        </action>

        <view hlookat="115" vlookat="-6.9686830465483"
              fovtype="DFOV"
              fov="120"
              fov.tablet="108"
              fov.mobile="108"
              fovmin="72"
              fovmax="125"
              fovmax.tablet="112"
              fovmax.mobile="112"
                                          vlookatmin="-15"
              vlookatmax="15"
              limitview="lookat"
                />

                <preview type="CUBESTRIP" url="panoramas/-1/0_p.jpg" />

        <image>
            <cube url="panoramas/-1/0_%s.jpg" />
        </image>

        <image devices="tablet">
            <cube url="panoramas/-1/0t_%s.jpg" />
        </image>

        <image devices="mobile">
            <cube url="panoramas/-1/0m_%s.jpg" />
        </image>
        
                            
                <hotspot name="spot00"
                 style="hotspot_ani_white"
                 ath="137"
                 atv="-4.8047861176657"
                 zorder="20"
                 animation="anim00"
                 onclick=" lookto(get(ath), get(atv) , get(fov_trans)); loadscene(panol0p5, null, MERGE, BLEND(1)); lookat(42, 0, get(fov_default)); oninterrupt(break); wait(LOAD); wait(1); lookto(88, 16.929790002233, get(fov_default), tween(linear, 2), true); "
                                  onhover="showtext(Gang);"
                 onover="set(framex, 64); copy(layer[spotl0s5].scale, layer[spotl0s5].hoverscale);"
                 onout="set(framex, 0); copy(layer[spotl0s5].scale, layer[spotl0s5].normalscale);"
                 onloaded="hotspot_animate(animation);"
                                 />

        <hotspot name="spot00c"
                 devices="desktop"
                 ath="137"
                 atv="-4.8047861176657"
                 zorder="9"
                 fillalpha="0"
                 borderalpha="0"
                 borderwidth="0"
                 onclick="callwith(hotspot[spot00], onclick);"
                 onhover="callwith(hotspot[spot00], onhover);"
                 onover="callwith(hotspot[spot00], onover);"
                 onout="callwith(hotspot[spot00], onout);"
                >
            <point ath="134" atv="45" />
            <point ath="140" atv="45" />
            <point ath="140" atv="-5" />
            <point ath="134" atv="-5" />
        </hotspot>

                    </scene>
        
    <layer name="close"
           devices="no-desktop"
           url="%SWFPATH%/close.png"
           keep="true"
           align="righttop"
           x="10"
           y="10"
           y.mobile="40"
           alpha="0.5"
           style="skin_tooltips"
           tooltip="Sluiten"
           onover="tween(alpha, 1.0);"
           onout="tween(alpha, 0.5);"
           scale.mobile="1.5"
           onclick="js(closeWindow(););"
            /><action name="create_pano_dd">
    addlayer(pano_dd);
    set(layer[pano_dd].filled, false);
    set(layer[pano_dd].keep, true);
    if(device.html5, set(layer[pano_dd].url, '%SWFPATH%/plugins/combobox.js');, set(layer[pano_dd].url, '%SWFPATH%/plugins/combobox.swf'););
    set(layer[pano_dd].align, righttop);
    if(device.desktop,
        set(layer[pano_dd].x, 10);
        ,
        if(device.mobile,
            set(layer[pano_dd].x, 80);
            ,
            set(layer[pano_dd].x, 60);
        );
    );
    if(device.mobile,
        set(layer[pano_dd].y, 35);
        ,
        set(layer[pano_dd].y, 10);
    );
    set(layer[pano_dd].rowcount, 10);
    set(layer[pano_dd].onloaded, fill_pano_dd(););
</action>

<action name="fill_pano_dd">
            addIdItem(itemlG, "Buitenshuis", loadscene(panolGp1, null, MERGE, BLEND(1)););
        addIdItem(itemlGp0, "   Achterlandschap", loadscene(panolGp0, null, MERGE, BLEND(1)););
        addIdItem(itemlGp1, "   Voortuin", loadscene(panolGp1, null, MERGE, BLEND(1)););
                    addIdItem(iteml0, "Gelijkvloers", loadscene(panol0p1, null, MERGE, BLEND(1)););
        addIdItem(iteml0p0, "   Garage", loadscene(panol0p0, null, MERGE, BLEND(1)););
        addIdItem(iteml0p1, "   Winkel", loadscene(panol0p1, null, MERGE, BLEND(1)););
        addIdItem(iteml0p2, "   Gang", loadscene(panol0p2, null, MERGE, BLEND(1)););
        addIdItem(iteml0p3, "   Keuken", loadscene(panol0p3, null, MERGE, BLEND(1)););
        addIdItem(iteml0p4, "   Keuken", loadscene(panol0p4, null, MERGE, BLEND(1)););
        addIdItem(iteml0p5, "   Gang", loadscene(panol0p5, null, MERGE, BLEND(1)););
        addIdItem(iteml0p6, "   Woonkamer", loadscene(panol0p6, null, MERGE, BLEND(1)););
                    addIdItem(iteml1, "Eerste verdieping", loadscene(panol1p0, null, MERGE, BLEND(1)););
        addIdItem(iteml1p0, "   Overloop", loadscene(panol1p0, null, MERGE, BLEND(1)););
        addIdItem(iteml1p1, "   Slaapkamer", loadscene(panol1p1, null, MERGE, BLEND(1)););
        addIdItem(iteml1p2, "   Slaapkamer", loadscene(panol1p2, null, MERGE, BLEND(1)););
        addIdItem(iteml1p3, "   Overloop", loadscene(panol1p3, null, MERGE, BLEND(1)););
        addIdItem(iteml1p4, "   Badkamer", loadscene(panol1p4, null, MERGE, BLEND(1)););
        addIdItem(iteml1p5, "   Overloop", loadscene(panol1p5, null, MERGE, BLEND(1)););
        addIdItem(iteml1p6, "   Slaapkamer", loadscene(panol1p6, null, MERGE, BLEND(1)););
        addIdItem(iteml1p7, "   Slaapkamer", loadscene(panol1p7, null, MERGE, BLEND(1)););
                    addIdItem(iteml2, "Tweede verdieping", loadscene(panol2p0, null, MERGE, BLEND(1)););
        addIdItem(iteml2p0, "   Overloop", loadscene(panol2p0, null, MERGE, BLEND(1)););
        addIdItem(iteml2p1, "   Slaapkamer", loadscene(panol2p1, null, MERGE, BLEND(1)););
        addIdItem(iteml2p2, "   Slaapkamer", loadscene(panol2p2, null, MERGE, BLEND(1)););
        addIdItem(iteml2p3, "   Slaapkamer", loadscene(panol2p3, null, MERGE, BLEND(1)););
                    addIdItem(iteml-1, "Kelderverdieping", loadscene(panol-1p0, null, MERGE, BLEND(1)););
        addIdItem(iteml-1p0, "   Kelder", loadscene(panol-1p0, null, MERGE, BLEND(1)););
                set(filled, true);
</action>

<action name="select_pano_dd">
    if(layer[pano_dd] AND layer[pano_dd].filled,
        layer[pano_dd].selectIdItem(%1);
        ,
        delayedcall(0, select_pano_dd(%1););
    );
</action>
<layer name="logo"
       url="logo.png"
       keep="true"
       align="rightbottom"
       x="30"
       y="50"
       y.mobile="80"
        />
    <autorotate enabled="true"
                 waittime="5"                 accel="5"
                speed="5"
                tofov="115"
                tofov.tablet="108"
                tofov.mobile="108"
            />

    <events onclick="scene_click();" />
    <action name="scene_click">
        sub(tickdiff, timertick, lastclicktick);
                copy(lastclicktick, timertick);
        if(tickdiff LT 175, scene_doubleclick(););
                    </action>
    <action name="scene_doubleclick">
        trace('x is ', mouse.x, ', y is ', mouse.y);
    </action>

    <events onkeydown="if(keycode == 38, navigate_forward(););" />
    <action name="navigate_forward">
        set(diffmax, 360);
        copy(ath, view.hlookat);
        mod(ath, 360);
        if(ath LT 0, add(ath, 360););
        for(set(i, 0), i LT hotspot.count, inc(i),
            indexoftxt(idx, get(hotspot[get(i)].name), 'c');
            if(idx == -1,
                sub(diff, ath, hotspot[get(i)].ath);
                Math.abs(diff);
                if(diff LT diffmax,
                    copy(diffmax, diff);
                    copy(imax, i);
                );
            );
        );
        if(diffmax LT 15, callwith(hotspot[get(imax)], onclick););
    </action>

    <control keybaccelerate="0.1"
             keycodesup="33"
             keycodesdown="34"
            />

    <include url="%SWFPATH%/plugins/modal_window.xml" keep="true" />

<style name="skin_new_base" url="%SWFPATH%/newskin.png" />

<layer name="skin_html_icons"
       devices="no-mobile"
       type="container"
       keep="true"
       handcursor="false"
       align="right"
       x="10"
       y="0"
       width="52"
       height="136"
       bgcolor="0x000000"
       bgalpha="0.5"
        >

       <layer name="skin_gallery_btn"
              style="skin_new_base|skin_glow"
              crop="0|0|64|64"
              align="lefttop"
              x="10"
              y="10"
              scale="0.5"
              onclick="skin_open_gallery();"
               />

       <layer name="skin_slideshow_btn"
              style="skin_new_base|skin_glow"
              crop="0|64|64|64"
              align="lefttop"
              x="10"
              y="52"
              scale="0.5"
              onclick="skin_open_slideshow();"
               />

       <layer name="skin_plans_btn"
              style="skin_new_base|skin_glow"
              crop="0|128|64|64"
              align="lefttop"
              x="10"
              y="94"
              scale="0.5"
              onclick="skin_open_plans();"
               />
</layer>

<layer name="skin_share_icons"
       devices="no-mobile"
       type="container"
       keep="true"
       handcursor="false"
       align="bottomleft"
       x="10"
       y="150"
       width="136"
       height="52"
       bgcolor="0x000000"
       bgalpha="0.5"
       visible="false"
       alpha="0"
        >

       <layer name="skin_facebook_btn"
              style="skin_new_base|skin_glow"
              crop="64|0|64|64"
              align="lefttop"
              x="10"
              y="10"
              scale="0.5"
              onclick="skin_open_facebook();"
               />

       <layer name="skin_twitter_btn"
              style="skin_new_base|skin_glow"
              crop="64|64|64|64"
              align="lefttop"
              x="52"
              y="10"
              scale="0.5"
              onclick="skin_open_twitter();"
               />

       <layer name="skin_email_btn"
              style="skin_new_base|skin_glow"
              crop="64|128|64|64"
              align="lefttop"
              x="94"
              y="10"
              scale="0.5"
              onclick="skin_open_email();"
               />
</layer>

<action name="skin_open_slideshow">
    set(w, 880);
    set(h, 520);
    if(stagewidth - 80 LT w, sub(w, stagewidth, 80); div(h, w, 1.7); Math.round(h););
    skin_disableautorotate();
    forma_px(get(w), get(h), 'slideshow.nl.html', '');
</action>

<action name="skin_open_gallery">
    set(w, 800);
    if(stagewidth - 80 LT w, sub(w, stagewidth, 80););
    sub(h, stageheight, 100);
    skin_disableautorotate();
    txtadd(galleryurl, 'gallery_pano.nl.html', '?h=', get(h));
    forma_px(get(w), get(h), get(galleryurl), '');"
</action>

<action name="skin_open_plans">
    set(w, 1200);
    if(stagewidth - 80 LT w, sub(w, stagewidth, 80););
    sub(h, stageheight, 100);
    skin_disableautorotate();
    txtadd(plansurl, 'floor_panoG.nl.html', '?h=', get(h));
    forma_px(get(w), get(h), get(plansurl), '');"
</action>

<action name="skin_open_facebook">
    js(openFacebook('http://app.virtualtour.be/tour/nl/Becue_Zon37/floor/G'););
</action>

<action name="skin_open_twitter">
    js(openTwitter('http://app.virtualtour.be/tour/nl/Becue_Zon37/floor/G', 'Ik heb een interessante woning gezien op ERA...'););
</action>

<action name="skin_open_email">
    js(openEmail('http://app.virtualtour.be/tour/nl/Becue_Zon37/floor/G', 'Ik heb een interessante woning gezien op ERA...'););
</action>

<events onenterfullscreen="set(layer[skin_html_icons].visible, false);"
        onexitfullscreen="set(layer[skin_html_icons].visible, true);"
        />
    
</krpano>
