<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19-pr16"
        onstart="startup"
        logkey="false"
        bgcolor="#ffffff"
        projectfloorplanurl=""
        projecttitleid="project_title"
        projectdescriptionid="">


  <security cors="">
    <!--
    <crossdomainxml url="http://RESSOURCES_URL/crossdomain.xml" />
    -->
    <allowdomain domain="*" />
  </security>

  <krpano tour_firststartactiondone="false" />
  <events name="startbehavioursevents" onxmlcomplete="startbehavioursxmlcompleteaction();" keep="true"/>

  <!-- generated by Panotour Pro V2.5.14 64bits : 09-05-2019 19-33-40 -->
  <!-- Project file : /Users/Zenn/Desktop/Tour.kpt -->
  <!-- Plugins and Spot Styles -->
  <include url="%FIRSTXML%/Hortensia_skin_vr.xml"/>
  <!-- Core actions -->
  <include url="%FIRSTXML%/Hortensia_core_vr.xml"/>
  <!-- Tour Messages -->
  <include url="%FIRSTXML%/Hortensia_messages_en.xml"/>

  <action name="startup">
    preloadSounds();

    if (s !== null, if (startscene === null OR startscene === "undefined", set(startscene, get(s));); );
    if (startscene === null OR startscene === "undefined",
      set(startscene, pano6867);
    );
    if(startlanguage !== null AND startlanguage !== "undefined",
      set(tour_language, get(startlanguage));
    );
    if(starttime !== null AND starttime !== "undefined" AND starttime GT 0,
      set(videoscenestarttime, get(starttime));
    ,
      set(videoscenestarttime, 0);
    );
    if(scene[get(startscene)].full360,
    mainloadsceneStartup(get(startscene));
    if (h !== null,
      if (v !== null,
        if (f !== null,
          lookat(get(h), get(v), get(f));
         ,
          lookat(get(h), get(v));
        );
      ,
        if (f !== null,
          lookat(get(h), get(view.vlookat), get(f));
         ,
          lookat(get(h), get(view.vlookat));
        );
      );
    ,
      if (v !== null,
        if (f !== null,
          lookat(get(view.hlookat), get(v), get(f));
         ,
          lookat(get(view.hlookat), get(v));
        );
      ,
        if (f !== null,
          lookat(get(view.hlookat), get(view.vlookat), get(f));
        );
      );
    );
    );
  </action>

  <!-- 11 Groups -->

  <panoramagroup name="panogroup6899"
                 mainscene="pano6887"
                 color="805827"
                 alpha="1"
                 thumburl="%FIRSTXML%/_11_6887/thumbnail.jpg"
                 floorplanurl=""
                 seen="false"
                 titleid="panogroup6899_title"
                 descriptionid=""/>

  <panoramagroup name="panogroup6886"
                 mainscene="pano6885"
                 color="805827"
                 alpha="1"
                 thumburl="%FIRSTXML%/suite_6885/thumbnail.jpg"
                 floorplanurl=""
                 seen="false"
                 titleid="panogroup6886_title"
                 descriptionid=""/>

  <panoramagroup name="panogroup6884"
                 mainscene="pano6883"
                 color="805827"
                 alpha="1"
                 thumburl="%FIRSTXML%/attic_6883/thumbnail.jpg"
                 floorplanurl=""
                 seen="false"
                 titleid="panogroup6884_title"
                 descriptionid=""/>

  <!-- Group Group 6895 : 1 panoramas -->
  
<!-- **** @PanoName="Sea front villa" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/01.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6867"
       latitude="44.532145536912999"
       longitude="14.453748464665001"
       heading="0"
       thumburl="%FIRSTXML%/_01_6867/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6867_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_01_6867/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_01_6867/0/2/%v_%u.jpg"/>
          <right url="_01_6867/1/2/%v_%u.jpg"/>
          <back  url="_01_6867/2/2/%v_%u.jpg"/>
          <left  url="_01_6867/3/2/%v_%u.jpg"/>
          <up    url="_01_6867/4/2/%v_%u.jpg"/>
          <down  url="_01_6867/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_01_6867/0/1/%v_%u.jpg"/>
          <right url="_01_6867/1/1/%v_%u.jpg"/>
          <back  url="_01_6867/2/1/%v_%u.jpg"/>
          <left  url="_01_6867/3/1/%v_%u.jpg"/>
          <up    url="_01_6867/4/1/%v_%u.jpg"/>
          <down  url="_01_6867/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_01_6867/0/0/%v_%u.jpg"/>
          <right url="_01_6867/1/0/%v_%u.jpg"/>
          <back  url="_01_6867/2/0/%v_%u.jpg"/>
          <left  url="_01_6867/3/0/%v_%u.jpg"/>
          <up    url="_01_6867/4/0/%v_%u.jpg"/>
          <down  url="_01_6867/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_01_6867/mobile/0.jpg"/>
      <right url="_01_6867/mobile/1.jpg"/>
      <back  url="_01_6867/mobile/2.jpg"/>
      <left  url="_01_6867/mobile/3.jpg"/>
      <up    url="_01_6867/mobile/4.jpg"/>
      <down  url="_01_6867/mobile/5.jpg"/>
    </image>




  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint6923"
           ath="62.307715" atv="3.090055"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6869"
           onclick="onclickspotpoint6923"
           tooltip="spotpoint6923_tooltip"
           />
  <hotspot name="spotpoint6923" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6923" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6923">
  
        mainloadscene(pano6869);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6923].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6923].visible, true);
  </action>
  <events name="pano6867stopanimatedspots" onremovepano="stopspotanimation(spotpoint6923);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <!-- Group Entrance : 1 panoramas -->
  
<!-- **** @PanoName="Sea side entrance" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/02.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6869"
       latitude="44.532139800818001"
       longitude="14.453944265923001"
       heading="0"
       thumburl="%FIRSTXML%/_02_6869/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6869_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_02_6869/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_02_6869/0/2/%v_%u.jpg"/>
          <right url="_02_6869/1/2/%v_%u.jpg"/>
          <back  url="_02_6869/2/2/%v_%u.jpg"/>
          <left  url="_02_6869/3/2/%v_%u.jpg"/>
          <up    url="_02_6869/4/2/%v_%u.jpg"/>
          <down  url="_02_6869/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_02_6869/0/1/%v_%u.jpg"/>
          <right url="_02_6869/1/1/%v_%u.jpg"/>
          <back  url="_02_6869/2/1/%v_%u.jpg"/>
          <left  url="_02_6869/3/1/%v_%u.jpg"/>
          <up    url="_02_6869/4/1/%v_%u.jpg"/>
          <down  url="_02_6869/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_02_6869/0/0/%v_%u.jpg"/>
          <right url="_02_6869/1/0/%v_%u.jpg"/>
          <back  url="_02_6869/2/0/%v_%u.jpg"/>
          <left  url="_02_6869/3/0/%v_%u.jpg"/>
          <up    url="_02_6869/4/0/%v_%u.jpg"/>
          <down  url="_02_6869/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_02_6869/mobile/0.jpg"/>
      <right url="_02_6869/mobile/1.jpg"/>
      <back  url="_02_6869/mobile/2.jpg"/>
      <left  url="_02_6869/mobile/3.jpg"/>
      <up    url="_02_6869/mobile/4.jpg"/>
      <down  url="_02_6869/mobile/5.jpg"/>
    </image>




  <!-- **** 6 Point Spots **** -->





  <hotspot name="spotpoint6924"
           ath="28.488235" atv="-12.183661"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6887"
           onclick="onclickspotpoint6924"
           tooltip="spotpoint6924_tooltip"
           />
  <hotspot name="spotpoint6924" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6924" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6924">
  
        mainloadscene(pano6887);


  </action>







  <hotspot name="spotpoint6932"
           ath="31.552563" atv="-12.195538"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6883"
           onclick="onclickspotpoint6932"
           tooltip="spotpoint6932_tooltip"
           />
  <hotspot name="spotpoint6932" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6932" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6932">
  
        mainloadscene(pano6883);


  </action>







  <hotspot name="spotpoint6934"
           ath="34.497006" atv="-12.195538"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6885"
           onclick="onclickspotpoint6934"
           tooltip="spotpoint6934_tooltip"
           />
  <hotspot name="spotpoint6934" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6934" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6934">
  
        mainloadscene(pano6885);


  </action>







  <hotspot name="spotpoint6936"
           ath="29.970725" atv="-9.946082"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6881"
           onclick="onclickspotpoint6936"
           tooltip="spotpoint6936_tooltip"
           />
  <hotspot name="spotpoint6936" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6936" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6936">
  
        mainloadscene(pano6881);


  </action>







  <hotspot name="spotpoint6937"
           ath="33.266516" atv="-9.990183"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6875"
           onclick="onclickspotpoint6937"
           tooltip="spotpoint6937_tooltip"
           />
  <hotspot name="spotpoint6937" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6937" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6937">
  
        mainloadscene(pano6875);


  </action>







  <hotspot name="spotpoint6941"
           ath="-6.597000" atv="1.235522"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6873"
           onclick="onclickspotpoint6941"
           tooltip="spotpoint6941_tooltip"
           />
  <hotspot name="spotpoint6941" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6941" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6941">
  
        mainloadscene(pano6873);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6924].visible, false);



    set(hotspot[spotpoint6932].visible, false);



    set(hotspot[spotpoint6934].visible, false);



    set(hotspot[spotpoint6936].visible, false);



    set(hotspot[spotpoint6937].visible, false);



    set(hotspot[spotpoint6941].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6924].visible, true);



  
  set(hotspot[spotpoint6932].visible, true);



  
  set(hotspot[spotpoint6934].visible, true);



  
  set(hotspot[spotpoint6936].visible, true);



  
  set(hotspot[spotpoint6937].visible, true);



  
  set(hotspot[spotpoint6941].visible, true);
  </action>
  <events name="pano6869stopanimatedspots" onremovepano="stopspotanimation(spotpoint6924);stopspotanimation(spotpoint6932);stopspotanimation(spotpoint6934);stopspotanimation(spotpoint6936);stopspotanimation(spotpoint6937);stopspotanimation(spotpoint6941);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <!-- Group Ground floor : 1 panoramas -->
  
