<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19"
        onstart="startup"
        logkey="false"
        bgcolor="#000000"
        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.3 64bits : 01-12-2016 12-13-48 -->
  <!-- Plugins and Spot Styles -->
  <include url="%FIRSTXML%/ECPDMethHouseVT_skin_vr.xml"/>
  <!-- Core actions -->
  <include url="%FIRSTXML%/ECPDMethHouseVT_core_vr.xml"/>
  <!-- Tour Messages -->
  <include url="%FIRSTXML%/ECPDMethHouseVT_messages_en.xml"/>

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

    if (skipintro !== null, skipintroaction(); );

    if (s !== null, if (startscene === null, set(startscene, get(s));); );
    if (startscene === null,
      set(startscene, pano9);
    );
    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>

  <!-- 2 Groups -->

  <!-- Group Group 10 : 1 panoramas -->
  

<!-- **** @PanoName="Living Room" @PanoFile="K:/16-09 ECPD Meth Tour/Final Panos/Pano 1 Dark.jpg" **** -->
<!-- **** Width="0px" Height="0px" **** -->
<scene name="pano9"
       heading="51.39999999999992"
       thumburl="%FIRSTXML%/img_0134_panorama_9/thumbnail.jpg"
       backgroundsound="depressingdoc.mp3"
       backgroundsoundloops="0"
       haslocalsounds="false"
       haspolygons="true"
       titleid="pano9_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">

    <autorotate horizon="90.000000" tofov="57.851200" waittime="1" speed="5"/>


    <panoview h="30.169900" v="90.000000" fov="57.851200" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="70" />

    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom=""
          fovmin="38.168700000000001"
          fovtype="VFOV"
          fovmax="70"
          fov="57.851200"
          hlookat="30.169900"
          vlookat="90.000000"/>

    <preview url="%FIRSTXML%/img_0134_panorama_9/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />


    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2048" tiledimageheight="2048">
          <front url="img_0134_panorama_9/0/1/%v_%u.jpg"/>
          <right url="img_0134_panorama_9/1/1/%v_%u.jpg"/>
          <back  url="img_0134_panorama_9/2/1/%v_%u.jpg"/>
          <left  url="img_0134_panorama_9/3/1/%v_%u.jpg"/>
          <up    url="img_0134_panorama_9/4/1/%v_%u.jpg"/>
          <down  url="img_0134_panorama_9/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="img_0134_panorama_9/0/0/%v_%u.jpg"/>
          <right url="img_0134_panorama_9/1/0/%v_%u.jpg"/>
          <back  url="img_0134_panorama_9/2/0/%v_%u.jpg"/>
          <left  url="img_0134_panorama_9/3/0/%v_%u.jpg"/>
          <up    url="img_0134_panorama_9/4/0/%v_%u.jpg"/>
          <down  url="img_0134_panorama_9/5/0/%v_%u.jpg"/>
      </level>
    </image>
      <image type="CUBE" devices="androidstock.and.no-webgl">
        <front url="img_0134_panorama_9/mobile/0.jpg"/>
        <right url="img_0134_panorama_9/mobile/1.jpg"/>
        <back  url="img_0134_panorama_9/mobile/2.jpg"/>
        <left  url="img_0134_panorama_9/mobile/3.jpg"/>
        <up    url="img_0134_panorama_9/mobile/4.jpg"/>
        <down  url="img_0134_panorama_9/mobile/5.jpg"/>
      </image>




  <!-- **** 11 Polygonal Spots **** -->


































  <action name="hidepanopolygonalspots">
    set(hotspot[spotpolygon44].visible, false);
    set(hotspot[spotpolygon45].visible, false);
    set(hotspot[spotpolygon46].visible, false);
    set(hotspot[spotpolygon47].visible, false);
    set(hotspot[spotpolygon48].visible, false);
    set(hotspot[spotpolygon49].visible, false);
    set(hotspot[spotpolygon119].visible, false);
    set(hotspot[spotpolygon153].visible, false);
    set(hotspot[spotpolygon190].visible, false);
    set(hotspot[spotpolygon199].visible, false);
    set(hotspot[spotpolygon358].visible, false);
  </action>
  <action name="showpanopolygonalspots">
    set(hotspot[spotpolygon44].visible, true);
    set(hotspot[spotpolygon45].visible, true);
    set(hotspot[spotpolygon46].visible, true);
    set(hotspot[spotpolygon47].visible, true);
    set(hotspot[spotpolygon48].visible, true);
    set(hotspot[spotpolygon49].visible, true);
    set(hotspot[spotpolygon119].visible, true);
    set(hotspot[spotpolygon153].visible, true);
    set(hotspot[spotpolygon190].visible, true);
    set(hotspot[spotpolygon199].visible, true);
    set(hotspot[spotpolygon358].visible, true);
  </action>
  <action name="removepanopolygonalspots">
    removehotspot(spotpolygon44);
    removehotspot(spotpolygon45);
    removehotspot(spotpolygon46);
    removehotspot(spotpolygon47);
    removehotspot(spotpolygon48);
    removehotspot(spotpolygon49);
    removehotspot(spotpolygon119);
    removehotspot(spotpolygon153);
    removehotspot(spotpolygon190);
    removehotspot(spotpolygon199);
    removehotspot(spotpolygon358);
  </action>





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





  <hotspot name="spotpoint238"
           ath="60.670431" atv="2.686501"
           style="IconDefaultPointSpotStyle1"
           tag="point"
           vr="true"
           distorted="true"
           depth="1000"
           descriptionid=""
           onclick="onclickspotpoint238"
           />
  <hotspot name="spotpoint238" devices="flash" zorder="3"/>
  <hotspot name="spotpoint238" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint238">
  
        mainloadscene(pano11);


  </action>



  <action name="hidepanopointspots">
    set(hotspot[spotpoint238].visible, false);
  </action>
  <action name="showpanopointspots">
    set(hotspot[spotpoint238].visible, true);
  </action>
  <events name="pano9stopanimatedspots" onremovepano="" />


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




    showpanopolygonalspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();




    hidepanopolygonalspots();
  </action>

  <action name="setzorder2onstandardspots">
    if (device.html5,
      ifnot (device.desktop,

        set(hotspot[spotpolygon44].zorder2, %1);

        set(hotspot[spotpolygon45].zorder2, %1);

        set(hotspot[spotpolygon46].zorder2, %1);

        set(hotspot[spotpolygon47].zorder2, %1);

        set(hotspot[spotpolygon48].zorder2, %1);

        set(hotspot[spotpolygon49].zorder2, %1);

        set(hotspot[spotpolygon119].zorder2, %1);

        set(hotspot[spotpolygon153].zorder2, %1);

        set(hotspot[spotpolygon190].zorder2, %1);

        set(hotspot[spotpolygon199].zorder2, %1);

        set(hotspot[spotpolygon358].zorder2, %1);


        set(hotspot[spotpoint238].zorder2, %1);

      );
    );
  </action>