<!-- **** @PanoName="Living room" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/07.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6879"
       heading="0"
       thumburl="%FIRSTXML%/_07_6879/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="true"
       haspolygons="false"
       titleid="pano6879_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_07_6879/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_07_6879/0/2/%v_%u.jpg"/>
          <right url="_07_6879/1/2/%v_%u.jpg"/>
          <back  url="_07_6879/2/2/%v_%u.jpg"/>
          <left  url="_07_6879/3/2/%v_%u.jpg"/>
          <up    url="_07_6879/4/2/%v_%u.jpg"/>
          <down  url="_07_6879/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_07_6879/0/1/%v_%u.jpg"/>
          <right url="_07_6879/1/1/%v_%u.jpg"/>
          <back  url="_07_6879/2/1/%v_%u.jpg"/>
          <left  url="_07_6879/3/1/%v_%u.jpg"/>
          <up    url="_07_6879/4/1/%v_%u.jpg"/>
          <down  url="_07_6879/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_07_6879/0/0/%v_%u.jpg"/>
          <right url="_07_6879/1/0/%v_%u.jpg"/>
          <back  url="_07_6879/2/0/%v_%u.jpg"/>
          <left  url="_07_6879/3/0/%v_%u.jpg"/>
          <up    url="_07_6879/4/0/%v_%u.jpg"/>
          <down  url="_07_6879/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_07_6879/mobile/0.jpg"/>
      <right url="_07_6879/mobile/1.jpg"/>
      <back  url="_07_6879/mobile/2.jpg"/>
      <left  url="_07_6879/mobile/3.jpg"/>
      <up    url="_07_6879/mobile/4.jpg"/>
      <down  url="_07_6879/mobile/5.jpg"/>
    </image>



  <!-- **** 1 Video Spots **** -->
  <krpano videospots_playing="0" />


  <hotspot name="spotvideo6919"
           depth="off"
           style="RectVideoDefaultVideoSpotStyle"
           tag="video"
           descriptionid=""
           ath="-47.647967" atv="-0.565046"
           width="172"
           height="106"
           rx="-0.63307759503160177"
           ry="-20.344233371822838"
           rz="0.01038197706443654"

           onclick="onclickspotvideo6919_stateVideo();onclickspotvideo6919(true);"
           onvideoreadyspecific="onvideoreadyspotvideo6919"
           posterurl="%FIRSTXML%/spots/untitled_slideshow.jpg"
         />
  <hotspot name="spotvideo6919" devices="flash" zorder="2"/>
  <hotspot name="spotvideo6919" devices="html5" zorder="2"/>
  <hotspot name="spotvideo6919" videourl="%FIRSTXML%/spots/untitled_slideshow.m4v" devices="desktop" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo6919" videourl="%FIRSTXML%/spots/untitled_slideshow.m4v" devices="tablet.or.mobile" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo6919Loader"
           style="RectVideoDefaultVideoSpotStyleLoader"
           ath="-47.647967" atv="-0.565046"
           rx="-0.63307759503160177"
           ry="-20.344233371822838"
           rz="0.01038197706443654"
           activated="false"
           onloaded="onloadedspotvideo6919Loader"
           />

  <action name="onclickspotvideo6919_stateVideo">
    if(hotspot[spotvideo6919].ispaused,
      set(hotspot[spotvideo6919].stateVideo, 'playing');
    );
  </action>
  <action name="onclickspotvideo6919">

    if(%1,
      if(hotspot[spotvideo6919].pauseothersounds,
        if(hotspot[spotvideo6919].stateVideo == 'playing',
          inc(videospots_playing);
          pauseTourSoundsActions(true,true,true,true,true);

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              div(volume, tour_soundsvolume, 100);
              set(hotspot[spotvideo6919].volume, get(volume));
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.startVideosSounds(get(volume)));              
              ,
                if (tour_soundsvolume GT 0,
                  set(hotspot[spotvideo6919].muted, false);
                ,
                  set(hotspot[spotvideo6919].muted, true);
                );
              );
            );
          );
        ,

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              set(hotspot[spotvideo6919].volume, 0);
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.stopVideosSounds());
              ,
                set(hotspot[spotvideo6919].muted, true);
              );
            );
          );
          dec(videospots_playing);
          resumeTourSoundsActions(true,true,true,true,true);
        );
      );
    );
    hotspot[spotvideo6919].play();

  </action>

  <action name="onloadedspotvideo6919Loader">
    animatevideospotloaderRectVideoDefaultVideoSpotStyle(spotvideo6919Loader, spotvideo6919call);
  </action>
  <action name="onvideoreadyspotvideo6919">
    stopvideospotloaderanimationRectVideoDefaultVideoSpotStyle(spotvideo6919Loader, spotvideo6919call);
  </action>


  <action name="hidepanovideospots">
    if (hotspot[spotvideo6919Loader] !== null,
      set(hotspot[spotvideo6919Loader].activated, false);
      set(hotspot[spotvideo6919Loader].visible, false);
    );
    if (hotspot[spotvideo6919] !== null,
      set(hotspot[spotvideo6919].visible, false);

      ifnot(hotspot[spotvideo6919].alpha == 0,
        if (hotspot[spotvideo6919].isvideoready,
          if(hotspot[spotvideo6919].stateVideo == 'playing',
            dec(videospots_playing);
            onclickspotvideo6919(false);
            if(hotspot[spotvideo6919].pauseothersounds,
              resumeTourSoundsActions(false,true,true,true,true);
            );
          );
        );
      );
    );
  </action>
  <action name="showpanovideospots">
    if (hotspot[spotvideo6919Loader] !== null,
      set(hotspot[spotvideo6919Loader].activated, true);
      set(hotspot[spotvideo6919Loader].visible, true);
    );
    if (hotspot[spotvideo6919] !== null,
      set(hotspot[spotvideo6919].visible, true);

      ifnot(hotspot[spotvideo6919].alpha == 0,
        if (hotspot[spotvideo6919].isvideoready,
          if(hotspot[spotvideo6919].stateVideo == 'playing',
            inc(videospots_playing);
            onclickspotvideo6919(false);
            if(hotspot[spotvideo6919].pauseothersounds,
              pauseTourSoundsActions(true,true,true,true,true);
            );

            if (tour_soundson,
              if(device.flash OR (device.webgl AND !device.ios),
                div(volume, tour_soundsvolume, 100);
                set(hotspot[spotvideo6919].volume, get(volume));
              ,
                ifnot(device.ios,
                  js(kpanotour.Sounds.startVideosSounds(get(volume)));
                ,
                  if (tour_soundsvolume GT 0,
                    set(hotspot[spotvideo6919].muted, false);
                  ,
                    set(hotspot[spotvideo6919].muted, true);
                  );
                );
              );
            );
          );
        );
      );
    );
  </action>
  <events name="pano6879videospotsevents"
    onxmlcomplete="set(hotspot[spotvideo6919].canstart, false);"
    onloadcomplete="if(panovideospotsstate,set(hotspot[spotvideo6919].canstart, true););"
    playtoursoundsevent="if(hotspot[spotvideo6919].pauseothersounds,if(hotspot[spotvideo6919].stateVideo == 'playing',pauseTourSoundsActions(false,true,true,true,true);););" />

  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint6943"
           ath="139.175277" atv="5.950438"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6873"
           onclick="onclickspotpoint6943"
           tooltip="spotpoint6943_tooltip"
           />
  <hotspot name="spotpoint6943" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6943" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6943">
  
        mainloadscene(pano6873);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6943].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6943].visible, true);
  </action>
  <events name="pano6879stopanimatedspots" onremovepano="stopspotanimation(spotpoint6943);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    showpanovideospots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
    hidepanovideospots();
  </action>

  <!-- **** 0 Directional Sound Spots **** -->
  <action name="playpanolocalsounds">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6919].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6919].muted, false);
          ,
            set(hotspot[spotvideo6919].muted, true);
          );
        );
      );
     ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6919].volume, 0); 
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds());
        ,
          set(hotspot[spotvideo6919].muted, true);
        );
      );
    );
  </action>
  <action name="stoppanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo6919].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo6919].muted, true);
      );
    );
  </action>
  <action name="setpanolocalsoundsvolume">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6919].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6919].muted, false);
          ,
            set(hotspot[spotvideo6919].muted, true);
          );
        );
      );
    );
  </action>
  <action name="pausepanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo6919].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo6919].muted, true);
      );
    );
  </action>
  <action name="resumepanolocalsounds">
    if(tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6919].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6919].muted, false);
          ,
            set(hotspot[spotvideo6919].muted, true);
          );
        );
      );
    ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6919].volume, 0);
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds(get(volume)));
        ,
          set(hotspot[spotvideo6919].muted, true);
        );
      );
    );
  </action>
  <events name="pano6879soundsevents" onnewpano="if(plugin[soundinterface],if(plugin[soundinterface].started,playpanolocalsounds();););" />


</scene>

  <!-- Group Group 6896 : 1 panoramas -->
  
<!-- **** @PanoName="Terrace" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/04.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6873"
       heading="0"
       thumburl="%FIRSTXML%/_04_6873/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6873_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_04_6873/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_04_6873/0/2/%v_%u.jpg"/>
          <right url="_04_6873/1/2/%v_%u.jpg"/>
          <back  url="_04_6873/2/2/%v_%u.jpg"/>
          <left  url="_04_6873/3/2/%v_%u.jpg"/>
          <up    url="_04_6873/4/2/%v_%u.jpg"/>
          <down  url="_04_6873/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_04_6873/0/1/%v_%u.jpg"/>
          <right url="_04_6873/1/1/%v_%u.jpg"/>
          <back  url="_04_6873/2/1/%v_%u.jpg"/>
          <left  url="_04_6873/3/1/%v_%u.jpg"/>
          <up    url="_04_6873/4/1/%v_%u.jpg"/>
          <down  url="_04_6873/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_04_6873/0/0/%v_%u.jpg"/>
          <right url="_04_6873/1/0/%v_%u.jpg"/>
          <back  url="_04_6873/2/0/%v_%u.jpg"/>
          <left  url="_04_6873/3/0/%v_%u.jpg"/>
          <up    url="_04_6873/4/0/%v_%u.jpg"/>
          <down  url="_04_6873/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_04_6873/mobile/0.jpg"/>
      <right url="_04_6873/mobile/1.jpg"/>
      <back  url="_04_6873/mobile/2.jpg"/>
      <left  url="_04_6873/mobile/3.jpg"/>
      <up    url="_04_6873/mobile/4.jpg"/>
      <down  url="_04_6873/mobile/5.jpg"/>
    </image>




  <!-- **** 4 Point Spots **** -->





  <hotspot name="spotpoint6942"
           ath="11.489403" atv="1.924024"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6879"
           onclick="onclickspotpoint6942"
           tooltip="spotpoint6942_tooltip"
           />
  <hotspot name="spotpoint6942" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6942" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6942">
  
        mainloadscene(pano6879);


  </action>







  <hotspot name="spotpoint6944"
           ath="142.144203" atv="0.000000"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6869"
           onclick="onclickspotpoint6944"
           tooltip="spotpoint6944_tooltip"
           />
  <hotspot name="spotpoint6944" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6944" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6944">
  
        mainloadscene(pano6869);


  </action>







  <hotspot name="spotpoint6945"
           ath="-59.752439" atv="1.487521"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6871"
           onclick="onclickspotpoint6945"
           tooltip="spotpoint6945_tooltip"
           />
  <hotspot name="spotpoint6945" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6945" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6945">
  
        mainloadscene(pano6871);


  </action>







  <hotspot name="spotpoint6946"
           ath="156.989522" atv="0.743755"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6877"
           onclick="onclickspotpoint6946"
           tooltip="spotpoint6946_tooltip"
           />
  <hotspot name="spotpoint6946" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6946" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6946">
  
        mainloadscene(pano6877);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6942].visible, false);



    set(hotspot[spotpoint6944].visible, false);



    set(hotspot[spotpoint6945].visible, false);



    set(hotspot[spotpoint6946].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6942].visible, true);



  
  set(hotspot[spotpoint6944].visible, true);



  
  set(hotspot[spotpoint6945].visible, true);



  
  set(hotspot[spotpoint6946].visible, true);
  </action>
  <events name="pano6873stopanimatedspots" onremovepano="stopspotanimation(spotpoint6942);stopspotanimation(spotpoint6944);stopspotanimation(spotpoint6945);stopspotanimation(spotpoint6946);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <!-- Group Dining : 1 panoramas -->
  
<!-- **** @PanoName="Dining room" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/08.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6881"
       heading="0"
       thumburl="%FIRSTXML%/_08_6881/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6881_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_08_6881/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_08_6881/0/2/%v_%u.jpg"/>
          <right url="_08_6881/1/2/%v_%u.jpg"/>
          <back  url="_08_6881/2/2/%v_%u.jpg"/>
          <left  url="_08_6881/3/2/%v_%u.jpg"/>
          <up    url="_08_6881/4/2/%v_%u.jpg"/>
          <down  url="_08_6881/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_08_6881/0/1/%v_%u.jpg"/>
          <right url="_08_6881/1/1/%v_%u.jpg"/>
          <back  url="_08_6881/2/1/%v_%u.jpg"/>
          <left  url="_08_6881/3/1/%v_%u.jpg"/>
          <up    url="_08_6881/4/1/%v_%u.jpg"/>
          <down  url="_08_6881/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_08_6881/0/0/%v_%u.jpg"/>
          <right url="_08_6881/1/0/%v_%u.jpg"/>
          <back  url="_08_6881/2/0/%v_%u.jpg"/>
          <left  url="_08_6881/3/0/%v_%u.jpg"/>
          <up    url="_08_6881/4/0/%v_%u.jpg"/>
          <down  url="_08_6881/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_08_6881/mobile/0.jpg"/>
      <right url="_08_6881/mobile/1.jpg"/>
      <back  url="_08_6881/mobile/2.jpg"/>
      <left  url="_08_6881/mobile/3.jpg"/>
      <up    url="_08_6881/mobile/4.jpg"/>
      <down  url="_08_6881/mobile/5.jpg"/>
    </image>




  <!-- **** 2 Point Spots **** -->





  <hotspot name="spotpoint6938"
           ath="40.769277" atv="1.158843"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6875"
           onclick="onclickspotpoint6938"
           tooltip="spotpoint6938_tooltip"
           />
  <hotspot name="spotpoint6938" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6938" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6938">
  
        mainloadscene(pano6875);


  </action>







  <hotspot name="spotpoint6939"
           ath="-64.851480" atv="-1.518120"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6869"
           onclick="onclickspotpoint6939"
           tooltip="spotpoint6939_tooltip"
           />
  <hotspot name="spotpoint6939" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6939" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6939">
  
        mainloadscene(pano6869);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6938].visible, false);



    set(hotspot[spotpoint6939].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6938].visible, true);



  
  set(hotspot[spotpoint6939].visible, true);
  </action>
  <events name="pano6881stopanimatedspots" onremovepano="stopspotanimation(spotpoint6938);stopspotanimation(spotpoint6939);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <!-- Group Group 6898 : 1 panoramas -->
  