</scene>


  <!-- Group Group 237 : 1 panoramas -->
  

<!-- **** @PanoName="Dining Room " @PanoFile="K:/16-09 ECPD Meth Tour/Final Panos/Pano 2 Dark.jpg" **** -->
<!-- **** Width="0px" Height="0px" **** -->
<scene name="pano11"
       heading="0"
       thumburl="%FIRSTXML%/img_0191_panorama_11/thumbnail.jpg"
       backgroundsound="depressingdoc.mp3"
       backgroundsoundloops="0"
       haslocalsounds="false"
       haspolygons="true"
       titleid="pano11_title"
       descriptionid=""
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">

    <autorotate horizon="90.000000" tofov="55.883000" waittime="1" speed="5"/>


    <panoview h="0.081314" v="90.000000" fov="55.883000" 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="55.883000"
          hlookat="0.081314"
          vlookat="90.000000"/>

    <preview url="%FIRSTXML%/img_0191_panorama_11/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />


    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="2048" tiledimageheight="2048">
          <front url="img_0191_panorama_11/0/1/%v_%u.jpg"/>
          <right url="img_0191_panorama_11/1/1/%v_%u.jpg"/>
          <back  url="img_0191_panorama_11/2/1/%v_%u.jpg"/>
          <left  url="img_0191_panorama_11/3/1/%v_%u.jpg"/>
          <up    url="img_0191_panorama_11/4/1/%v_%u.jpg"/>
          <down  url="img_0191_panorama_11/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="img_0191_panorama_11/0/0/%v_%u.jpg"/>
          <right url="img_0191_panorama_11/1/0/%v_%u.jpg"/>
          <back  url="img_0191_panorama_11/2/0/%v_%u.jpg"/>
          <left  url="img_0191_panorama_11/3/0/%v_%u.jpg"/>
          <up    url="img_0191_panorama_11/4/0/%v_%u.jpg"/>
          <down  url="img_0191_panorama_11/5/0/%v_%u.jpg"/>
      </level>
    </image>
      <image type="CUBE" devices="androidstock.and.no-webgl">
        <front url="img_0191_panorama_11/mobile/0.jpg"/>
        <right url="img_0191_panorama_11/mobile/1.jpg"/>
        <back  url="img_0191_panorama_11/mobile/2.jpg"/>
        <left  url="img_0191_panorama_11/mobile/3.jpg"/>
        <up    url="img_0191_panorama_11/mobile/4.jpg"/>
        <down  url="img_0191_panorama_11/mobile/5.jpg"/>
      </image>




  <!-- **** 14 Polygonal Spots **** -->











































  <action name="hidepanopolygonalspots">
    set(hotspot[spotpolygon50].visible, false);
    set(hotspot[spotpolygon51].visible, false);
    set(hotspot[spotpolygon52].visible, false);
    set(hotspot[spotpolygon53].visible, false);
    set(hotspot[spotpolygon54].visible, false);
    set(hotspot[spotpolygon55].visible, false);
    set(hotspot[spotpolygon106].visible, false);
    set(hotspot[spotpolygon107].visible, false);
    set(hotspot[spotpolygon108].visible, false);
    set(hotspot[spotpolygon109].visible, false);
    set(hotspot[spotpolygon110].visible, false);
    set(hotspot[spotpolygon111].visible, false);
    set(hotspot[spotpolygon112].visible, false);
    set(hotspot[spotpolygon197].visible, false);
  </action>
  <action name="showpanopolygonalspots">
    set(hotspot[spotpolygon50].visible, true);
    set(hotspot[spotpolygon51].visible, true);
    set(hotspot[spotpolygon52].visible, true);
    set(hotspot[spotpolygon53].visible, true);
    set(hotspot[spotpolygon54].visible, true);
    set(hotspot[spotpolygon55].visible, true);
    set(hotspot[spotpolygon106].visible, true);
    set(hotspot[spotpolygon107].visible, true);
    set(hotspot[spotpolygon108].visible, true);
    set(hotspot[spotpolygon109].visible, true);
    set(hotspot[spotpolygon110].visible, true);
    set(hotspot[spotpolygon111].visible, true);
    set(hotspot[spotpolygon112].visible, true);
    set(hotspot[spotpolygon197].visible, true);
  </action>
  <action name="removepanopolygonalspots">
    removehotspot(spotpolygon50);
    removehotspot(spotpolygon51);
    removehotspot(spotpolygon52);
    removehotspot(spotpolygon53);
    removehotspot(spotpolygon54);
    removehotspot(spotpolygon55);
    removehotspot(spotpolygon106);
    removehotspot(spotpolygon107);
    removehotspot(spotpolygon108);
    removehotspot(spotpolygon109);
    removehotspot(spotpolygon110);
    removehotspot(spotpolygon111);
    removehotspot(spotpolygon112);
    removehotspot(spotpolygon197);
  </action>





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





  <hotspot name="spotpoint29"
           ath="92.563570" atv="2.973057"
           style="IconDefaultPointSpotStyle1"
           tag="point"
           vr="true"
           distorted="true"
           depth="1000"
           descriptionid=""
           onclick="onclickspotpoint29"
           tooltip="spotpoint29_tooltip"
           />
  <hotspot name="spotpoint29" devices="flash" zorder="3"/>
  <hotspot name="spotpoint29" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint29">
  
        mainloadscene(pano9);


  </action>



  <action name="hidepanopointspots">
    set(hotspot[spotpoint29].visible, false);
  </action>
  <action name="showpanopointspots">
    set(hotspot[spotpoint29].visible, true);
  </action>
  <events name="pano11stopanimatedspots" onremovepano="" />


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




    showpanopolygonalspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();




    hidepanopolygonalspots();
  </action>

  <action name="setzorder2onstandardspots">
    if (device.html5,
      ifnot (device.desktop,

        set(hotspot[spotpolygon50].zorder2, %1);

        set(hotspot[spotpolygon51].zorder2, %1);

        set(hotspot[spotpolygon52].zorder2, %1);

        set(hotspot[spotpolygon53].zorder2, %1);

        set(hotspot[spotpolygon54].zorder2, %1);

        set(hotspot[spotpolygon55].zorder2, %1);

        set(hotspot[spotpolygon106].zorder2, %1);

        set(hotspot[spotpolygon107].zorder2, %1);

        set(hotspot[spotpolygon108].zorder2, %1);

        set(hotspot[spotpolygon109].zorder2, %1);

        set(hotspot[spotpolygon110].zorder2, %1);

        set(hotspot[spotpolygon111].zorder2, %1);

        set(hotspot[spotpolygon112].zorder2, %1);

        set(hotspot[spotpolygon197].zorder2, %1);


        set(hotspot[spotpoint29].zorder2, %1);

      );
    );
  </action>


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