<!-- **** @PanoName="Terrace" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/05.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6875"
       heading="0"
       thumburl="%FIRSTXML%/_05_6875/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6875_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_05_6875/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_05_6875/0/2/%v_%u.jpg"/>
          <right url="_05_6875/1/2/%v_%u.jpg"/>
          <back  url="_05_6875/2/2/%v_%u.jpg"/>
          <left  url="_05_6875/3/2/%v_%u.jpg"/>
          <up    url="_05_6875/4/2/%v_%u.jpg"/>
          <down  url="_05_6875/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_05_6875/0/1/%v_%u.jpg"/>
          <right url="_05_6875/1/1/%v_%u.jpg"/>
          <back  url="_05_6875/2/1/%v_%u.jpg"/>
          <left  url="_05_6875/3/1/%v_%u.jpg"/>
          <up    url="_05_6875/4/1/%v_%u.jpg"/>
          <down  url="_05_6875/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_05_6875/0/0/%v_%u.jpg"/>
          <right url="_05_6875/1/0/%v_%u.jpg"/>
          <back  url="_05_6875/2/0/%v_%u.jpg"/>
          <left  url="_05_6875/3/0/%v_%u.jpg"/>
          <up    url="_05_6875/4/0/%v_%u.jpg"/>
          <down  url="_05_6875/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_05_6875/mobile/0.jpg"/>
      <right url="_05_6875/mobile/1.jpg"/>
      <back  url="_05_6875/mobile/2.jpg"/>
      <left  url="_05_6875/mobile/3.jpg"/>
      <up    url="_05_6875/mobile/4.jpg"/>
      <down  url="_05_6875/mobile/5.jpg"/>
    </image>




  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint6940"
           ath="119.134090" atv="0.743755"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6881"
           onclick="onclickspotpoint6940"
           tooltip="spotpoint6940_tooltip"
           />
  <hotspot name="spotpoint6940" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6940" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6940">
  
        mainloadscene(pano6881);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6940].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6940].visible, true);
  </action>
  <events name="pano6875stopanimatedspots" onremovepano="stopspotanimation(spotpoint6940);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <!-- Group Pool &amp; Beach : 1 panoramas -->
  
<!-- **** @PanoName="Private beach" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/06.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6877"
       latitude="44.532170393320001"
       longitude="14.453592896542"
       heading="0"
       thumburl="%FIRSTXML%/_06_6877/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6877_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_06_6877/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_06_6877/0/2/%v_%u.jpg"/>
          <right url="_06_6877/1/2/%v_%u.jpg"/>
          <back  url="_06_6877/2/2/%v_%u.jpg"/>
          <left  url="_06_6877/3/2/%v_%u.jpg"/>
          <up    url="_06_6877/4/2/%v_%u.jpg"/>
          <down  url="_06_6877/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_06_6877/0/1/%v_%u.jpg"/>
          <right url="_06_6877/1/1/%v_%u.jpg"/>
          <back  url="_06_6877/2/1/%v_%u.jpg"/>
          <left  url="_06_6877/3/1/%v_%u.jpg"/>
          <up    url="_06_6877/4/1/%v_%u.jpg"/>
          <down  url="_06_6877/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_06_6877/0/0/%v_%u.jpg"/>
          <right url="_06_6877/1/0/%v_%u.jpg"/>
          <back  url="_06_6877/2/0/%v_%u.jpg"/>
          <left  url="_06_6877/3/0/%v_%u.jpg"/>
          <up    url="_06_6877/4/0/%v_%u.jpg"/>
          <down  url="_06_6877/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_06_6877/mobile/0.jpg"/>
      <right url="_06_6877/mobile/1.jpg"/>
      <back  url="_06_6877/mobile/2.jpg"/>
      <left  url="_06_6877/mobile/3.jpg"/>
      <up    url="_06_6877/mobile/4.jpg"/>
      <down  url="_06_6877/mobile/5.jpg"/>
    </image>




  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint6947"
           ath="176.288767" atv="-8.181902"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6871"
           onclick="onclickspotpoint6947"
           tooltip="spotpoint6947_tooltip"
           />
  <hotspot name="spotpoint6947" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6947" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6947">
  
        mainloadscene(pano6871);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6947].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6947].visible, true);
  </action>
  <events name="pano6877stopanimatedspots" onremovepano="stopspotanimation(spotpoint6947);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <!-- Group Group 6897 : 1 panoramas -->
  
<!-- **** @PanoName="Pool" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/03.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6871"
       latitude="44.532346299898002"
       longitude="14.453952312549999"
       heading="0"
       thumburl="%FIRSTXML%/_03_6871/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6871_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_03_6871/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_03_6871/0/2/%v_%u.jpg"/>
          <right url="_03_6871/1/2/%v_%u.jpg"/>
          <back  url="_03_6871/2/2/%v_%u.jpg"/>
          <left  url="_03_6871/3/2/%v_%u.jpg"/>
          <up    url="_03_6871/4/2/%v_%u.jpg"/>
          <down  url="_03_6871/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_03_6871/0/1/%v_%u.jpg"/>
          <right url="_03_6871/1/1/%v_%u.jpg"/>
          <back  url="_03_6871/2/1/%v_%u.jpg"/>
          <left  url="_03_6871/3/1/%v_%u.jpg"/>
          <up    url="_03_6871/4/1/%v_%u.jpg"/>
          <down  url="_03_6871/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_03_6871/0/0/%v_%u.jpg"/>
          <right url="_03_6871/1/0/%v_%u.jpg"/>
          <back  url="_03_6871/2/0/%v_%u.jpg"/>
          <left  url="_03_6871/3/0/%v_%u.jpg"/>
          <up    url="_03_6871/4/0/%v_%u.jpg"/>
          <down  url="_03_6871/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_03_6871/mobile/0.jpg"/>
      <right url="_03_6871/mobile/1.jpg"/>
      <back  url="_03_6871/mobile/2.jpg"/>
      <left  url="_03_6871/mobile/3.jpg"/>
      <up    url="_03_6871/mobile/4.jpg"/>
      <down  url="_03_6871/mobile/5.jpg"/>
    </image>




  <!-- **** 2 Point Spots **** -->





  <hotspot name="spotpoint6948"
           ath="78.308637" atv="1.894680"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6877"
           onclick="onclickspotpoint6948"
           tooltip="spotpoint6948_tooltip"
           />
  <hotspot name="spotpoint6948" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6948" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6948">
  
        mainloadscene(pano6877);


  </action>







  <hotspot name="spotpoint6949"
           ath="40.959005" atv="1.578963"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6873"
           onclick="onclickspotpoint6949"
           tooltip="spotpoint6949_tooltip"
           />
  <hotspot name="spotpoint6949" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6949" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6949">
  
        mainloadscene(pano6873);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6948].visible, false);



    set(hotspot[spotpoint6949].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6948].visible, true);



  
  set(hotspot[spotpoint6949].visible, true);
  </action>
  <events name="pano6871stopanimatedspots" onremovepano="stopspotanimation(spotpoint6948);stopspotanimation(spotpoint6949);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <!-- Group Suite Hortensia : 4 panoramas -->
  
<!-- **** @PanoName="Lounge" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/11.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6887"
       heading="0"
       group="panogroup6899"
       thumburl="%FIRSTXML%/_11_6887/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6887_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_11_6887/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_11_6887/0/2/%v_%u.jpg"/>
          <right url="_11_6887/1/2/%v_%u.jpg"/>
          <back  url="_11_6887/2/2/%v_%u.jpg"/>
          <left  url="_11_6887/3/2/%v_%u.jpg"/>
          <up    url="_11_6887/4/2/%v_%u.jpg"/>
          <down  url="_11_6887/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_11_6887/0/1/%v_%u.jpg"/>
          <right url="_11_6887/1/1/%v_%u.jpg"/>
          <back  url="_11_6887/2/1/%v_%u.jpg"/>
          <left  url="_11_6887/3/1/%v_%u.jpg"/>
          <up    url="_11_6887/4/1/%v_%u.jpg"/>
          <down  url="_11_6887/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_11_6887/0/0/%v_%u.jpg"/>
          <right url="_11_6887/1/0/%v_%u.jpg"/>
          <back  url="_11_6887/2/0/%v_%u.jpg"/>
          <left  url="_11_6887/3/0/%v_%u.jpg"/>
          <up    url="_11_6887/4/0/%v_%u.jpg"/>
          <down  url="_11_6887/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_11_6887/mobile/0.jpg"/>
      <right url="_11_6887/mobile/1.jpg"/>
      <back  url="_11_6887/mobile/2.jpg"/>
      <left  url="_11_6887/mobile/3.jpg"/>
      <up    url="_11_6887/mobile/4.jpg"/>
      <down  url="_11_6887/mobile/5.jpg"/>
    </image>




  <!-- **** 2 Point Spots **** -->





  <hotspot name="spotpoint6925"
           ath="100.577152" atv="2.975224"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6893"
           onclick="onclickspotpoint6925"
           tooltip="spotpoint6925_tooltip"
           />
  <hotspot name="spotpoint6925" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6925" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6925">
  
        mainloadscene(pano6893);


  </action>







  <hotspot name="spotpoint6931"
           ath="133.237081" atv="1.487521"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6869"
           onclick="onclickspotpoint6931"
           tooltip="spotpoint6931_tooltip"
           />
  <hotspot name="spotpoint6931" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6931" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6931">
  
        mainloadscene(pano6869);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6925].visible, false);



    set(hotspot[spotpoint6931].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6925].visible, true);



  
  set(hotspot[spotpoint6931].visible, true);
  </action>
  <events name="pano6887stopanimatedspots" onremovepano="stopspotanimation(spotpoint6925);stopspotanimation(spotpoint6931);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

<!-- **** @PanoName="Bedroom" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/12.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6893"
       heading="0"
       group="panogroup6899"
       thumburl="%FIRSTXML%/_12_6893/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="true"
       haspolygons="false"
       titleid="pano6893_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_12_6893/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_12_6893/0/2/%v_%u.jpg"/>
          <right url="_12_6893/1/2/%v_%u.jpg"/>
          <back  url="_12_6893/2/2/%v_%u.jpg"/>
          <left  url="_12_6893/3/2/%v_%u.jpg"/>
          <up    url="_12_6893/4/2/%v_%u.jpg"/>
          <down  url="_12_6893/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_12_6893/0/1/%v_%u.jpg"/>
          <right url="_12_6893/1/1/%v_%u.jpg"/>
          <back  url="_12_6893/2/1/%v_%u.jpg"/>
          <left  url="_12_6893/3/1/%v_%u.jpg"/>
          <up    url="_12_6893/4/1/%v_%u.jpg"/>
          <down  url="_12_6893/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_12_6893/0/0/%v_%u.jpg"/>
          <right url="_12_6893/1/0/%v_%u.jpg"/>
          <back  url="_12_6893/2/0/%v_%u.jpg"/>
          <left  url="_12_6893/3/0/%v_%u.jpg"/>
          <up    url="_12_6893/4/0/%v_%u.jpg"/>
          <down  url="_12_6893/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_12_6893/mobile/0.jpg"/>
      <right url="_12_6893/mobile/1.jpg"/>
      <back  url="_12_6893/mobile/2.jpg"/>
      <left  url="_12_6893/mobile/3.jpg"/>
      <up    url="_12_6893/mobile/4.jpg"/>
      <down  url="_12_6893/mobile/5.jpg"/>
    </image>



  <!-- **** 1 Video Spots **** -->
  <krpano videospots_playing="0" />


  <hotspot name="spotvideo6920"
           depth="off"
           style="RectVideoDefaultVideoSpotStyle"
           tag="video"
           descriptionid=""
           ath="-42.625931" atv="-18.895509"
           width="192"
           height="108"
           rx="-11.497046552067088"
           ry="-65.797099921871549"
           rz="18.687237214293763"

           onclick="onclickspotvideo6920_stateVideo();onclickspotvideo6920(true);"
           onvideoreadyspecific="onvideoreadyspotvideo6920"
           posterurl="%FIRSTXML%/spots/untitled_slideshow.jpg"
         />
  <hotspot name="spotvideo6920" devices="flash" zorder="2"/>
  <hotspot name="spotvideo6920" devices="html5" zorder="2"/>
  <hotspot name="spotvideo6920" videourl="%FIRSTXML%/spots/untitled_slideshow.m4v" devices="desktop" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo6920" videourl="%FIRSTXML%/spots/untitled_slideshow.m4v" devices="tablet.or.mobile" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo6920Loader"
           style="RectVideoDefaultVideoSpotStyleLoader"
           ath="-42.625931" atv="-18.895509"
           rx="-11.497046552067088"
           ry="-65.797099921871549"
           rz="18.687237214293763"
           activated="false"
           onloaded="onloadedspotvideo6920Loader"
           />

  <action name="onclickspotvideo6920_stateVideo">
    if(hotspot[spotvideo6920].ispaused,
      set(hotspot[spotvideo6920].stateVideo, 'playing');
    );
  </action>
  <action name="onclickspotvideo6920">

    if(%1,
      if(hotspot[spotvideo6920].pauseothersounds,
        if(hotspot[spotvideo6920].stateVideo == 'playing',
          inc(videospots_playing);
          pauseTourSoundsActions(true,true,true,true,true);

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              div(volume, tour_soundsvolume, 100);
              set(hotspot[spotvideo6920].volume, get(volume));
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.startVideosSounds(get(volume)));              
              ,
                if (tour_soundsvolume GT 0,
                  set(hotspot[spotvideo6920].muted, false);
                ,
                  set(hotspot[spotvideo6920].muted, true);
                );
              );
            );
          );
        ,

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              set(hotspot[spotvideo6920].volume, 0);
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.stopVideosSounds());
              ,
                set(hotspot[spotvideo6920].muted, true);
              );
            );
          );
          dec(videospots_playing);
          resumeTourSoundsActions(true,true,true,true,true);
        );
      );
    );
    hotspot[spotvideo6920].play();

  </action>

  <action name="onloadedspotvideo6920Loader">
    animatevideospotloaderRectVideoDefaultVideoSpotStyle(spotvideo6920Loader, spotvideo6920call);
  </action>
  <action name="onvideoreadyspotvideo6920">
    stopvideospotloaderanimationRectVideoDefaultVideoSpotStyle(spotvideo6920Loader, spotvideo6920call);
  </action>


  <action name="hidepanovideospots">
    if (hotspot[spotvideo6920Loader] !== null,
      set(hotspot[spotvideo6920Loader].activated, false);
      set(hotspot[spotvideo6920Loader].visible, false);
    );
    if (hotspot[spotvideo6920] !== null,
      set(hotspot[spotvideo6920].visible, false);

      ifnot(hotspot[spotvideo6920].alpha == 0,
        if (hotspot[spotvideo6920].isvideoready,
          if(hotspot[spotvideo6920].stateVideo == 'playing',
            dec(videospots_playing);
            onclickspotvideo6920(false);
            if(hotspot[spotvideo6920].pauseothersounds,
              resumeTourSoundsActions(false,true,true,true,true);
            );
          );
        );
      );
    );
  </action>
  <action name="showpanovideospots">
    if (hotspot[spotvideo6920Loader] !== null,
      set(hotspot[spotvideo6920Loader].activated, true);
      set(hotspot[spotvideo6920Loader].visible, true);
    );
    if (hotspot[spotvideo6920] !== null,
      set(hotspot[spotvideo6920].visible, true);

      ifnot(hotspot[spotvideo6920].alpha == 0,
        if (hotspot[spotvideo6920].isvideoready,
          if(hotspot[spotvideo6920].stateVideo == 'playing',
            inc(videospots_playing);
            onclickspotvideo6920(false);
            if(hotspot[spotvideo6920].pauseothersounds,
              pauseTourSoundsActions(true,true,true,true,true);
            );

            if (tour_soundson,
              if(device.flash OR (device.webgl AND !device.ios),
                div(volume, tour_soundsvolume, 100);
                set(hotspot[spotvideo6920].volume, get(volume));
              ,
                ifnot(device.ios,
                  js(kpanotour.Sounds.startVideosSounds(get(volume)));
                ,
                  if (tour_soundsvolume GT 0,
                    set(hotspot[spotvideo6920].muted, false);
                  ,
                    set(hotspot[spotvideo6920].muted, true);
                  );
                );
              );
            );
          );
        );
      );
    );
  </action>
  <events name="pano6893videospotsevents"
    onxmlcomplete="set(hotspot[spotvideo6920].canstart, false);"
    onloadcomplete="if(panovideospotsstate,set(hotspot[spotvideo6920].canstart, true););"
    playtoursoundsevent="if(hotspot[spotvideo6920].pauseothersounds,if(hotspot[spotvideo6920].stateVideo == 'playing',pauseTourSoundsActions(false,true,true,true,true);););" />

  <!-- **** 3 Point Spots **** -->





  <hotspot name="spotpoint6926"
           ath="-40.453559" atv="0.000000"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6889"
           onclick="onclickspotpoint6926"
           tooltip="spotpoint6926_tooltip"
           />
  <hotspot name="spotpoint6926" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6926" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6926">
  
        mainloadscene(pano6889);


  </action>







  <hotspot name="spotpoint6927"
           ath="-2.597762" atv="-0.743760"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6891"
           onclick="onclickspotpoint6927"
           tooltip="spotpoint6927_tooltip"
           />
  <hotspot name="spotpoint6927" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6927" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6927">
  
        mainloadscene(pano6891);


  </action>







  <hotspot name="spotpoint6930"
           ath="52.329962" atv="-1.487521"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6869"
           onclick="onclickspotpoint6930"
           tooltip="spotpoint6930_tooltip"
           />
  <hotspot name="spotpoint6930" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6930" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6930">
  
        mainloadscene(pano6869);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6926].visible, false);



    set(hotspot[spotpoint6927].visible, false);



    set(hotspot[spotpoint6930].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6926].visible, true);



  
  set(hotspot[spotpoint6927].visible, true);



  
  set(hotspot[spotpoint6930].visible, true);
  </action>
  <events name="pano6893stopanimatedspots" onremovepano="stopspotanimation(spotpoint6926);stopspotanimation(spotpoint6927);stopspotanimation(spotpoint6930);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    showpanovideospots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
    hidepanovideospots();
  </action>

  <!-- **** 0 Directional Sound Spots **** -->
  <action name="playpanolocalsounds">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6920].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6920].muted, false);
          ,
            set(hotspot[spotvideo6920].muted, true);
          );
        );
      );
     ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6920].volume, 0); 
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds());
        ,
          set(hotspot[spotvideo6920].muted, true);
        );
      );
    );
  </action>
  <action name="stoppanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo6920].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo6920].muted, true);
      );
    );
  </action>
  <action name="setpanolocalsoundsvolume">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6920].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6920].muted, false);
          ,
            set(hotspot[spotvideo6920].muted, true);
          );
        );
      );
    );
  </action>
  <action name="pausepanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo6920].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo6920].muted, true);
      );
    );
  </action>
  <action name="resumepanolocalsounds">
    if(tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6920].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6920].muted, false);
          ,
            set(hotspot[spotvideo6920].muted, true);
          );
        );
      );
    ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6920].volume, 0);
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds(get(volume)));
        ,
          set(hotspot[spotvideo6920].muted, true);
        );
      );
    );
  </action>
  <events name="pano6893soundsevents" onnewpano="if(plugin[soundinterface],if(plugin[soundinterface].started,playpanolocalsounds();););" />


</scene>

<!-- **** @PanoName="Bathroom" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/13.jpg" **** -->
<!-- **** Width="12338px" Height="6169px" **** -->
<scene name="pano6889"
       heading="0"
       group="panogroup6899"
       thumburl="%FIRSTXML%/_13_6889/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6889_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_13_6889/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="4096" tiledimageheight="4096">
          <front url="_13_6889/0/2/%v_%u.jpg"/>
          <right url="_13_6889/1/2/%v_%u.jpg"/>
          <back  url="_13_6889/2/2/%v_%u.jpg"/>
          <left  url="_13_6889/3/2/%v_%u.jpg"/>
          <up    url="_13_6889/4/2/%v_%u.jpg"/>
          <down  url="_13_6889/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="2048" tiledimageheight="2048">
          <front url="_13_6889/0/1/%v_%u.jpg"/>
          <right url="_13_6889/1/1/%v_%u.jpg"/>
          <back  url="_13_6889/2/1/%v_%u.jpg"/>
          <left  url="_13_6889/3/1/%v_%u.jpg"/>
          <up    url="_13_6889/4/1/%v_%u.jpg"/>
          <down  url="_13_6889/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_13_6889/0/0/%v_%u.jpg"/>
          <right url="_13_6889/1/0/%v_%u.jpg"/>
          <back  url="_13_6889/2/0/%v_%u.jpg"/>
          <left  url="_13_6889/3/0/%v_%u.jpg"/>
          <up    url="_13_6889/4/0/%v_%u.jpg"/>
          <down  url="_13_6889/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_13_6889/mobile/0.jpg"/>
      <right url="_13_6889/mobile/1.jpg"/>
      <back  url="_13_6889/mobile/2.jpg"/>
      <left  url="_13_6889/mobile/3.jpg"/>
      <up    url="_13_6889/mobile/4.jpg"/>
      <down  url="_13_6889/mobile/5.jpg"/>
    </image>




  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint6929"
           ath="18.927727" atv="5.206683"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6893"
           onclick="onclickspotpoint6929"
           tooltip="spotpoint6929_tooltip"
           />
  <hotspot name="spotpoint6929" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6929" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6929">
  
        mainloadscene(pano6893);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6929].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6929].visible, true);
  </action>
  <events name="pano6889stopanimatedspots" onremovepano="stopspotanimation(spotpoint6929);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

<!-- **** @PanoName="Bathroom" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/14.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6891"
       heading="0"
       group="panogroup6899"
       thumburl="%FIRSTXML%/_14_6891/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano6891_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/_14_6891/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="_14_6891/0/2/%v_%u.jpg"/>
          <right url="_14_6891/1/2/%v_%u.jpg"/>
          <back  url="_14_6891/2/2/%v_%u.jpg"/>
          <left  url="_14_6891/3/2/%v_%u.jpg"/>
          <up    url="_14_6891/4/2/%v_%u.jpg"/>
          <down  url="_14_6891/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="_14_6891/0/1/%v_%u.jpg"/>
          <right url="_14_6891/1/1/%v_%u.jpg"/>
          <back  url="_14_6891/2/1/%v_%u.jpg"/>
          <left  url="_14_6891/3/1/%v_%u.jpg"/>
          <up    url="_14_6891/4/1/%v_%u.jpg"/>
          <down  url="_14_6891/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="_14_6891/0/0/%v_%u.jpg"/>
          <right url="_14_6891/1/0/%v_%u.jpg"/>
          <back  url="_14_6891/2/0/%v_%u.jpg"/>
          <left  url="_14_6891/3/0/%v_%u.jpg"/>
          <up    url="_14_6891/4/0/%v_%u.jpg"/>
          <down  url="_14_6891/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="_14_6891/mobile/0.jpg"/>
      <right url="_14_6891/mobile/1.jpg"/>
      <back  url="_14_6891/mobile/2.jpg"/>
      <left  url="_14_6891/mobile/3.jpg"/>
      <up    url="_14_6891/mobile/4.jpg"/>
      <down  url="_14_6891/mobile/5.jpg"/>
    </image>




  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint6928"
           ath="-93.154680" atv="2.975224"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6893"
           onclick="onclickspotpoint6928"
           tooltip="spotpoint6928_tooltip"
           />
  <hotspot name="spotpoint6928" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6928" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6928">
  
        mainloadscene(pano6893);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6928].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6928].visible, true);
  </action>
  <events name="pano6891stopanimatedspots" onremovepano="stopspotanimation(spotpoint6928);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <!-- Group Ensuite Yucca : 1 panoramas -->
  
<!-- **** @PanoName="Yucca bedroom" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/10.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6885"
       heading="0"
       group="panogroup6886"
       thumburl="%FIRSTXML%/suite_6885/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="true"
       haspolygons="false"
       titleid="pano6885_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/suite_6885/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="suite_6885/0/2/%v_%u.jpg"/>
          <right url="suite_6885/1/2/%v_%u.jpg"/>
          <back  url="suite_6885/2/2/%v_%u.jpg"/>
          <left  url="suite_6885/3/2/%v_%u.jpg"/>
          <up    url="suite_6885/4/2/%v_%u.jpg"/>
          <down  url="suite_6885/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="suite_6885/0/1/%v_%u.jpg"/>
          <right url="suite_6885/1/1/%v_%u.jpg"/>
          <back  url="suite_6885/2/1/%v_%u.jpg"/>
          <left  url="suite_6885/3/1/%v_%u.jpg"/>
          <up    url="suite_6885/4/1/%v_%u.jpg"/>
          <down  url="suite_6885/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="suite_6885/0/0/%v_%u.jpg"/>
          <right url="suite_6885/1/0/%v_%u.jpg"/>
          <back  url="suite_6885/2/0/%v_%u.jpg"/>
          <left  url="suite_6885/3/0/%v_%u.jpg"/>
          <up    url="suite_6885/4/0/%v_%u.jpg"/>
          <down  url="suite_6885/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="suite_6885/mobile/0.jpg"/>
      <right url="suite_6885/mobile/1.jpg"/>
      <back  url="suite_6885/mobile/2.jpg"/>
      <left  url="suite_6885/mobile/3.jpg"/>
      <up    url="suite_6885/mobile/4.jpg"/>
      <down  url="suite_6885/mobile/5.jpg"/>
    </image>



  <!-- **** 1 Video Spots **** -->
  <krpano videospots_playing="0" />


  <hotspot name="spotvideo6922"
           depth="off"
           style="RectVideoDefaultVideoSpotStyle"
           tag="video"
           descriptionid=""
           ath="-11.540336" atv="0.794797"
           width="219"
           height="132"
           rx="0.48036318288579338"
           ry="38.907440296538169"
           rz="0.58567759053043589"

           onclick="onclickspotvideo6922_stateVideo();onclickspotvideo6922(true);"
           onvideoreadyspecific="onvideoreadyspotvideo6922"
           posterurl="%FIRSTXML%/spots/untitled_slideshow.jpg"
         />
  <hotspot name="spotvideo6922" devices="flash" zorder="2"/>
  <hotspot name="spotvideo6922" devices="html5" zorder="2"/>
  <hotspot name="spotvideo6922" videourl="%FIRSTXML%/spots/untitled_slideshow.m4v" devices="desktop" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo6922" videourl="%FIRSTXML%/spots/untitled_slideshow.m4v" devices="tablet.or.mobile" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo6922Loader"
           style="RectVideoDefaultVideoSpotStyleLoader"
           ath="-11.540336" atv="0.794797"
           rx="0.48036318288579338"
           ry="38.907440296538169"
           rz="0.58567759053043589"
           activated="false"
           onloaded="onloadedspotvideo6922Loader"
           />

  <action name="onclickspotvideo6922_stateVideo">
    if(hotspot[spotvideo6922].ispaused,
      set(hotspot[spotvideo6922].stateVideo, 'playing');
    );
  </action>
  <action name="onclickspotvideo6922">

    if(%1,
      if(hotspot[spotvideo6922].pauseothersounds,
        if(hotspot[spotvideo6922].stateVideo == 'playing',
          inc(videospots_playing);
          pauseTourSoundsActions(true,true,true,true,true);

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              div(volume, tour_soundsvolume, 100);
              set(hotspot[spotvideo6922].volume, get(volume));
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.startVideosSounds(get(volume)));              
              ,
                if (tour_soundsvolume GT 0,
                  set(hotspot[spotvideo6922].muted, false);
                ,
                  set(hotspot[spotvideo6922].muted, true);
                );
              );
            );
          );
        ,

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              set(hotspot[spotvideo6922].volume, 0);
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.stopVideosSounds());
              ,
                set(hotspot[spotvideo6922].muted, true);
              );
            );
          );
          dec(videospots_playing);
          resumeTourSoundsActions(true,true,true,true,true);
        );
      );
    );
    hotspot[spotvideo6922].play();

  </action>

  <action name="onloadedspotvideo6922Loader">
    animatevideospotloaderRectVideoDefaultVideoSpotStyle(spotvideo6922Loader, spotvideo6922call);
  </action>
  <action name="onvideoreadyspotvideo6922">
    stopvideospotloaderanimationRectVideoDefaultVideoSpotStyle(spotvideo6922Loader, spotvideo6922call);
  </action>


  <action name="hidepanovideospots">
    if (hotspot[spotvideo6922Loader] !== null,
      set(hotspot[spotvideo6922Loader].activated, false);
      set(hotspot[spotvideo6922Loader].visible, false);
    );
    if (hotspot[spotvideo6922] !== null,
      set(hotspot[spotvideo6922].visible, false);

      ifnot(hotspot[spotvideo6922].alpha == 0,
        if (hotspot[spotvideo6922].isvideoready,
          if(hotspot[spotvideo6922].stateVideo == 'playing',
            dec(videospots_playing);
            onclickspotvideo6922(false);
            if(hotspot[spotvideo6922].pauseothersounds,
              resumeTourSoundsActions(false,true,true,true,true);
            );
          );
        );
      );
    );
  </action>
  <action name="showpanovideospots">
    if (hotspot[spotvideo6922Loader] !== null,
      set(hotspot[spotvideo6922Loader].activated, true);
      set(hotspot[spotvideo6922Loader].visible, true);
    );
    if (hotspot[spotvideo6922] !== null,
      set(hotspot[spotvideo6922].visible, true);

      ifnot(hotspot[spotvideo6922].alpha == 0,
        if (hotspot[spotvideo6922].isvideoready,
          if(hotspot[spotvideo6922].stateVideo == 'playing',
            inc(videospots_playing);
            onclickspotvideo6922(false);
            if(hotspot[spotvideo6922].pauseothersounds,
              pauseTourSoundsActions(true,true,true,true,true);
            );

            if (tour_soundson,
              if(device.flash OR (device.webgl AND !device.ios),
                div(volume, tour_soundsvolume, 100);
                set(hotspot[spotvideo6922].volume, get(volume));
              ,
                ifnot(device.ios,
                  js(kpanotour.Sounds.startVideosSounds(get(volume)));
                ,
                  if (tour_soundsvolume GT 0,
                    set(hotspot[spotvideo6922].muted, false);
                  ,
                    set(hotspot[spotvideo6922].muted, true);
                  );
                );
              );
            );
          );
        );
      );
    );
  </action>
  <events name="pano6885videospotsevents"
    onxmlcomplete="set(hotspot[spotvideo6922].canstart, false);"
    onloadcomplete="if(panovideospotsstate,set(hotspot[spotvideo6922].canstart, true););"
    playtoursoundsevent="if(hotspot[spotvideo6922].pauseothersounds,if(hotspot[spotvideo6922].stateVideo == 'playing',pauseTourSoundsActions(false,true,true,true,true);););" />

  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint6935"
           ath="96.556327" atv="0.000000"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6869"
           onclick="onclickspotpoint6935"
           tooltip="spotpoint6935_tooltip"
           />
  <hotspot name="spotpoint6935" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6935" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6935">
  
        mainloadscene(pano6869);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6935].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6935].visible, true);
  </action>
  <events name="pano6885stopanimatedspots" onremovepano="stopspotanimation(spotpoint6935);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    showpanovideospots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
    hidepanovideospots();
  </action>

  <!-- **** 0 Directional Sound Spots **** -->
  <action name="playpanolocalsounds">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6922].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6922].muted, false);
          ,
            set(hotspot[spotvideo6922].muted, true);
          );
        );
      );
     ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6922].volume, 0); 
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds());
        ,
          set(hotspot[spotvideo6922].muted, true);
        );
      );
    );
  </action>
  <action name="stoppanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo6922].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo6922].muted, true);
      );
    );
  </action>
  <action name="setpanolocalsoundsvolume">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6922].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6922].muted, false);
          ,
            set(hotspot[spotvideo6922].muted, true);
          );
        );
      );
    );
  </action>
  <action name="pausepanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo6922].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo6922].muted, true);
      );
    );
  </action>
  <action name="resumepanolocalsounds">
    if(tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6922].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6922].muted, false);
          ,
            set(hotspot[spotvideo6922].muted, true);
          );
        );
      );
    ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6922].volume, 0);
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds(get(volume)));
        ,
          set(hotspot[spotvideo6922].muted, true);
        );
      );
    );
  </action>
  <events name="pano6885soundsevents" onnewpano="if(plugin[soundinterface],if(plugin[soundinterface].started,playpanolocalsounds();););" />


</scene>

  <!-- Group Ensuite Myrtus  : 1 panoramas -->
  
<!-- **** @PanoName="Myrtus master bedroom" @PanoFile="/Users/Zenn/Desktop/1 A DOKU/Project&#39;s/Losinj/Hortensija/Panoramen/09.jpg" **** -->
<!-- **** Width="7500px" Height="3750px" **** -->
<scene name="pano6883"
       heading="0"
       group="panogroup6884"
       thumburl="%FIRSTXML%/attic_6883/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="true"
       haspolygons="false"
       titleid="pano6883_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="0.000000" tofov="90.000000" waittime="1" speed="5"/>
    <panoview h="0.000000" v="0.000000" fov="90.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="90.000000"
          hlookat="0.000000"
          vlookat="0.000000"/>
    <preview url="%FIRSTXML%/attic_6883/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2560" tiledimageheight="2560">
          <front url="attic_6883/0/2/%v_%u.jpg"/>
          <right url="attic_6883/1/2/%v_%u.jpg"/>
          <back  url="attic_6883/2/2/%v_%u.jpg"/>
          <left  url="attic_6883/3/2/%v_%u.jpg"/>
          <up    url="attic_6883/4/2/%v_%u.jpg"/>
          <down  url="attic_6883/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="attic_6883/0/1/%v_%u.jpg"/>
          <right url="attic_6883/1/1/%v_%u.jpg"/>
          <back  url="attic_6883/2/1/%v_%u.jpg"/>
          <left  url="attic_6883/3/1/%v_%u.jpg"/>
          <up    url="attic_6883/4/1/%v_%u.jpg"/>
          <down  url="attic_6883/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="attic_6883/0/0/%v_%u.jpg"/>
          <right url="attic_6883/1/0/%v_%u.jpg"/>
          <back  url="attic_6883/2/0/%v_%u.jpg"/>
          <left  url="attic_6883/3/0/%v_%u.jpg"/>
          <up    url="attic_6883/4/0/%v_%u.jpg"/>
          <down  url="attic_6883/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="attic_6883/mobile/0.jpg"/>
      <right url="attic_6883/mobile/1.jpg"/>
      <back  url="attic_6883/mobile/2.jpg"/>
      <left  url="attic_6883/mobile/3.jpg"/>
      <up    url="attic_6883/mobile/4.jpg"/>
      <down  url="attic_6883/mobile/5.jpg"/>
    </image>



  <!-- **** 1 Video Spots **** -->
  <krpano videospots_playing="0" />


  <hotspot name="spotvideo6921"
           depth="off"
           style="RectVideoDefaultVideoSpotStyle"
           tag="video"
           descriptionid=""
           ath="-10.612453" atv="-0.796971"
           width="220"
           height="127"
           rx="-0.4324876472921611"
           ry="63.202867733414699"
           rz="-0.17410053100118539"

           onclick="onclickspotvideo6921_stateVideo();onclickspotvideo6921(true);"
           onvideoreadyspecific="onvideoreadyspotvideo6921"
           posterurl="%FIRSTXML%/spots/untitled_slideshow.jpg"
         />
  <hotspot name="spotvideo6921" devices="flash" zorder="2"/>
  <hotspot name="spotvideo6921" devices="html5" zorder="2"/>
  <hotspot name="spotvideo6921" videourl="%FIRSTXML%/spots/untitled_slideshow.m4v" devices="desktop" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo6921" videourl="%FIRSTXML%/spots/untitled_slideshow.m4v" devices="tablet.or.mobile" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo6921Loader"
           style="RectVideoDefaultVideoSpotStyleLoader"
           ath="-10.612453" atv="-0.796971"
           rx="-0.4324876472921611"
           ry="63.202867733414699"
           rz="-0.17410053100118539"
           activated="false"
           onloaded="onloadedspotvideo6921Loader"
           />

  <action name="onclickspotvideo6921_stateVideo">
    if(hotspot[spotvideo6921].ispaused,
      set(hotspot[spotvideo6921].stateVideo, 'playing');
    );
  </action>
  <action name="onclickspotvideo6921">

    if(%1,
      if(hotspot[spotvideo6921].pauseothersounds,
        if(hotspot[spotvideo6921].stateVideo == 'playing',
          inc(videospots_playing);
          pauseTourSoundsActions(true,true,true,true,true);

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              div(volume, tour_soundsvolume, 100);
              set(hotspot[spotvideo6921].volume, get(volume));
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.startVideosSounds(get(volume)));              
              ,
                if (tour_soundsvolume GT 0,
                  set(hotspot[spotvideo6921].muted, false);
                ,
                  set(hotspot[spotvideo6921].muted, true);
                );
              );
            );
          );
        ,

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              set(hotspot[spotvideo6921].volume, 0);
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.stopVideosSounds());
              ,
                set(hotspot[spotvideo6921].muted, true);
              );
            );
          );
          dec(videospots_playing);
          resumeTourSoundsActions(true,true,true,true,true);
        );
      );
    );
    hotspot[spotvideo6921].play();

  </action>

  <action name="onloadedspotvideo6921Loader">
    animatevideospotloaderRectVideoDefaultVideoSpotStyle(spotvideo6921Loader, spotvideo6921call);
  </action>
  <action name="onvideoreadyspotvideo6921">
    stopvideospotloaderanimationRectVideoDefaultVideoSpotStyle(spotvideo6921Loader, spotvideo6921call);
  </action>


  <action name="hidepanovideospots">
    if (hotspot[spotvideo6921Loader] !== null,
      set(hotspot[spotvideo6921Loader].activated, false);
      set(hotspot[spotvideo6921Loader].visible, false);
    );
    if (hotspot[spotvideo6921] !== null,
      set(hotspot[spotvideo6921].visible, false);

      ifnot(hotspot[spotvideo6921].alpha == 0,
        if (hotspot[spotvideo6921].isvideoready,
          if(hotspot[spotvideo6921].stateVideo == 'playing',
            dec(videospots_playing);
            onclickspotvideo6921(false);
            if(hotspot[spotvideo6921].pauseothersounds,
              resumeTourSoundsActions(false,true,true,true,true);
            );
          );
        );
      );
    );
  </action>
  <action name="showpanovideospots">
    if (hotspot[spotvideo6921Loader] !== null,
      set(hotspot[spotvideo6921Loader].activated, true);
      set(hotspot[spotvideo6921Loader].visible, true);
    );
    if (hotspot[spotvideo6921] !== null,
      set(hotspot[spotvideo6921].visible, true);

      ifnot(hotspot[spotvideo6921].alpha == 0,
        if (hotspot[spotvideo6921].isvideoready,
          if(hotspot[spotvideo6921].stateVideo == 'playing',
            inc(videospots_playing);
            onclickspotvideo6921(false);
            if(hotspot[spotvideo6921].pauseothersounds,
              pauseTourSoundsActions(true,true,true,true,true);
            );

            if (tour_soundson,
              if(device.flash OR (device.webgl AND !device.ios),
                div(volume, tour_soundsvolume, 100);
                set(hotspot[spotvideo6921].volume, get(volume));
              ,
                ifnot(device.ios,
                  js(kpanotour.Sounds.startVideosSounds(get(volume)));
                ,
                  if (tour_soundsvolume GT 0,
                    set(hotspot[spotvideo6921].muted, false);
                  ,
                    set(hotspot[spotvideo6921].muted, true);
                  );
                );
              );
            );
          );
        );
      );
    );
  </action>
  <events name="pano6883videospotsevents"
    onxmlcomplete="set(hotspot[spotvideo6921].canstart, false);"
    onloadcomplete="if(panovideospotsstate,set(hotspot[spotvideo6921].canstart, true););"
    playtoursoundsevent="if(hotspot[spotvideo6921].pauseothersounds,if(hotspot[spotvideo6921].stateVideo == 'playing',pauseTourSoundsActions(false,true,true,true,true);););" />

  <!-- **** 1 Point Spots **** -->





  <hotspot name="spotpoint6933"
           ath="148.082399" atv="0.743755"
           style="IconDefaultPointSpotStyle"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano6869"
           onclick="onclickspotpoint6933"
           tooltip="spotpoint6933_tooltip"
           />
  <hotspot name="spotpoint6933" devices="flash" zorder="3"/>
  <hotspot name="spotpoint6933" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint6933">
  
        mainloadscene(pano6869);


  </action>



  <action name="hidepanopointspots">



    set(hotspot[spotpoint6933].visible, false);
  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint6933].visible, true);
  </action>
  <events name="pano6883stopanimatedspots" onremovepano="stopspotanimation(spotpoint6933);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    showpanovideospots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
    hidepanovideospots();
  </action>

  <!-- **** 0 Directional Sound Spots **** -->
  <action name="playpanolocalsounds">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6921].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6921].muted, false);
          ,
            set(hotspot[spotvideo6921].muted, true);
          );
        );
      );
     ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6921].volume, 0); 
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds());
        ,
          set(hotspot[spotvideo6921].muted, true);
        );
      );
    );
  </action>
  <action name="stoppanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo6921].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo6921].muted, true);
      );
    );
  </action>
  <action name="setpanolocalsoundsvolume">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6921].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6921].muted, false);
          ,
            set(hotspot[spotvideo6921].muted, true);
          );
        );
      );
    );
  </action>
  <action name="pausepanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo6921].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo6921].muted, true);
      );
    );
  </action>
  <action name="resumepanolocalsounds">
    if(tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6921].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo6921].muted, false);
          ,
            set(hotspot[spotvideo6921].muted, true);
          );
        );
      );
    ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo6921].volume, 0);
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds(get(volume)));
        ,
          set(hotspot[spotvideo6921].muted, true);
        );
      );
    );
  </action>
  <events name="pano6883soundsevents" onnewpano="if(plugin[soundinterface],if(plugin[soundinterface].started,playpanolocalsounds();););" />


</scene>

  <krpano nofullspherepanoavailable="false" />


  <!-- Awake HTML5 plugins -->
  <events name="eventKrpanoLoadedEvts" onxmlcomplete="eventKrpanoLoadedAction();" keep="true" />
  <action name="eventKrpanoLoadedAction">
    
    set(events[eventKrpanoLoadedEvts].name, null);
    js(eventKrpanoLoaded('webvr'));
  </action>

</krpano>

