<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19-pr16">

    
  <!-- Spot Style - Play Video_The Ridges Sanctuary -->


  <style name="IconPlayVideo-TheRidgesSanctuary"
         url="%FIRSTXML%/spots/drone_white_user_defaultpoint0.png"
         visible="false"
         edge="center"
         zoom="true"

         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconPlayVideo-TheRidgesSanctuary"
         onover="onoverIconPlayVideo-TheRidgesSanctuary"
         onout="onoutIconPlayVideo-TheRidgesSanctuary"

         height="150"
         width="150"
         />
  <action name="onhoverIconPlayVideo-TheRidgesSanctuary">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconPlayVideo-TheRidgesSanctuary">
tween(scale, 1.2);


  </action>
  <action name="onoutIconPlayVideo-TheRidgesSanctuary">
    hideTooltip();
    tween(scale, 1);


  </action>



  <!-- unsupported kind of display : PointMap -->


    
  <!-- Spot Style - Default Point Spot_Trillium -->


  <style name="IconDefaultPointSpot-Trillium"
         url="%FIRSTXML%/spots/bunch_of_trillium_copy_user_defaultpoint1.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpot-Trillium"
         onover="onoverIconDefaultPointSpot-Trillium"
         onout="onoutIconDefaultPointSpot-Trillium"

         height="100"
         width="200"
         />
  <action name="onhoverIconDefaultPointSpot-Trillium">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpot-Trillium">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpot-Trillium">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Style Forward -->


  <style name="IconDefaultPointSpotStyleForward"
         url="%FIRSTXML%/spots/_3719_-_pointer_i-white_user_defaultpoint2.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotStyleForward"
         onover="onoverIconDefaultPointSpotStyleForward"
         onout="onoutIconDefaultPointSpotStyleForward"

         height="40"
         width="40"
         />
  <action name="onhoverIconDefaultPointSpotStyleForward">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotStyleForward">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotStyleForward">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Style Left -->


  <style name="IconDefaultPointSpotStyleLeft"
         url="%FIRSTXML%/spots/_3720_-_pointer_ii-rt-white_user_defaultpoint3.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotStyleLeft"
         onover="onoverIconDefaultPointSpotStyleLeft"
         onout="onoutIconDefaultPointSpotStyleLeft"

         height="40"
         width="40"
         />
  <action name="onhoverIconDefaultPointSpotStyleLeft">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotStyleLeft">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotStyleLeft">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Style 1 -->


  <style name="IconDefaultPointSpotStyle1"
         url="%FIRSTXML%/spots/_3720_-_pointer_ii-lt-white_user_defaultpoint5.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotStyle1"
         onover="onoverIconDefaultPointSpotStyle1"
         onout="onoutIconDefaultPointSpotStyle1"

         height="40"
         width="40"
         />
  <action name="onhoverIconDefaultPointSpotStyle1">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotStyle1">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotStyle1">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot_Egret -->


  <style name="IconDefaultPointSpot-Egret"
         url="%FIRSTXML%/spots/photo-buttons_18-1_user_defaultpoint4.jpg"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpot-Egret"
         onover="onoverIconDefaultPointSpot-Egret"
         onout="onoutIconDefaultPointSpot-Egret"

         height="200"
         width="100"
         />
  <action name="onhoverIconDefaultPointSpot-Egret">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpot-Egret">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpot-Egret">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Painted Turtles -->


  <style name="IconPaintedTurtles"
         url="%FIRSTXML%/spots/photo-buttons_32_user_defaultpoint6.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconPaintedTurtles"
         onover="onoverIconPaintedTurtles"
         onout="onoutIconPaintedTurtles"

         height="100"
         width="200"
         />
  <action name="onhoverIconPaintedTurtles">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconPaintedTurtles">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconPaintedTurtles">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Wood Duck House -->


  <style name="IconWoodDuckHouse"
         url="%FIRSTXML%/spots/hotspot_information_user_defaultpoint7.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconWoodDuckHouse"
         onover="onoverIconWoodDuckHouse"
         onout="onoutIconWoodDuckHouse"

         height="30"
         width="30"
         />
  <action name="onhoverIconWoodDuckHouse">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconWoodDuckHouse">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconWoodDuckHouse">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Dwarf Lake Iris and Gaywings -->


  <style name="IconDefaultPointSpotDwarfLakeIrisandGaywings"
         url="%FIRSTXML%/spots/photo-buttons_22_user_defaultpoint8.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotDwarfLakeIrisandGaywings"
         onover="onoverIconDefaultPointSpotDwarfLakeIrisandGaywings"
         onout="onoutIconDefaultPointSpotDwarfLakeIrisandGaywings"

         height="150"
         width="75"
         />
  <action name="onhoverIconDefaultPointSpotDwarfLakeIrisandGaywings">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotDwarfLakeIrisandGaywings">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotDwarfLakeIrisandGaywings">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Green Frog -->


  <style name="IconDefaultPointSpotGreenFrog"
         url="%FIRSTXML%/spots/photo-buttons_09_user_defaultpoint9.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotGreenFrog"
         onover="onoverIconDefaultPointSpotGreenFrog"
         onout="onoutIconDefaultPointSpotGreenFrog"

         height="100"
         width="200"
         />
  <action name="onhoverIconDefaultPointSpotGreenFrog">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotGreenFrog">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotGreenFrog">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Whitetail Fawn -->


  <style name="IconDefaultPointSpotWhitetailFawn"
         url="%FIRSTXML%/spots/photo-buttons_07_user_defaultpoint10.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotWhitetailFawn"
         onover="onoverIconDefaultPointSpotWhitetailFawn"
         onout="onoutIconDefaultPointSpotWhitetailFawn"

         height="75"
         width="150"
         />
  <action name="onhoverIconDefaultPointSpotWhitetailFawn">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotWhitetailFawn">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotWhitetailFawn">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Style -->


  <style name="IconDefaultPointSpotStyle"
         url="%FIRSTXML%/spots/pine_grosbeak_2_kevin_swagel_copy_user_defaultpoint11.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotStyle"
         onover="onoverIconDefaultPointSpotStyle"
         onout="onoutIconDefaultPointSpotStyle"

         height="150"
         width="75"
         />
  <action name="onhoverIconDefaultPointSpotStyle">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotStyle">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotStyle">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Style 2 -->


  <style name="IconDefaultPointSpotStyle2"
         url="%FIRSTXML%/spots/hines_1_carol_freeman_copy_user_defaultpoint12.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotStyle2"
         onover="onoverIconDefaultPointSpotStyle2"
         onout="onoutIconDefaultPointSpotStyle2"

         height="100"
         width="100"
         />
  <action name="onhoverIconDefaultPointSpotStyle2">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotStyle2">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotStyle2">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Northern Water Snake -->


  <style name="IconDefaultPointSpotNorthernWaterSnake"
         url="%FIRSTXML%/spots/snake_4_copy_user_defaultpoint13.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotNorthernWaterSnake"
         onover="onoverIconDefaultPointSpotNorthernWaterSnake"
         onout="onoutIconDefaultPointSpotNorthernWaterSnake"

         height="100"
         width="150"
         />
  <action name="onhoverIconDefaultPointSpotNorthernWaterSnake">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotNorthernWaterSnake">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotNorthernWaterSnake">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Rams Head Lady Slipper -->


  <style name="IconDefaultPointSpotRamsHeadLadySlipper"
         url="%FIRSTXML%/spots/img_5150_copy_user_defaultpoint14.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotRamsHeadLadySlipper"
         onover="onoverIconDefaultPointSpotRamsHeadLadySlipper"
         onout="onoutIconDefaultPointSpotRamsHeadLadySlipper"

         height="100"
         width="50"
         />
  <action name="onhoverIconDefaultPointSpotRamsHeadLadySlipper">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotRamsHeadLadySlipper">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotRamsHeadLadySlipper">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Style 3 -->


  <style name="IconDefaultPointSpotStyle3"
         url="%FIRSTXML%/spots/dsc02783_copy_user_defaultpoint15.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotStyle3"
         onover="onoverIconDefaultPointSpotStyle3"
         onout="onoutIconDefaultPointSpotStyle3"

         height="100"
         width="50"
         />
  <action name="onhoverIconDefaultPointSpotStyle3">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotStyle3">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotStyle3">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Info Button Upper Range Light -->


  <style name="IconInfoButtonUpperRangeLight"
         url="%FIRSTXML%/spots/hotspot_information_user_defaultpoint16.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconInfoButtonUpperRangeLight"
         onover="onoverIconInfoButtonUpperRangeLight"
         onout="onoutIconInfoButtonUpperRangeLight"

         height="30"
         width="30"
         />
  <action name="onhoverIconInfoButtonUpperRangeLight">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconInfoButtonUpperRangeLight">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconInfoButtonUpperRangeLight">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Info Button Lower Range Light -->


  <style name="IconInfoButtonLowerRangeLight"
         url="%FIRSTXML%/spots/hotspot_information_user_defaultpoint17.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconInfoButtonLowerRangeLight"
         onover="onoverIconInfoButtonLowerRangeLight"
         onout="onoutIconInfoButtonLowerRangeLight"

         height="30"
         width="30"
         />
  <action name="onhoverIconInfoButtonLowerRangeLight">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconInfoButtonLowerRangeLight">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconInfoButtonLowerRangeLight">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Trail Donation 1 -->


  <style name="IconTrailDonation1"
         url="%FIRSTXML%/spots/hotspot_information_user_defaultpoint18.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconTrailDonation1"
         onover="onoverIconTrailDonation1"
         onout="onoutIconTrailDonation1"

         height="30"
         width="30"
         />
  <action name="onhoverIconTrailDonation1">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconTrailDonation1">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconTrailDonation1">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Lobby Donation 1 -->


  <style name="IconLobbyDonation1"
         url="%FIRSTXML%/spots/hotspot_information_user_defaultpoint19.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconLobbyDonation1"
         onover="onoverIconLobbyDonation1"
         onout="onoutIconLobbyDonation1"

         height="30"
         width="30"
         />
  <action name="onhoverIconLobbyDonation1">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconLobbyDonation1">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconLobbyDonation1">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Martin House -->


  <style name="IconMartinHouse"
         url="%FIRSTXML%/spots/hotspot_information_user_defaultpoint20.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconMartinHouse"
         onover="onoverIconMartinHouse"
         onout="onoutIconMartinHouse"

         height="30"
         width="30"
         />
  <action name="onhoverIconMartinHouse">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconMartinHouse">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconMartinHouse">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Whitetail Deer -->


  <style name="IconDefaultPointSpotWhitetailDeer"
         url="%FIRSTXML%/spots/dkaldor_cousins_campblur_user_defaultpoint21.jpg"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotWhitetailDeer"
         onover="onoverIconDefaultPointSpotWhitetailDeer"
         onout="onoutIconDefaultPointSpotWhitetailDeer"

         height="150"
         width="75"
         />
  <action name="onhoverIconDefaultPointSpotWhitetailDeer">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotWhitetailDeer">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotWhitetailDeer">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Info Button Privy -->


  <style name="IconInfoButtonPrivy"
         url="%FIRSTXML%/spots/hotspot_information_user_defaultpoint22.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconInfoButtonPrivy"
         onover="onoverIconInfoButtonPrivy"
         onout="onoutIconInfoButtonPrivy"

         height="30"
         width="30"
         />
  <action name="onhoverIconInfoButtonPrivy">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconInfoButtonPrivy">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconInfoButtonPrivy">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Trash Line Spider -->


  <style name="IconDefaultPointSpotTrashLineSpider"
         url="%FIRSTXML%/spots/trash_spider_user_defaultpoint23.jpg"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotTrashLineSpider"
         onover="onoverIconDefaultPointSpotTrashLineSpider"
         onout="onoutIconDefaultPointSpotTrashLineSpider"

         height="150"
         width="75"
         />
  <action name="onhoverIconDefaultPointSpotTrashLineSpider">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotTrashLineSpider">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotTrashLineSpider">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Default Point Spot Yellow Orchid -->


  <style name="IconDefaultPointSpotYellowOrchid"
         url="%FIRSTXML%/spots/dsc01399__2__copy_user_defaultpoint24.png"
         visible="false"
         edge="center"
         zoom="true"

         alpha="0.8"
         onloaded="if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconDefaultPointSpotYellowOrchid"
         onover="onoverIconDefaultPointSpotYellowOrchid"
         onout="onoutIconDefaultPointSpotYellowOrchid"

         height="75"
         width="150"
         />
  <action name="onhoverIconDefaultPointSpotYellowOrchid">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotYellowOrchid">
tween(scale, 1.2);
tween(alpha, 1);
pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconDefaultPointSpotYellowOrchid">
    hideTooltip();
    tween(scale, 1);
    tween(alpha, 0.8);
resumeautorotation(forcehotspot);

  </action>



<!-- ********** -->
<!-- Description Bar -->
<!-- id : description -->
<!-- ********** -->

<ptplugin name="description" canStart="false" newPano="false" openatstart="true" mode="panorama" startMethod="showDescription_description" engine="kolorArea">
	<settings>
		<option name="position" value="left" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="topleft_radius" value="0" type="int" />
		<option name="topright_radius" value="0" type="int" />
		<option name="bottomleft_radius" value="0" type="int" />
		<option name="bottomright_radius" value="0" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="padding" value="15" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title" value="" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="14" type="int" />
		<option name="title_weight" value="bold" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="descriptiondisplay_close_text" type="string" />

		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="1" type="float" />

		<option name="area_width" value="15" type="int" />
		<option name="area_height" value="100" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="refresh_content" value="true" type="bool" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_description')" type="string" />
		<option name="close_on_click" value="false" type="bool" />
		<option name="open_callback" value="invokeKrFunction('openKolorAreaCallback_description')" type="string" />
		<option name="zorder" value="1" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAreaJsReady_description">
	set(ptplugin[description].jsready, true);

</action>

<action name="updateTitle_description">
	js(invokePluginFunction(description, changeTitle, get(scene[get(xml.scene)].titleid)));
</action>

<action name="openKolorArea_description">
	ifnot(ptplugin[description].isOpen,
		set(ptplugin[description].isOpen, true);
		
		js(showKolorArea(description, get(ptplugin[description].descID)));
		events.dispatch(onremovedisplayedobject);
	);
</action>

<action name="closeKolorArea_description">
	if(ptplugin[description].isOpen,
		js(invokePluginFunction(description, closeKolorArea));
	);
</action>

<action name="toggleKolorArea_description">
	if(ptplugin[description].isOpen,
		closeKolorArea_description();
	,
		openKolorArea_description();
	);
</action>

<action name="closeKolorAreaCallback_description">
	set(ptplugin[description].isOpen, false);
</action>


<action name="openKolorAreaCallback_description">
	updateTitle_description();
</action>

<action name="showKolorArea_description">
	ifnot(ptplugin[description].startMethod == "",
		delayedcall(0,get(ptplugin[description].startMethod));
	,
		set(ptplugin[description].isOpen, true);
		
		js(invokePluginFunction(description, showKolorArea, %1));
		events.dispatch(onremovedisplayedobject);
	);
</action>
	
<action name="hideKolorArea_description">
	
	set(ptplugin[description].isOpen, false);
	js(invokePluginFunction(description, hideKolorArea, %1));
</action>

<action name="openDescription_description">
	openKolorArea_description();
</action>

<action name="openSpotDescription_description">
	set(ptplugin[description].descID, %1);
	openKolorArea_description();
</action>

<action name="closeDescription_description">
	set(ptplugin[description].currentGroup, false);
	if(%1,
		set(restore_description, true);
	,
		set(restore_description, false);
	);
	closeKolorArea_description();
</action> 

<action name="showDescription_description">
	if(ptplugin[description].canStart,
		set(ptplugin[description].descID, get(scene[get(xml.scene)].descriptionid));
		if(ptplugin[description].descID == null,
			set(ptplugin[description].descID, "");
		);
		if(ptplugin[description].descID != "",
			openDescription_description();
		,
			hideKolorArea_description(false);
		);
		set(ptplugin[description].startMethod, "");
	);
</action>


<action name="refreshPanoDescription_description">
	set(ptplugin[description].descID, get(scene[get(xml.scene)].descriptionid));
	if(ptplugin[description].descID == null,
		set(ptplugin[description].descID, "");
	);
	if(ptplugin[description].descID != "",
		if(ptplugin[description].isOpen,
			js(invokePluginFunction(description, updateKolorArea, get(ptplugin[description].descID)));
			updateTitle_description();
		,
			if(restore_description,
				showDescription_description();
			);
		);
	,
		closeDescription_description(get(ptplugin[description].isOpen));
	);
</action>

<action name="onNewPano_description">
	if(ptplugin[description].newPano,
		if(ptplugin[description].startMethod == "",
			if(ptplugin[description].isOpen,
				refreshPanoDescription_description();
			,
				refreshPanoDescription_description();
			);
		);
	);
	set(ptplugin[description].newPano, true);
</action>

<action name="changeLanguage_description">
	if(ptplugin[description].jsready,
		stopdelayedcall(delay_description);
		js(invokePluginFunction(description, changeLanguage, true));
	,
		delayedcall(delay_description, 0.1, changeLanguage_description(););
	);
</action>

<events name="kolorAreaEvents_description" 
	keep="true"
	onTourStart="set(ptplugin[description].canStart, true);if(ptplugin[description].openatstart,ifnot(ptplugin[description].startMethod == '',delayedcall(0,get(ptplugin[description].startMethod));););"
	onnewpano="onNewPano_description();"
	changetourlanguage="changeLanguage_description();"
/>

<!-- ********** -->
<!-- Description Button -->
<!-- id : button -->
<!-- ********** -->

  <layer name="button"
         keep="true"
         url="%FIRSTXML%/graphics/button/description_icon-white.png"
         align="bottomleft"
         x="10"
         y="10"
         zorder="2"
         visible="false"
         onclick="buttonOnClick"
         tooltip="buttontooltip"
         onhover="showTooltip('plugin',buttonTooltipStyle);"
         onout="hideTooltip();"
         height="60"
         width="60"
         />



  <action name="buttonOnClick">
showDescription_description();



  </action>

  <events name="buttonevents"
    onTourStart="showbutton();"
    keep="true" />
  <action name="hidebutton">set(layer[button].visible, false);</action>
  <action name="showbutton">set(layer[button].visible, true);</action>

<layer name="buttonTooltipStyle"
  keep="true"
  enabled="false"
  capture="false"
  type="text"
  align="center"
  bg="false"
  bgborder="0"
  txtshadow="1.0 1.0 4.0 0x000000 1"
  css="color:#ffffff;font-family:Verdana;font-size:14px;text-align:left;"
  interactivecontent="false"
  zorder="0"
  padding="2"
  xoffset="0"
  yoffset="0"
  visible="false"
  html=""
  edge="bottom"
/>

  <!-- ************* -->
  <!-- Panorama Menu -->
  <!-- ************* -->

<ptplugin name="panoramaMenu" engine="kolorMenu">
	<settings>
		<option name="position" value="top" type="string" />
		<option name="orientation" value="horizontal" type="string" />
		<option name="sub_orientation" value="vertical" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="5" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="item_spacer" value="5" type="int" />
		<option name="border_radius" value="7" type="int" />
		<option name="full_size" value="false" type="bool" />
		<option name="use_out_effect" value="true" type="bool" />
		<option name="item_out_border_width" value="0" type="int" />
		<option name="item_out_border_radius" value="7" type="int" />
		<option name="item_out_border_color" value="000000" type="string" />
		<option name="item_out_border_alpha" value="1" type="float" />
		<option name="item_out_border_style" value="solid" type="string" />
		<option name="item_hover_border_radius" value="7" type="int" />
		<option name="item_hover_border_width" value="0" type="int" />
		<option name="item_hover_border_style" value="solid" type="string" />
		<option name="item_hover_border_color" value="000000" type="string" />
		<option name="item_hover_border_alpha" value="1" type="float" />
		<option name="item_out_bg_color" value="000000" type="string" />
		<option name="item_out_bg_alpha" value="0.59999999999999998" type="float" />
		<option name="item_out_font_color" value="ffffff" type="string" />
		<option name="item_out_font_family" value="Arial" type="string" />
		<option name="item_out_font_size" value="14" type="int" />
		<option name="item_out_font_weight" value="normal" type="string" />
		<option name="item_out_font_style" value="normal" type="string" />
		<option name="item_out_font_decoration" value="normal" type="string" />
		<option name="use_hover_effect" value="true" type="bool" />
		<option name="item_hover_bg_color" value="000000" type="string" />
		<option name="item_hover_bg_alpha" value="0.59999999999999998" type="float" />
		<option name="item_hover_font_color" value="ffffff" type="string" />
		<option name="item_hover_font_family" value="Arial" type="string" />
		<option name="item_hover_font_size" value="14" type="int" />
		<option name="item_hover_font_weight" value="normal" type="string" />
		<option name="item_hover_font_style" value="normal" type="string" />
		<option name="item_hover_font_decoration" value="normal" type="string" />
		<option name="padding_main" value="10" type="int" />
		<option name="padding_sub" value="10" type="int" />
		<option name="text_align" value="right" type="string" />
		<option name="item_thumb_max_width" value="200" type="int" />
		<option name="item_thumb_max_height" value="100" type="int" />
		
		<option name="zorder" value="3" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
	<internaldata>
				<group name="group_1"
						titleID="panogroup226_title"
						thumbnail=""
						subMenu="true"
						cssClass="panogroup226"> 

				
				
						<item name="group_1_item_1"
							action="invokeKrFunction('mainloadscene', 'pano197')"
								titleID="pano197_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5626_panorama_197/thumbnail.jpg"
							cssClass="pano197">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_1_item_2"
							action="invokeKrFunction('mainloadscene', 'pano272')"
								titleID="pano272_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_4831_panorama_272/thumbnail.jpg"
							cssClass="pano272">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_1_item_3"
							action="invokeKrFunction('mainloadscene', 'pano225')"
								titleID="pano225_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_4882_panorama_225/thumbnail.jpg"
							cssClass="pano225">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_1_item_4"
							action="invokeKrFunction('mainloadscene', 'pano274')"
								titleID="pano274_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_4933_panorama_274/thumbnail.jpg"
							cssClass="pano274">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
					
						<option name="background_color" value="000000" type="string" />
						<option name="background_alpha" value="0.58823529411764708" type="float" />
					
				</group>
				<group name="group_2"
						titleID="panogroup198_title"
						thumbnail=""
						subMenu="true"
						cssClass="panogroup198"> 

				
				
						<item name="group_2_item_1"
							action="invokeKrFunction('mainloadscene', 'pano416')"
								titleID="pano416_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_4964_panorama_3_416/thumbnail.jpg"
							cssClass="pano416">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_2_item_2"
							action="invokeKrFunction('mainloadscene', 'pano199')"
								titleID="pano199_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5656_panorama_199/thumbnail.jpg"
							cssClass="pano199">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_2_item_3"
							action="invokeKrFunction('mainloadscene', 'pano201')"
								titleID="pano201_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5686_panorama_201/thumbnail.jpg"
							cssClass="pano201">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_2_item_4"
							action="invokeKrFunction('mainloadscene', 'pano203')"
								titleID="pano203_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5719_panorama_203/thumbnail.jpg"
							cssClass="pano203">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_2_item_5"
							action="invokeKrFunction('mainloadscene', 'pano205')"
								titleID="pano205_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5755_panorama_205/thumbnail.jpg"
							cssClass="pano205">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_2_item_6"
							action="invokeKrFunction('mainloadscene', 'pano207')"
								titleID="pano207_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5806_panorama_207/thumbnail.jpg"
							cssClass="pano207">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_2_item_7"
							action="invokeKrFunction('mainloadscene', 'pano209')"
								titleID="pano209_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5836_panorama_209/thumbnail.jpg"
							cssClass="pano209">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
					
						<option name="background_color" value="000000" type="string" />
						<option name="background_alpha" value="0.58823529411764708" type="float" />
					
				</group>
				<group name="group_3"
						titleID="panogroup221_title"
						thumbnail=""
						subMenu="true"
						cssClass="panogroup221"> 

				
				
						<item name="group_3_item_1"
							action="invokeKrFunction('mainloadscene', 'pano213')"
								titleID="pano213_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5916_panorama_213/thumbnail.jpg"
							cssClass="pano213">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_3_item_2"
							action="invokeKrFunction('mainloadscene', 'pano215')"
								titleID="pano215_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5949_panorama_215/thumbnail.jpg"
							cssClass="pano215">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_3_item_3"
							action="invokeKrFunction('mainloadscene', 'pano217')"
								titleID="pano217_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5985_panorama__2_217/thumbnail.jpg"
							cssClass="pano217">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_3_item_4"
							action="invokeKrFunction('mainloadscene', 'pano219')"
								titleID="pano219_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_6021_panorama_219/thumbnail.jpg"
							cssClass="pano219">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
					
						<option name="background_color" value="000000" type="string" />
						<option name="background_alpha" value="0.58823529411764708" type="float" />
					
				</group>
				<group name="group_4"
						titleID="panogroup417_title"
						thumbnail=""
						subMenu="true"
						cssClass="panogroup417"> 

				
				
						<item name="group_4_item_1"
							action="invokeKrFunction('mainloadscene', 'pano211')"
								titleID="pano211_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5875_panorama2_211/thumbnail.jpg"
							cssClass="pano211">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_4_item_2"
							action="invokeKrFunction('mainloadscene', 'pano420')"
								titleID="pano420_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5255_panorama_420/thumbnail.jpg"
							cssClass="pano420">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_4_item_3"
							action="invokeKrFunction('mainloadscene', 'pano418')"
								titleID="pano418_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5295_panorama_418/thumbnail.jpg"
							cssClass="pano418">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
					
						<option name="background_color" value="000000" type="string" />
						<option name="background_alpha" value="0.58823529411764708" type="float" />
					
				</group>
				<group name="group_5"
						titleID="panogroup59_title"
						thumbnail=""
						subMenu="true"
						cssClass="panogroup59"> 

				
				
						<item name="group_5_item_1"
							action="invokeKrFunction('mainloadscene', 'pano44')"
								titleID="pano44_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5559_panorama_44/thumbnail.jpg"
							cssClass="pano44">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_5_item_2"
							action="invokeKrFunction('mainloadscene', 'pano42')"
								titleID="pano42_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5526_panorama_42/thumbnail.jpg"
							cssClass="pano42">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_5_item_3"
							action="invokeKrFunction('mainloadscene', 'pano40')"
								titleID="pano40_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5493_panorama_40/thumbnail.jpg"
							cssClass="pano40">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_5_item_4"
							action="invokeKrFunction('mainloadscene', 'pano422')"
								titleID="pano422_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5328_panorama_422/thumbnail.jpg"
							cssClass="pano422">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_5_item_5"
							action="invokeKrFunction('mainloadscene', 'pano36')"
								titleID="pano36_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5407_panorama_36/thumbnail.jpg"
							cssClass="pano36">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_5_item_6"
							action="invokeKrFunction('mainloadscene', 'pano38')"
								titleID="pano38_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5444_panorama_38/thumbnail.jpg"
							cssClass="pano38">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
						<item name="group_5_item_7"
							action="invokeKrFunction('mainloadscene', 'pano34')"
								titleID="pano34_title"
								thumbnail="TheRidgesSanctuary_desktopdata/img_5368_panorama_34/thumbnail.jpg"
							cssClass="pano34">
						
								<option name="item_out_bg_color" value="000000" type="string" />
								<option name="item_out_bg_alpha" value="0.58823529411764708" type="float" />
								<option name="item_hover_bg_color" value="000000" type="string" />
								<option name="item_hover_bg_alpha" value="0.58823529411764708" type="float" />
						
						</item>
					
						<option name="background_color" value="000000" type="string" />
						<option name="background_alpha" value="0.58823529411764708" type="float" />
					
				</group>
	</internaldata>
</ptplugin>

<action name="kolorMenuJsReady_panoramaMenu">
	set(ptplugin[panoramaMenu].jsready, true);
</action>

<action name="showKolorMenu_panoramaMenu">
	
	ifnot(ptplugin[panoramaMenu].isOpen,
		stopdelayedcall(delay_panoramaMenu);
		set(ptplugin[panoramaMenu].isOpen, true);
		set(ptplugin[panoramaMenu].displayed, true);
		js(openKolorMenu(panoramaMenu));
	,
		if(ptplugin[panoramaMenu].jsready,
			stopdelayedcall(delay_panoramaMenu);
			set(ptplugin[panoramaMenu].displayed, true);
			js(invokePluginFunction(panoramaMenu, showKolorMenu));
		,
			delayedcall(delay_panoramaMenu, 0.1, showKolorMenu_panoramaMenu(););
		);
	);
</action>

<action name="hideKolorMenu_panoramaMenu">
	if(ptplugin[panoramaMenu].jsready,
		stopdelayedcall(delay_panoramaMenu);
		set(ptplugin[panoramaMenu].displayed, false);
		js(invokePluginFunction(panoramaMenu, hideKolorMenu));
	,
		delayedcall(delay_panoramaMenu, 0.1, hideKolorMenu_panoramaMenu(););
	);
</action>


<action name="changeLanguage_panoramaMenu">
	if(ptplugin[panoramaMenu].jsready,
		stopdelayedcall(delay_panoramaMenu);
		js(invokePluginFunction(panoramaMenu, changeLanguage));
	,
		delayedcall(delay_panoramaMenu, 0.1, changeLanguage_panoramaMenu(););
	);
</action>


<events name="kolorMenuEvents_panoramaMenu" 
	keep="true"
	
	
	onTourStart="showKolorMenu_panoramaMenu();"
	changetourlanguage="changeLanguage_panoramaMenu"
/>

<!-- ********** -->
<!-- Gallery -->
<!-- id : gallery -->
<!-- ********** -->

<ptplugin name="gallery" engine="kolorBox">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="external_padding" value="5" type="int" />
		<option name="draggable_box" value="false" type="bool" />
		<option name="slideshow_autoplay" value="false" type="bool" />
		<option name="slideshow" value="5000" type="int" />
		<option name="container_auto_size" value="true" type="bool" />
		<option name="container_width" value="50" type="int" />
		<option name="container_width_unit" value="percent" type="string" />
		<option name="container_height" value="50" type="int" />
		<option name="container_height_unit" value="percent" type="string" />
		<option name="container_color" value="2a2a2a" type="string" />
		<option name="container_alpha" value="1" type="float" />
		<option name="container_topleft_border_radius" value="3" type="int" />
		<option name="container_topright_border_radius" value="3" type="int" />
		<option name="container_bottomleft_border_radius" value="3" type="int" />
		<option name="container_bottomright_border_radius" value="3" type="int" />
		<option name="container_border_width" value="2" type="int" />
		<option name="container_border_color" value="ffffff" type="string" />
		<option name="container_border_alpha" value="1" type="float" />
		<option name="overlay_displayed" value="true" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="item_border_width" value="2" type="int" />
		<option name="item_border_color" value="ffffff" type="string" />
		<option name="item_border_alpha" value="1" type="float" />
		
		<option name="title_displayed" value="true" type="bool" />
		<option name="title_position" value="top" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="14" type="int" />
		<option name="title_weight" value="bold" type="string" />
		<option name="title_style" value="normal" type="string" />
		<option name="title_decoration" value="none" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		
		<option name="caption_displayed" value="true" type="bool" />
		<option name="caption_position" value="left" type="string" />
		<option name="caption_font" value="Verdana" type="string" />
		<option name="caption_size" value="16" type="int" />
		<option name="caption_weight" value="normal" type="string" />
		<option name="caption_style" value="normal" type="string" />
		<option name="caption_decoration" value="none" type="string" />
		<option name="caption_color" value="ffffff" type="string" />
		<option name="caption_width" value="200" type="int" />
		<option name="caption_height" value="75" type="int" />
		<option name="caption_textalign" value="left" type="string" />
		
		<option name="play_displayed" value="true" type="bool" />
		<option name="play_position" value="bottomleft" type="string" />
		<option name="play_text" value="galleryplay_text" type="string" />




		<option name="navigation_displayed" value="true" type="bool" />
		<option name="navigation_position" value="bottom" type="string" />
		<option name="counter_color" value="666666" type="string" />
		<option name="navprev_text" value="gallerynavprev_text" type="string" />
		<option name="navnext_text" value="gallerynavnext_text" type="string" />




		<option name="navigation_arrows" value="true" type="bool" />




		<option name="fullscreen_displayed" value="true" type="bool" />
		<option name="fullscreen_position" value="topleft" type="string" />
		<option name="fullscreen_text" value="galleryfullscreen_text" type="string" />




		<option name="close_displayed" value="true" type="bool" />
		<option name="close_position" value="topright" type="string" />
		<option name="close_text" value="galleryclose_text" type="string" />

		<option name="close_callback" value="invokeKrFunction('closeKolorBoxCallback_gallery')" type="string" />
		<option name="zorder" value="4" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
	<internaldata>
		<item name="item_1" title="gallerypicture_title0" caption="gallerypicture_caption0" value="TheRidgesSanctuary_desktopdata/graphics/gallery/bunch_of_trillium.jpg"/>
		<item name="item_2" title="gallerypicture_title1" caption="gallerypicture_caption1" value="TheRidgesSanctuary_desktopdata/graphics/gallery/dsc01399__2_.jpg"/>
		<item name="item_3" title="gallerypicture_title2" caption="gallerypicture_caption2" value="TheRidgesSanctuary_desktopdata/graphics/gallery/dsc02542-6.jpg"/>
		<item name="item_4" title="gallerypicture_title3" caption="gallerypicture_caption3" value="TheRidgesSanctuary_desktopdata/graphics/gallery/dsc02783.jpg"/>
		<item name="item_5" title="gallerypicture_title4" caption="gallerypicture_caption4" value="TheRidgesSanctuary_desktopdata/graphics/gallery/dsc05360__1_.jpg"/>
		<item name="item_6" title="gallerypicture_title5" caption="gallerypicture_caption5" value="TheRidgesSanctuary_desktopdata/graphics/gallery/dwarf_lake_iris_and_gaywings.png"/>
		<item name="item_7" title="gallerypicture_title6" caption="gallerypicture_caption6" value="TheRidgesSanctuary_desktopdata/graphics/gallery/frog.jpg"/>
		<item name="item_8" title="gallerypicture_title7" caption="gallerypicture_caption7" value="TheRidgesSanctuary_desktopdata/graphics/gallery/hines_1_carol_freeman.jpg"/>
		<item name="item_9" title="gallerypicture_title8" caption="gallerypicture_caption8" value="TheRidgesSanctuary_desktopdata/graphics/gallery/img_5150.jpg"/>
		<item name="item_10" title="gallerypicture_title9" caption="gallerypicture_caption9" value="TheRidgesSanctuary_desktopdata/graphics/gallery/pine_grosbeak_2_kevin_swagel.jpg"/>
		<item name="item_11" title="gallerypicture_title10" caption="gallerypicture_caption10" value="TheRidgesSanctuary_desktopdata/graphics/gallery/snake_4.jpg"/>
		<item name="item_12" title="gallerypicture_title11" caption="gallerypicture_caption11" value="TheRidgesSanctuary_desktopdata/graphics/gallery/turtles.jpg"/>
		<item name="item_13" title="gallerypicture_title12" caption="gallerypicture_caption12" value="TheRidgesSanctuary_desktopdata/graphics/gallery/dkaldor_cousins_camp.jpg"/>
		<item name="item_14" title="gallerypicture_title13" caption="gallerypicture_caption13" value="TheRidgesSanctuary_desktopdata/graphics/gallery/lower_range_light_lantern.jpg"/>
		<item name="item_15" title="gallerypicture_title14" caption="gallerypicture_caption14" value="TheRidgesSanctuary_desktopdata/graphics/gallery/trash_spider.jpg"/>
		<item name="item_16" title="gallerypicture_title15" caption="gallerypicture_caption15" value="TheRidgesSanctuary_desktopdata/graphics/gallery/upper_range_light.jpg"/>
	</internaldata>
</ptplugin>

<action name="kolorBoxJsReady_gallery">
	set(ptplugin[gallery].jsready, true);
</action>

<action name="showGallery_gallery">
	ifnot(ptplugin[gallery].isOpen,
		set(ptplugin[gallery].isOpen, true);
		set(ptplugin[gallery].doNotDeleteMe, false);
		set(gallery_boxurl, %1);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(gallery, openKolorBox, %1));
		events.dispatch(onremovedisplayedobject);
	,
		if(%1 !== null AND %1 != gallery_boxurl,
			closeKolorBox_gallery();
			delayedcall(0.3,showGallery_gallery(%1););
		);
	);
</action>

<action name="toggleGallery_gallery">
	js(invokePluginFunction(gallery, toggleKolorBox, %1));
</action>


<action name="closeKolorBox_gallery">
	js(invokePluginFunction(gallery, closeKolorBox));
</action>

<action name="closeKolorBoxCallback_gallery">
	resumeautorotation(forceplugin);

	set(ptplugin[gallery].isOpen, false);
</action>

<action name="changeLanguage_gallery">
	if(ptplugin[gallery].jsready,
		js(invokePluginFunction(gallery, changeLanguage));
	,
		delayedcall(delay_gallery, 0.1, changeLanguage_gallery(););
	);
</action>

<events name="kolorBoxEvents_gallery" 
	keep="true"
	onremovepano="if(ptplugin[gallery].isOpen,closeKolorBox_gallery(););"
	changetourlanguage="changeLanguage_gallery();"
	/>

<!-- ********** -->
<!-- Classic Control Bar -->
<!-- id : controlBar_classic -->
<!-- ********** -->

  <krpano controlBar_classicbarbuilt="false" controlBar_classicbackgroundwidthwhenclosed="0" controlBar_classicbackgroundwidthwhenopened="0" controlBar_classicIsOpened="false" />
  <events name="controlBar_classicevents" 
    onxmlcomplete="controlBar_classicbuildMenuBar();" 


    keep="true" />



  <action name="controlBar_classicbuildMenuBar">
    ifnot (controlBar_classicbarbuilt, controlBar_classicbuildMenu(); set(controlBar_classicbarbuilt, true););
  </action>

  <action name="controlBar_classicbuildMenu">
    
    set(controlBar_classicbutton_pos, 20);

    set(layer[controlBar_classicbtn_hidecontrols].x, get(controlBar_classicbutton_pos));
    set(layer[controlBar_classicbtn_showcontrols].x, get(controlBar_classicbutton_pos));
    inc(controlBar_classicbutton_pos, 36);
    add(controlBar_classicbackgroundwidthwhenclosed, get(controlBar_classicbutton_pos), 20);



    if (device.desktop,
      set(layer[controlBar_classicbtn_display_help].x, get(controlBar_classicbutton_pos));
      set(layer[controlBar_classicbtn_close_help  ].x, get(controlBar_classicbutton_pos));
      inc(controlBar_classicbutton_pos, 36);
    );

    if (device.fullscreensupport,
      set(layer[controlBar_classicbtn_openfs ].x, get(controlBar_classicbutton_pos));
      set(layer[controlBar_classicbtn_closefs].x, get(controlBar_classicbutton_pos));
      inc(controlBar_classicbutton_pos, 36);
    );


    set(layer[controlBar_classicbtn_share].x, get(controlBar_classicbutton_pos));
    inc(controlBar_classicbutton_pos, 36);


    set(layer[controlBar_classicbtn_autorotate_on ].x, get(controlBar_classicbutton_pos));
    set(layer[controlBar_classicbtn_autorotate_off].x, get(controlBar_classicbutton_pos));
    inc(controlBar_classicbutton_pos, 36);


    set(layer[controlBar_classicbtn_sound_on ].x, get(controlBar_classicbutton_pos));
    set(layer[controlBar_classicbtn_sound_off].x, get(controlBar_classicbutton_pos));
    inc(controlBar_classicbutton_pos, 36);


    if (device.desktop,
      set(layer[controlBar_classicbtn_ctrlmode_drag_to].x, get(controlBar_classicbutton_pos));
      set(layer[controlBar_classicbtn_ctrlmode_move_to].x, get(controlBar_classicbutton_pos));
      inc(controlBar_classicbutton_pos, 36);
    );


    if(plugin[ptpvrmode] AND device.html5,
      set(layer[controlBar_classicbtn_enter_vr].x, get(controlBar_classicbutton_pos));
      set(layer[controlBar_classicbtn_enter_vr_not].x, get(controlBar_classicbutton_pos));
      inc(controlBar_classicbutton_pos, 36);
    );


    if(plugin[gyroscope],
      set(controlBar_classicDisplayGyroscopeButton, false);
      if (device.tablet, set(controlBar_classicDisplayGyroscopeButton, true););
      if (device.mobile, set(controlBar_classicDisplayGyroscopeButton, true););
      if(controlBar_classicDisplayGyroscopeButton,
        set(layer[controlBar_classicbtn_gyroscope_on ].x, get(controlBar_classicbutton_pos));
        set(layer[controlBar_classicbtn_gyroscope_off].x, get(controlBar_classicbutton_pos));
        set(layer[controlBar_classicbtn_gyroscope_not].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
      );
    );


    if (device.desktop,
        set(layer[controlBar_classicbtn_right].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
        set(layer[controlBar_classicbtn_left].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
    );
    if (device.desktop,
        set(layer[controlBar_classicbtn_down].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
        set(layer[controlBar_classicbtn_up].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
    );
    if (device.desktop,
        set(layer[controlBar_classicbtn_out].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
        set(layer[controlBar_classicbtn_in].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
    );
    if (scene.count GT 1,
        set(layer[controlBar_classicbtn_next_pano].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
        set(layer[controlBar_classicbtn_prev_pano].x, get(controlBar_classicbutton_pos));
        inc(controlBar_classicbutton_pos, 36);
      );



    inc(controlBar_classicbutton_pos, 20);

    set(controlBar_classicbackgroundwidthwhenopened, get(controlBar_classicbutton_pos));



    
    add(controlBar_classicVerifyVisibility, 20, 20);
    if(controlBar_classicbackgroundwidthwhenopened == controlBar_classicVerifyVisibility,
      set(controlBar_classicbackgroundwidthwhenopened, 0);


    );

	
	
  </action>

	<events name="controlBar_classicStartTourEvents" onTourStart="controlBar_classicCallOnStartTour();" keep="true" />

	<action name="controlBar_classicCallOnStartTour">
		
		set(layer[controlBar_classicmenu_controlbar_bg_img].width, get(controlBar_classicbutton_pos));
		set(layer[controlBar_classicmenu_controlbar_bg].width, get(controlBar_classicbutton_pos));
		controlBar_classicshowMenuControls();
	</action>



  <style name="controlBar_classic_btn_style"
         keep="true"
         alpha="0.8"
         edge="right" align="right"
         width="36" height="36"
         zorder="7"
         onover="controlBar_classicctrlbaronoveraction();"
         onout="controlBar_classicctrlbaronoutaction();"
         onhover="showTooltip('plugin', controlBar_classicmenuTooltipStyle, bottom);"
         />
  <action name="controlBar_classicctrlbaronoveraction">
    tween(alpha,1,0.1,easeoutquad);
    tween(y,-2,0.1,easeoutquad);
  </action>  
  <action name="controlBar_classicctrlbaronoutaction">
    tween(alpha,0.8);
    tween(y,0,0.1,easeoutquad);
    hideTooltip();
  </action>

  <layer name="controlBar_classicmenu_controlbar_bg_img"
         keep="true"
         align="bottom"
         x="0" y="10"
         url="%FIRSTXML%/graphics/classiccontrolbar/footer.png"
         zorder="5"
         width="40"
         height="40"
         scale9grid="10|10|80|80"
         visible="false"
         />
  <layer name="controlBar_classicmenu_controlbar_bg"
         keep="true"
         align="bottom"
         x="0" y="10"
         type="container"
         zorder="6"
         width="40"
         height="40"
         visible="false"
         alpha="1.0"
         >


    <layer name="controlBar_classicbtn_gyroscope_off"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_gyroscope.png"
            style="controlBar_classic_btn_style"
            onclick="disableGyroscope();
"
            devices="html5"
            tooltip="controlBar_classicgyroOffTip"
            visible="false"
            />
    <layer name="controlBar_classicbtn_gyroscope_on"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_gyroscope.png"
            style="controlBar_classic_btn_style"
            onclick="enableGyroscope();
"
            devices="html5"
            tooltip="controlBar_classicgyroOnTip"
            visible="false"
            />
    <layer name="controlBar_classicbtn_gyroscope_not"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_gyroscope_off.png"
            style="controlBar_classic_btn_style"
            enabled="true"
            capture="false"
            devices="html5"
            tooltip="controlBar_classicgyroNotTip"
            visible="false"
            />


    <layer name="controlBar_classicbtn_ctrlmode_move_to"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_to.png"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classicctrlmodeMoveTip"
            onclick="setControlModeMoveTo();
"
            visible="false"
            devices="desktop"
            />
    <layer name="controlBar_classicbtn_ctrlmode_drag_to"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_drag_to.png"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classicctrlmodeDragTip"
            onclick="setControlModeDragTo();
"
            visible="false"
            devices="desktop"
            />

    <layer name="controlBar_classicbtn_in"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_zoom_in.png"
            ondown="viewControlZoomIn(false);"
            onup="viewControlZoomStop();
"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classiczoomInTip"
            devices="desktop"
            visible="false"
            />
    <layer name="controlBar_classicbtn_out"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_zoom_out.png"
            ondown="viewControlZoomOut(false);
"
            onup="viewControlZoomStop();
"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classiczoomOutTip"
            devices="desktop"
            visible="false"
            />

    <layer name="controlBar_classicbtn_left"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_left.png"
            ondown="viewControlMoveLeft(false);
"
            onup="viewControlMoveHoriStop();
"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classicmoveLeftTip"
            devices="desktop"
            visible="false"
            />
    <layer name="controlBar_classicbtn_right"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_right.png"
            ondown="viewControlMoveRight(false);
"
            onup="viewControlMoveHoriStop();
"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classicmoveRightTip"
            devices="desktop"
            visible="false"
            />

    <layer name="controlBar_classicbtn_up"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_up.png"
            ondown="viewControlMoveUp(false);
"
            onup="viewControlMoveVertStop();
"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classicmoveUpTip"
            devices="desktop"
            visible="false"
            />
    <layer name="controlBar_classicbtn_down"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_move_down.png"
            ondown="viewControlMoveDown(false);
"
            onup="viewControlMoveVertStop();
"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classicmoveDownTip"
            devices="desktop"
            visible="false"
            />


    <layer name="controlBar_classicbtn_sound_on"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_start_sound.png"
            onclick="playTourSounds();
"
            style="controlBar_classic_btn_style"
            visible="false"
            tooltip="controlBar_classicsoundsOnTip"
            />
    <layer name="controlBar_classicbtn_sound_off"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_stop_sound.png"
            onclick="stopTourSounds();
"
            style="controlBar_classic_btn_style"
            visible="false"
            tooltip="controlBar_classicsoundsOffTip"
            />


    <layer name="controlBar_classicbtn_prev_pano"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_previous_scene.png"
            onclick="loadPreviousScene();
"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classicprevSceneTip"
            visible="false"
            />
    <layer name="controlBar_classicbtn_next_pano"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_next_scene.png"
            onclick="loadNextScene();
"
            style="controlBar_classic_btn_style"
            tooltip="controlBar_classicnextSceneTip"
            visible="false"
            />


    <layer name="controlBar_classicbtn_share"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_share.png"
            onclick="shareTour();
"
            style="controlBar_classic_btn_style"
            visible="false"
            tooltip="controlBar_classicshareTip"
            />


    <layer name="controlBar_classicbtn_openfs"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_enter_fs.png"
            onclick="enterFullscreen();
"
            style="controlBar_classic_btn_style"
            devices="fullscreensupport"
            visible="false"
            tooltip="controlBar_classicopenFsTip"
            />
    <layer name="controlBar_classicbtn_closefs"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_close_fs.png"
            onclick="exitFullscreen();
"
            style="controlBar_classic_btn_style"
            visible="false"
            devices="fullscreensupport"
            tooltip="controlBar_classiccloseFsTip"
            />

    <layer name="controlBar_classicbtn_autorotate_on"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_start_autorotation.png"
            onclick="resumeautorotation();
"
            style="controlBar_classic_btn_style"
            visible="false"
            tooltip="controlBar_classicautorotateOnTip"
            />
    <layer name="controlBar_classicbtn_autorotate_off"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_stop_autorotation.png"
            onclick="pauseautorotation();
"
            style="controlBar_classic_btn_style"
            visible="false"
            tooltip="controlBar_classicautorotateOffTip"
            />


    <layer name="controlBar_classicbtn_enter_vr"
           url="%FIRSTXML%/graphics/classiccontrolbar/btn_vr_mode.png"
           onclick="if(scene[get(xml.scene)].full360 AND disableCurrentSceneVrConservation !== true,
    js(accessWebVr(get(xml.scene),get(videoscenestarttime)));
,
    js(accessWebVr(null));
);"
           style="controlBar_classic_btn_style"
           visible="false"
           devices="html5"
           tooltip="controlBar_classicenterVRTip"
           />
    <layer name="controlBar_classicbtn_enter_vr_not"
           url="%FIRSTXML%/graphics/classiccontrolbar/btn_vr_mode_off.png"
           style="controlBar_classic_btn_style"
           enabled="true"
           capture="false"
           visible="false"
           devices="html5"
           tooltip="controlBar_classicenterVRNotTip"
           />

    <layer name="controlBar_classicbtn_display_help"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_help.png"
            onclick="controlBar_classicdisplayHelp();"
            style="controlBar_classic_btn_style"
            devices="desktop"
            visible="false"
            tooltip="controlBar_classicdisplayHelpTip"
            />
    <layer name="controlBar_classicbtn_close_help"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_help.png"
            onclick="controlBar_classiccloseHelp();"
            style="controlBar_classic_btn_style"
            visible="false"
            devices="desktop"
            tooltip="controlBar_classichideHelpTip"
            />



    <layer name="controlBar_classicbtn_hidecontrols"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_hide_controls.png"
            style="controlBar_classic_btn_style"
            onclick="controlBar_classichideMenuControls();hideTourControls();
"
            visible="false"
            tooltip="controlBar_classichideControlsTip"
            />
    <layer name="controlBar_classicbtn_showcontrols"
            url="%FIRSTXML%/graphics/classiccontrolbar/btn_show_controls.png"
            style="controlBar_classic_btn_style"
            onclick="controlBar_classicshowMenuControls();showTourControls();
"
            tooltip="controlBar_classicdisplayControlsTip"
            visible="false"
            />
  </layer>


<events name="controlBar_classicvravailableevent"
		onvravailable="controlBar_classicupdateVrButtonsAvailability();"
		onvrunavailable="controlBar_classicupdateVrButtonsAvailability();"
		keep="true" devices="html5" />
	<krpano controlBar_classicmenuvravailable="false" />
	<action name="controlBar_classicupdateVrButtonsAvailability">
		if (tour_vrdevices,
			set(controlBar_classicmenuvravailable, true);
		,
			set(controlBar_classicmenuvravailable, false);
		);
		controlBar_classicupdateVrButtons();
	</action>
	<action name="controlBar_classicHideVrButtons">
		set(layer[controlBar_classicbtn_enter_vr].visible, false);
		if('%1' == 'true' AND plugin[ptpvrmode],
			set(layer[controlBar_classicbtn_enter_vr_not].visible, true);
		,
			set(layer[controlBar_classicbtn_enter_vr_not].visible, false);
		);
	</action>
	<action name="controlBar_classicShowVrButtons">
		if (controlBar_classicmenuvravailable,
			set(layer[controlBar_classicbtn_enter_vr].visible, true);
			set(layer[controlBar_classicbtn_enter_vr_not].visible, false);
		,
			controlBar_classicHideVrButtons(true);
		);
	</action>
	<action name="controlBar_classicupdateVrButtons">
	if (tour_vrdevices,
		if (controlBar_classicIsOpened,
			controlBar_classicShowVrButtons();
		,
			controlBar_classicHideVrButtons();
		);
	,
		if (controlBar_classicIsOpened,
			controlBar_classicHideVrButtons(true);
		,
			controlBar_classicHideVrButtons();
		);
	);
	</action>

	<events name="controlBar_classicgyroscopeavailableevent"
		ongyroscopeavailable="controlBar_classicupdateGyroscopeButtonsAvailability();"
		ongyroscopeunavailable="controlBar_classicupdateGyroscopeButtonsAvailability();"
		ongyroscopeon="controlBar_classicenableGyroscopeButtons(true);"
		ongyroscopeoff="controlBar_classicenableGyroscopeButtons(false);"
		keep="true" devices="html5" />
	<krpano controlBar_classicmenugyroscopeavailable="false" controlBar_classicmenugyroscopeenabled="false" />
	<action name="controlBar_classicupdateGyroscopeButtonsAvailability">
		if (tour_gyroscopedevices,
			set(controlBar_classicmenugyroscopeavailable, true);
			controlBar_classicupdateGyroscopeButtons();
		,
			set(controlBar_classicmenugyroscopeavailable, false);
			controlBar_classicupdateGyroscopeButtons();
		);
	</action>
	<action name="controlBar_classicenableGyroscopeButtons">
		if (tour_gyroscopedevices,
			set(controlBar_classicmenugyroscopeenabled, %1);
			controlBar_classicupdateGyroscopeButtons();
		);
	</action>
	<action name="controlBar_classicHideGyroscopeButtons">
		set(layer[controlBar_classicbtn_gyroscope_off].visible, false);
		set(layer[controlBar_classicbtn_gyroscope_on].visible, false);
		if('%1' == 'true' AND plugin[gyroscope],
			set(layer[controlBar_classicbtn_gyroscope_not].visible, true);
		,
			set(layer[controlBar_classicbtn_gyroscope_not].visible, false);
		);
	</action>
	<action name="controlBar_classicShowGyroscopeButtons">
		if (controlBar_classicmenugyroscopeavailable,
			if (controlBar_classicmenugyroscopeenabled,
				set(layer[controlBar_classicbtn_gyroscope_off].visible, true);
				set(layer[controlBar_classicbtn_gyroscope_on].visible, false);
			,
				set(layer[controlBar_classicbtn_gyroscope_off].visible, false);
				set(layer[controlBar_classicbtn_gyroscope_on].visible, true);
			);
			set(layer[controlBar_classicbtn_gyroscope_not].visible, false);
		,
			controlBar_classicHideGyroscopeButtons(true);
		);
	</action>
	<action name="controlBar_classicupdateGyroscopeButtons">
	if (tour_gyroscopedevices,
		if (controlBar_classicIsOpened,
			controlBar_classicShowGyroscopeButtons();
		,
			controlBar_classicHideGyroscopeButtons();
		);
	,
		if (controlBar_classicIsOpened,
			controlBar_classicHideGyroscopeButtons(true);
		,
			controlBar_classicHideGyroscopeButtons();
		);
	);
	</action>


	<events name="controlBar_classiccontrolmodechangedevent" 
		oncontrolmodechanged="controlBar_classicupdateControlModeButtons();" 
		keep="true" />
	<action name="controlBar_classicHideControlModeButtons">
		set(layer[controlBar_classicbtn_ctrlmode_move_to].visible, false);
		set(layer[controlBar_classicbtn_ctrlmode_drag_to].visible, false);
	</action>
	<action name="controlBar_classicShowControlModeButtons">
		if (tour_controlmodemousetype == "moveto",
			set(layer[controlBar_classicbtn_ctrlmode_drag_to].visible, true);
			set(layer[controlBar_classicbtn_ctrlmode_move_to].visible, false);
		,
			set(layer[controlBar_classicbtn_ctrlmode_move_to].visible, true);
			set(layer[controlBar_classicbtn_ctrlmode_drag_to].visible, false);
		);
	</action>
	<action name="controlBar_classicupdateControlModeButtons">
	if (device.desktop,
		if (controlBar_classicIsOpened,
			controlBar_classicShowControlModeButtons();
		,
			controlBar_classicHideControlModeButtons();
		);
	,
		controlBar_classicHideControlModeButtons();
	);
	</action>


  <action name="controlBar_classichideMenuControls">
    set(controlBar_classicIsOpened, false);
    set(layer[controlBar_classicbtn_hidecontrols].visible, false);
    set(layer[controlBar_classicbtn_showcontrols].visible, true);
    controlBar_classicupdateFullscreenButtons();

    set(layer[controlBar_classicbtn_share].visible, false);
    controlBar_classicupdateSoundButtons();
    controlBar_classicupdateVrButtons();

    if (scene.count GT 1,
    set(layer[controlBar_classicbtn_prev_pano].visible, false);
    set(layer[controlBar_classicbtn_next_pano].visible, false);
    );
    controlBar_classicupdateAutorotationButtons();


    set(layer[controlBar_classicbtn_up].visible  , false);
    set(layer[controlBar_classicbtn_down].visible, false);
    set(layer[controlBar_classicbtn_right].visible, false);
    set(layer[controlBar_classicbtn_left].visible , false);
    set(layer[controlBar_classicbtn_in].visible , false);
    set(layer[controlBar_classicbtn_out].visible, false);


    controlBar_classicupdateControlModeButtons();

    controlBar_classicupdateGyroscopeButtons();

    controlBar_classicupdateHelpButtons();


    if(controlBar_classicbackgroundwidthwhenclosed == 0,
      set(layer[controlBar_classicmenu_controlbar_bg_img].visible, false);
      set(layer[controlBar_classicmenu_controlbar_bg].visible, false);
    ,
      set(layer[controlBar_classicmenu_controlbar_bg_img].visible, true);
      set(layer[controlBar_classicmenu_controlbar_bg].visible, true);
    );
    tween(layer[controlBar_classicmenu_controlbar_bg_img].width,get(controlBar_classicbackgroundwidthwhenclosed),0.5,easeOutQuad);
    tween(layer[controlBar_classicmenu_controlbar_bg].width,get(controlBar_classicbackgroundwidthwhenclosed),0.5,easeOutQuad);
    tween(layer[controlBar_classicmenu_controlbar_bg_img].alpha,1.0,0.5,easeOutQuad);
  </action>
  <action name="controlBar_classicshowMenuControls">
    set(controlBar_classicIsOpened, true);
    set(layer[controlBar_classicbtn_hidecontrols].visible, true);
    set(layer[controlBar_classicbtn_showcontrols].visible, false);
    if(controlBar_classicbackgroundwidthwhenopened == 0,
      set(layer[controlBar_classicmenu_controlbar_bg_img].visible, false);
      set(layer[controlBar_classicmenu_controlbar_bg].visible, false);
    ,
      set(layer[controlBar_classicmenu_controlbar_bg_img].visible, true);
      set(layer[controlBar_classicmenu_controlbar_bg].visible, true);
    );
    tween(layer[controlBar_classicmenu_controlbar_bg_img].alpha,1.0,0.5,easeOutQuad);
    controlBar_classicshowMenuButtons();


      tween(layer[controlBar_classicmenu_controlbar_bg_img].width, get(controlBar_classicbackgroundwidthwhenopened),0.5,easeOutQuad);
      tween(layer[controlBar_classicmenu_controlbar_bg].width, get(controlBar_classicbackgroundwidthwhenopened),0.5,easeOutQuad);


  </action>
  <action name="controlBar_classicshowMenuButtons">
    if (device.desktop,
    set(layer[controlBar_classicbtn_up].visible  , true);
    set(layer[controlBar_classicbtn_down].visible, true);
    );
    if (device.desktop,
    set(layer[controlBar_classicbtn_right].visible, true);
    set(layer[controlBar_classicbtn_left].visible , true);
    );
    if (device.desktop,
    set(layer[controlBar_classicbtn_in].visible , true);
    set(layer[controlBar_classicbtn_out].visible, true);
    );


    controlBar_classicupdateControlModeButtons();

    controlBar_classicupdateGyroscopeButtons();

    controlBar_classicupdateHelpButtons();


    controlBar_classicupdateFullscreenButtons();

    set(layer[controlBar_classicbtn_share].visible, true);
    controlBar_classicupdateSoundButtons();
    controlBar_classicupdateVrButtons();

    if (scene.count GT 1,
      set(layer[controlBar_classicbtn_prev_pano].visible, true);
      set(layer[controlBar_classicbtn_next_pano].visible, true);
    );
    controlBar_classicupdateAutorotationButtons();


  </action>

  <layer name="controlBar_classichelpScreen" align="center" keep="true" onclick="controlBar_classiccloseHelp();" url="%FIRSTXML%/graphics/classiccontrolbar/help_screen_bg.png" visible="false" zorder="97" height="10%" width="prop" />

  <layer name="controlBar_classichelpScreenFg" align="center" keep="true" onclick="controlBar_classiccloseHelp();" displayed="false" 
         url="%FIRSTXML%/graphics/classiccontrolbar/help_screen_fg.png" 
         alpha="0.8" 
         height="50%" 
         width="prop" 
         zorder="98"
         visible="false" />
  <action name="controlBar_classicdisplayHelp">
    set(layer[controlBar_classichelpScreenFg].displayed,true);
    set(layer[controlBar_classichelpScreen].visible,true);
    tween(layer[controlBar_classichelpScreen].height, 50%, 1, easeOutQuad,
      set(layer[controlBar_classichelpScreenFg].visible,true);
    );
    controlBar_classicupdateHelpButtons();
  </action>
  <action name="controlBar_classiccloseHelp">
    set(layer[controlBar_classichelpScreenFg].displayed,false);
    set(layer[controlBar_classichelpScreenFg].visible,false);
    tween(layer[controlBar_classichelpScreen].height, 10%, 1, easeOutQuad,
      set(layer[controlBar_classichelpScreen].visible,false);
    );
    controlBar_classicupdateHelpButtons();
  </action>
	<action name="controlBar_classicHideHelpButtons">
		set(layer[controlBar_classicbtn_display_help].visible, false);
		set(layer[controlBar_classicbtn_close_help].visible, false);
	</action>
	<action name="controlBar_classicShowHelpButtons">
		if (layer[controlBar_classichelpScreenFg].displayed,
			set(layer[controlBar_classicbtn_close_help].visible, true);
			set(layer[controlBar_classicbtn_display_help].visible, false);
		,
			set(layer[controlBar_classicbtn_display_help].visible, true);
			set(layer[controlBar_classicbtn_close_help].visible, false);
		);
	</action>
	<action name="controlBar_classicupdateHelpButtons">
	if (device.desktop,
		if (controlBar_classicIsOpened,
			controlBar_classicShowHelpButtons();
		,
			controlBar_classicHideHelpButtons();
		);
	,
		controlBar_classicHideHelpButtons();
	);
	</action>



	<events name="controlBar_classicmenufullscreenchangeevent"
		onenterfullscreen="controlBar_classicupdateFullscreenButtons();"
		onexitfullscreen="controlBar_classicupdateFullscreenButtons();"
		keep="true"/>
	<action name="controlBar_classicHideFullscreenButtons">
		set(layer[controlBar_classicbtn_openfs].visible , false);
		set(layer[controlBar_classicbtn_closefs].visible, false);
	</action>
	<action name="controlBar_classicShowFullscreenButtons">
		if (device.fullscreensupport,
			if(tour_fullscreen,
				set(layer[controlBar_classicbtn_openfs].visible , false);
				set(layer[controlBar_classicbtn_closefs].visible, true);
			,
				set(layer[controlBar_classicbtn_openfs].visible ,true);
				set(layer[controlBar_classicbtn_closefs].visible,false);
			);
		,
			controlBar_classicHideFullscreenButtons();
		);
	</action>
	<action name="controlBar_classicupdateFullscreenButtons">
		if (controlBar_classicIsOpened,
			controlBar_classicShowFullscreenButtons();
		,
			controlBar_classicHideFullscreenButtons();
		);
	</action>

	<events name="controlBar_classicAutorotationEvents"
		onstartautorotation="controlBar_classicupdateAutorotationButtons();"
		onresumeautorotation="controlBar_classicupdateAutorotationButtons();"
		onstopautorotation="controlBar_classicupdateAutorotationButtons();"
		onpauseautorotation="controlBar_classicupdateAutorotationButtons();"
		keep="true"/>
	<action name="controlBar_classicHideAutorotationButtons">
		set(layer[controlBar_classicbtn_autorotate_off].visible, false);
		set(layer[controlBar_classicbtn_autorotate_on].visible , false);
	</action>
	<action name="controlBar_classicShowAutorotationButtons">
		if(autorotate.enabled == false,
			set(layer[controlBar_classicbtn_autorotate_off].visible, false);
			set(layer[controlBar_classicbtn_autorotate_on].visible , true);
		,
			set(layer[controlBar_classicbtn_autorotate_off].visible, true);
			set(layer[controlBar_classicbtn_autorotate_on].visible , false);
		);
	</action>
	<action name="controlBar_classicupdateAutorotationButtons">
		if (controlBar_classicIsOpened,
			controlBar_classicShowAutorotationButtons();
		,
			controlBar_classicHideAutorotationButtons();
		);
	</action>


	<events name="controlBar_classicplaystopsoundsevent" 
		playtoursoundsevent="controlBar_classicupdateSoundButtons();" 
		stoptoursoundsevent="controlBar_classicupdateSoundButtons();" 
		keep="true" />
	<action name="controlBar_classicHideSoundButtons">
		set(layer[controlBar_classicbtn_sound_off].visible, false);
		set(layer[controlBar_classicbtn_sound_on].visible , false);
	</action>
	<action name="controlBar_classicShowSoundButtons">
		if (tour_soundson == false,
			set(layer[controlBar_classicbtn_sound_off].visible, false);
			set(layer[controlBar_classicbtn_sound_on].visible , true);
		,
			set(layer[controlBar_classicbtn_sound_off].visible, true);
			set(layer[controlBar_classicbtn_sound_on].visible , false);
		);
	</action>
	<action name="controlBar_classicupdateSoundButtons">
		if (controlBar_classicIsOpened,
			controlBar_classicShowSoundButtons();
		,
			controlBar_classicHideSoundButtons();
		);
	</action>



<layer name="controlBar_classicmenuTooltipStyle"
	keep="true"
	enabled="false"
	capture="false"
	type="text"
	align="center"
	bg="false"
	bgborder="0"
	txtshadow="1.0 1.0 4.0 0x000000 1"
	css="color:#e6e6e6;font-family:Helvetica;font-weight:bold;font-size:14px;text-align:left;"
	interactivecontent="false"
	zorder="0"
	visible="false"
	html=""
	padding="2"
	xoffset="0"
	yoffset="0"
	edge="bottom"
	/>



<!-- ********** -->
<!-- Select a Trail Map -->
<!-- id : floorPlan -->
<!-- ********** -->

	<ptplugin name="floorPlan" engine="KolorFloorPlan">
		<settings>
			<option name="background_color" value="000000" type="string" />
			<option name="background_lighter_color" value="000000" type="string" />
			<option name="background_darker_color" value="000000" type="string" />
			<option name="background_alpha" value="0.59999999999999998" type="float" />
			<option name="text_color" value="ffffff" type="string" />

			<option name="resize" value="true" type="bool" />
			<option name="fp_selector" value="multiple" type="string" />
			<option name="fp_selector_label" value="floorPlanmenu_label" type="string" />
			<option name="display_title" value="false" type="bool" />
			<option name="title_font" value="Verdana" type="string" />
			<option name="title_size" value="16" type="int" />
			<option name="title_weight" value="normal" type="string" />
			<option name="title_decoration" value="normal" type="string" />
			<option name="title_color" value="ffffff" type="string" />
			<option name="display_orientation" value="true" type="bool" />
			<option name="display_radar" value="true" type="bool" />
			<option name="radar_radius" value="50" type="int" />
			<option name="radar_line_width" value="1" type="int" />
			<option name="radar_line_color" value="2a2a2a" type="string" />
			<option name="radar_line_alpha" value="1" type="float" />
			<option name="radar_fill_color" value="67823a" type="string" />
			<option name="radar_fill_alpha" value="1" type="float" />
			<option name="selected_effect" value="pulsate" type="string" />
			<option name="close_on_click" value="false" type="bool" />
			<option name="position" value="center" type="string" />
			<option name="zorder" value="8" type="int" />
			<option name="use_i18n" value="true" type="bool" />
		</settings>
		
		<floorplanItems selectedItem="fpitemmain" selectedSpot="" selectedSpotScene="" selectedSpotHeading="" selectedSpotFov="">
				
				<floorplanItem 
					name="fpitemmain" 
					width="3240" 
					height="2521" 
					groupName="" 
					url="floorplan/ridges-trail-map-final-cropped.png" 
					title="project_floor_title"
					heading="0">
							<spot name="spotmap5451" posX="0.0316026993" posY="0.918841004" heading="-105.40000000000001" desc="spotmap5451_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano197" jsClick="spotmap5451ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5452" posX="0.0514541008" posY="0.89942503" heading="46.60000000000008" desc="spotmap5452_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano416" jsClick="spotmap5452ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5453" posX="0.0906039998" posY="0.803161025" heading="118.60000000000019" desc="spotmap5453_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano199" jsClick="spotmap5453ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5454" posX="0.109619997" posY="0.747125983" heading="159.59999999999971" desc="spotmap5454_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano201" jsClick="spotmap5454ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5455" posX="0.0993228033" posY="0.718841016" heading="0" desc="spotmap5455_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano205" jsClick="spotmap5455ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5456" posX="0.181208" posY="0.658046007" heading="-161.39999999999969" desc="spotmap5456_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano207" jsClick="spotmap5456ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5457" posX="0.232506007" posY="0.611594021" heading="-151.40000000000001" desc="spotmap5457_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano209" jsClick="spotmap5457ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5458" posX="0.275168002" posY="0.583333015" heading="-113.39999999999991" desc="spotmap5458_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano213" jsClick="spotmap5458ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5460" posX="0.294182986" posY="0.642241001" heading="-6.399999999999693" desc="spotmap5460_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano217" jsClick="spotmap5460ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5461" posX="0.349887013" posY="0.74782598" heading="149.39999999999961" desc="spotmap5461_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano219" jsClick="spotmap5461ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5462" posX="0.385309011" posY="0.402318001" heading="0" desc="spotmap5462_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano420" jsClick="spotmap5462ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5463" posX="0.429123998" posY="0.463575989" heading="-72.99999999999973" desc="spotmap5463_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano211" jsClick="spotmap5463ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5835" posX="0.138702005" posY="0.709770024" heading="-156.5999999999994" desc="spotmap5835_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano203" jsClick="spotmap5835ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5836" posX="0.728093028" posY="0.0496689007" heading="126.60000000000009" desc="spotmap5836_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano418" jsClick="spotmap5836ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
							<spot name="spotmap5459" posX="0.216703996" posY="0.402898997" heading="-26.00000000000006" desc="spotmap5459_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano215" jsClick="spotmap5459ActionSpotFloorPlan">
								<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
							</spot>
				</floorplanItem>
			
			
							<floorplanItem 
								name="fpitempanogroup59" 
								width="1918" 
								height="2236" 
								groupName="panogroup59" 
								url="floorplan/logan_creek_panogroup59.png" 
								title="panogroup59_floor_title"
								heading="0">
										<spot name="spotmap6359" posX="0.213953003" posY="0.703186989" heading="86.400000000001057" desc="spotmap6359_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano44" jsClick="spotmap6359ActionSpotFloorPlan">
											<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
										</spot>
										<spot name="spotmap6360" posX="0.27906999" posY="0.834661007" heading="-40.19999999999996" desc="spotmap6360_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano42" jsClick="spotmap6360ActionSpotFloorPlan">
											<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
										</spot>
										<spot name="spotmap6361" posX="0.425581008" posY="0.930279016" heading="-1.2000000000002731" desc="spotmap6361_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano40" jsClick="spotmap6361ActionSpotFloorPlan">
											<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
										</spot>
										<spot name="spotmap6362" posX="0.506977022" posY="0.575697005" heading="-104.5999999999997" desc="spotmap6362_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano422" jsClick="spotmap6362ActionSpotFloorPlan">
											<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
										</spot>
										<spot name="spotmap6363" posX="0.683721006" posY="0.490040004" heading="-95.200000000000742" desc="spotmap6363_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano36" jsClick="spotmap6363ActionSpotFloorPlan">
											<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
										</spot>
										<spot name="spotmap6364" posX="0.527907014" posY="0.328684986" heading="0" desc="spotmap6364_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano38" jsClick="spotmap6364ActionSpotFloorPlan">
											<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
										</spot>
										<spot name="spotmap6365" posX="0.211628005" posY="0.440239012" heading="-1.400000000000148" desc="spotmap6365_tooltip" descType="tooltip" groupName="" isScene="true" planar="false" scene="pano34" jsClick="spotmap6365ActionSpotFloorPlan">
											<icon url="spots/3683 - marker i-white_user_defaultmap0.png" iconWidth="30" iconHeight="30" iconAnchor="bottom" />
										</spot>
							</floorplanItem>
		</floorplanItems>
	</ptplugin>
	
	<action name="kolorFloorplanJsReady_floorPlan">
		set(ptplugin[floorPlan].jsready, true);
		
		ifnot(ptplugin[floorPlan].floorplanItems.selectedSpot == "",
			set(ptplugin[floorPlan].floorplanItems.selectedSpotFov, get(view.hfov));
			js(invokePluginFunction(floorPlan, setKolorFloorPlanSelectedSpotOptions, get(xml.scene), get(view.hlookat), get(view.hfov)));
		);
	</action>
	
	
		<!-- floorplan main spots counter : 15 -->
			<action name="spotmap5451ActionSpotFloorPlan">if(xml.scene == pano197,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano197);lookat(176.770000, -7.000000, 50.800000);

</action>
			<action name="spotmap5452ActionSpotFloorPlan">if(xml.scene == pano416,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano416);lookat(-39.997500, 1.099640, 50.802700);

</action>
			<action name="spotmap5453ActionSpotFloorPlan">if(xml.scene == pano199,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano199);lookat(-153.485000, 8.913150, 61.470000);

</action>
			<action name="spotmap5454ActionSpotFloorPlan">if(xml.scene == pano201,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano201);lookat(83.678000, -2.231400, 74.380000);

</action>
			<action name="spotmap5455ActionSpotFloorPlan">if(xml.scene == pano205,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano205);lookat(-49.370000, 0.000000, 81.820000);

</action>
			<action name="spotmap5456ActionSpotFloorPlan">if(xml.scene == pano207,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano207);lookat(99.979500, 16.194600, 41.985700);

</action>
			<action name="spotmap5457ActionSpotFloorPlan">if(xml.scene == pano209,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano209);lookat(-142.200000, 17.550000, 90.000000);

</action>
			<action name="spotmap5458ActionSpotFloorPlan">if(xml.scene == pano213,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano213);lookat(-180.000000, 0.000000, 90.000000);

</action>
			<action name="spotmap5460ActionSpotFloorPlan">if(xml.scene == pano217,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano217);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
			<action name="spotmap5461ActionSpotFloorPlan">if(xml.scene == pano219,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano219);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
			<action name="spotmap5462ActionSpotFloorPlan">if(xml.scene == pano420,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano420);lookat(-64.680000, 0.000000, 46.180000);

</action>
			<action name="spotmap5463ActionSpotFloorPlan">if(xml.scene == pano211,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano211);lookat(-112.591000, 1.955800, 55.880000);

</action>
			<action name="spotmap5835ActionSpotFloorPlan">if(xml.scene == pano203,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano203);lookat(-163.800000, 1.800000, 90.000000);

</action>
			<action name="spotmap5836ActionSpotFloorPlan">if(xml.scene == pano418,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano418);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
			<action name="spotmap5459ActionSpotFloorPlan">if(xml.scene == pano215,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano215);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
	
					<!-- floorplan panogroup59 spots counter : 7 -->
						<action name="spotmap6359ActionSpotFloorPlan">if(xml.scene == pano44,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano44);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
						<action name="spotmap6360ActionSpotFloorPlan">if(xml.scene == pano42,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano42);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
						<action name="spotmap6361ActionSpotFloorPlan">if(xml.scene == pano40,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano40);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
						<action name="spotmap6362ActionSpotFloorPlan">if(xml.scene == pano422,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano422);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
						<action name="spotmap6363ActionSpotFloorPlan">if(xml.scene == pano36,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano36);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
						<action name="spotmap6364ActionSpotFloorPlan">if(xml.scene == pano38,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano38);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
						<action name="spotmap6365ActionSpotFloorPlan">if(xml.scene == pano34,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
floorPlanActivateDefaultSpot();););
          mainloadscene(pano34);lookat(get(panoview.h), get(panoview.v), get(panoview.fov));

</action>
	
	
	<events name="floorPlanEvents" 
	onxmlcomplete="ifnot(floorPlanFloorPlanLoaded,set(tour_displayfloorplan,false););floorPlanActivateDefaultSpot();" 
	onviewchanged="floorPlanOnViewChange();" 
	onhidetourfloorplan="delayedcall(0.3,floorPlanCloseTourFloorPlan(););" 
	onshowtourfloorplan="if(tour_displayfloorplan,floorPlanOpenTourFloorPlan(););" 
	onTourStart=""
	changetourlanguage="floorPlanChangeLanguage();"
	keep="true" />
	
	<action name="floorPlanChangeLanguage">
		if(ptplugin[floorPlan].jsready,
			stopdelayedcall(delay_floorPlan);
			js(invokePluginFunction(floorPlanArea, changeLanguage, false, false));
			js(invokePluginFunction(floorPlan, changeLanguage));
		,
			delayedcall(delay_floorPlan, 0.1, floorPlanChangeLanguage(););
		);
	</action>
	
	
	<krpano floorPlanFloorPlanLoaded="false" />
	
	<action name="floorPlanHideTourFloorPlan">
		hideKolorArea_floorPlanArea(false);
	</action>
	
	<action name="floorPlanCloseTourFloorPlan">
		closeKolorArea_floorPlanArea();
	</action>
	
	<action name="floorPlanShowTourFloorPlan">
		if(ptplugin[floorPlanArea].isOpen === null,
			openKolorArea_floorPlanArea();
		,
			showKolorArea_floorPlanArea(false);
		);
	</action>
	
	<action name="floorPlanOpenTourFloorPlan">
		openKolorArea_floorPlanArea();
	</action>
	
	<action name="floorPlanOnViewChange">
		if (floorPlanFloorPlanLoaded == true,
			ifnot(ptplugin[floorPlan].floorplanItems.selectedSpot == "",
				ifnot(scene[get(xml.scene)].planar,
					js(invokePluginFunction(floorPlan, changeDirection, get(xml.scene), get(view.hlookat), get(view.hfov)));
				);
			);
		);
	</action>
	
	<action name="floorPlanActivateSpot">
		
		set(ptplugin[floorPlan].floorplanItems.selectedSpot, %1);
		set(ptplugin[floorPlan].floorplanItems.selectedItem, %2);
		
		if(%1 !== "",
			set(ptplugin[floorPlan].floorplanItems.selectedSpotScene, get(xml.scene));
			set(ptplugin[floorPlan].floorplanItems.selectedSpotHeading, get(view.hlookat));
			set(ptplugin[floorPlan].floorplanItems.selectedSpotFov, get(view.hfov));
		);
		
		
		if(ptplugin[floorPlanArea].isOpen,
			floorPlanSelectActivatedSpot(%1, %2, %3);
		);
	</action>
	
	<action name="floorPlanSelectActivatedSpot">
		js(invokePluginFunction(floorPlan, selectSpot, %1, %2, %3));

		if(%1 !== "",
			if(scene[get(xml.scene)].planar,
				js(invokePluginFunction(floorPlan, hideRadar));
			,
				js(invokePluginFunction(floorPlan, changeDirection, get(xml.scene), get(view.hlookat), get(view.hfov)));
			);
		);
	</action>
	
	<action name="floorPlanDeactivateSpot">
		set(ptplugin[floorPlan].floorplanItems.selectedSpot, "");
		
		js(invokePluginFunction(floorPlan, unselectSpot));
	</action>
	
	<action name="floorPlanActivateDefaultSpot">
		set(floorPlanFloorPlanLoaded, true);
		
		set(floorPlanSpotFound, "");
		set(floorPlanSpotScene, "");
		set(floorPlanItemFound, "");
		set(floorPlanItemSearch, true);
		set(floorPlanSpotSearch, true);
		set(floorPlanSpotSearchActivated, true);
		set(floorPlanSpotSearchContinue, true);
		
		
		for(set(defaultfloorplaniteminc,0), defaultfloorplaniteminc LT ptplugin[floorPlan].floorplanItems.floorplanItem.count , inc(defaultfloorplaniteminc),
                        if(floorPlanSpotSearchActivated == true,
				
				if(ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].groupName == scene[get(xml.scene)].group,
					set(floorPlanItemFound, get(ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].name));
					set(ptplugin[floorPlan].floorplanItems.selectedItem, get(ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].name));
					set(floorPlanItemSearch, false);
					set(floorPlanSpotSearch, true);
				,
					set(floorPlanSpotSearch, false);
					
					if(floorPlanItemFound == "",
						set(floorPlanItemFound, get(ptplugin[floorPlan].floorplanItems.floorplanItem[fpitemmain].name));
						set(ptplugin[floorPlan].floorplanItems.selectedItem, get(ptplugin[floorPlan].floorplanItems.floorplanItem[fpitemmain].name));
					);
				);
			);
			if(floorPlanSpotSearch == true,
                                for(set(defaultspotinc,0), defaultspotinc LT ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].spot.count , inc(defaultspotinc),
                                        if(ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].spot[get(defaultspotinc)].isScene == true,
					
						if(floorPlanSpotSearchContinue == true,
							if(ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].spot[get(defaultspotinc)].scene == xml.scene,
								set(floorPlanSpotFound, get(ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].spot[get(defaultspotinc)].name));
								set(floorPlanSpotScene, get(ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].spot[get(defaultspotinc)].scene));
								set(ptplugin[floorPlan].floorplanItems.selectedItem, get(ptplugin[floorPlan].floorplanItems.floorplanItem[get(defaultfloorplaniteminc)].name));
								if(floorPlanItemSearch == false,
									set(floorPlanSpotSearchContinue, false);
									set(floorPlanSpotSearchActivated, false);
									set(floorPlanSpotSearch, false);
								);
							);
						);
					);
					
				);
			);
		);
		
		if(floorPlanSpotFound == "",
			
			
			floorPlanDeactivateSpot();
			
			
			set(ptplugin[floorPlan].floorplanItems.selectedItem, get(floorPlanItemFound));
			
			
			ifnot(ptplugin[floorPlan].floorplanItems.selectedItem == "",
				floorPlanActivateSpot("", get(ptplugin[floorPlan].floorplanItems.selectedItem), "");
			);
		,
			
			floorPlanActivateSpot(get(floorPlanSpotFound), get(ptplugin[floorPlan].floorplanItems.selectedItem), get(floorPlanSpotScene));
		);
	</action>
	
	<action name="floorPlanChangeTitle">
		js(invokePluginFunction(floorPlan, changeTitle, %1));
	</action>
	
	<ptplugin name="floorPlanArea" engine="kolorArea">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="16" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="floorPlandisplay_close_text" type="string" />

		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="padding" value="15" type="int" />
		<option name="topleft_radius" value="15" type="int" />
		<option name="topright_radius" value="15" type="int" />
		<option name="bottomleft_radius" value="15" type="int" />
		<option name="bottomright_radius" value="15" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="area_width" value="40" type="int" />
		<option name="area_height" value="70" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="close_on_click" value="false" type="bool" />
		<option name="refresh_content" value="false" type="bool" />
		<option name="open_callback" value="addKolorFloorPlan('floorPlan', 'floorPlanArea_floorplanDIV');" type="string" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_floorPlanArea')" type="string" />
		<option name="zorder" value="8" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
	</ptplugin>
	
	<action name="kolorAreaJsReady_floorPlanArea">
		set(ptplugin[floorPlanArea].jsready, true);

	</action>
	
	<action name="openKolorArea_floorPlanArea">
		ifnot(ptplugin[floorPlanArea].isOpen,
			if(ptplugin[floorPlanArea].doNotDeleteMe,
				set(ptplugin[floorPlanArea].currentCall, false);
				set(ptplugin[floorPlanArea].doNotDeleteMe, false);
			set(ptplugin[floorPlanArea].isOpen, true);
			pauseautorotation(forceplugin);

			js(showKolorArea(floorPlanArea, &lt;div id="floorPlanArea_floorplanDIV"&gt;&lt;/div&gt;));
			
			if(ptplugin[floorPlan].floorplanItems.selectedSpot != "",
				floorPlanSelectActivatedSpot(get(ptplugin[floorPlan].floorplanItems.selectedSpot), get(ptplugin[floorPlan].floorplanItems.selectedItem), get(ptplugin[floorPlan].floorplanItems.selectedSpotScene));
			);
			,
				set(ptplugin[floorPlanArea].currentCall, true);
				set(ptplugin[floorPlanArea].doNotDeleteMe, true);
				events.dispatch(onremovedisplayedobject);
				delayedcall(0.3,openKolorArea_floorPlanArea(););
			);
		);
	</action>
	
	<action name="closeKolorArea_floorPlanArea">
		if(ptplugin[floorPlanArea].isOpen,
			if(ptplugin[floorPlanArea].doNotDeleteMe,
				set(ptplugin[floorPlanArea].doNotDeleteMe, false);
			,
			js(invokePluginFunction(floorPlanArea, closeKolorArea));
			);
		);
	</action>
	
	<action name="toggleKolorArea_floorPlanArea">
		if(ptplugin[floorPlanArea].isOpen,
			closeKolorArea_floorPlanArea();
		,
			openKolorArea_floorPlanArea();
		);
	</action>
	
	<action name="closeKolorAreaCallback_floorPlanArea">
		set(ptplugin[floorPlanArea].doNotDeleteMe, false);
		if(ptplugin[floorPlanArea].isOpen,resumeautorotation(forceplugin);

			
		);
		set(ptplugin[floorPlanArea].isOpen, false);hideFloorplan();

	</action>
	
	<action name="changeTitleKolorArea_floorPlanArea">
		js(invokePluginFunction(floorPlanArea, changeTitle, %1));
	</action>
	
	<action name="showKolorArea_floorPlanArea">
		if(ptplugin[floorPlanArea].doNotDeleteMe,
			set(ptplugin[floorPlanArea].currentCall, false);
			set(ptplugin[floorPlanArea].doNotDeleteMe, false);
		set(ptplugin[floorPlanArea].isOpen, true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(floorPlanArea, showKolorArea, %1));
		,
			set(ptplugin[floorPlanArea].currentCall, true);
			set(ptplugin[floorPlanArea].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,showKolorArea_floorPlanArea(););
		);
	</action>
		
	<action name="hideKolorArea_floorPlanArea">
		if(ptplugin[floorPlanArea].doNotDeleteMe,
			set(ptplugin[floorPlanArea].doNotDeleteMe, false);
		,
		resumeautorotation(forceplugin);

		
		set(ptplugin[floorPlanArea].isOpen, false);
		js(invokePluginFunction(floorPlanArea, hideKolorArea, %1));
		);
	</action>
	
	<events name="kolorAreaEvents_floorPlanArea" 
		keep="true"
		hidetourcontrols="if(ptplugin[floorPlanArea].isOpen,set(restore_floorPlanArea, true);hideKolorArea_floorPlanArea(false);,set(restore_floorPlanArea, false););"
		showtourcontrols="if(tour_displayfloorplan,if(restore_floorPlanArea,showKolorArea_floorPlanArea(false);););"
		onremovepano="if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
);"
		onremovedisplayedobject="ifnot(ptplugin[floorPlanArea].currentCall,if(ptplugin[floorPlanArea].isOpen,hideFloorplan();
););"
	/>
	

<!-- ********** -->
<!-- Trail Map Button -->
<!-- id : button1 -->
<!-- ********** -->

  <layer name="button1"
         keep="true"
         url="%FIRSTXML%/graphics/button1/_3689_-_explore-white.png"
         align="right"
         x="10"
         y="10"
         zorder="9"
         visible="false"
         onclick="button1OnClick"
         alpha="0.7"
         tooltip="button1tooltip"
         onhover="showTooltip('plugin',button1TooltipStyle);"
         onout="hideTooltip();tween(scale, 1.0,0.5,easeOutQuad);tween(alpha,0.7,0.5,easeOutQuad);"
         onover="tween(scale, 1.2,0.5,easeOutQuad);tween(alpha,1.0,0.5,easeOutQuad);"
         height="60"
         width="60"
         />



  <action name="button1OnClick">showFloorplan();



  </action>

  <events name="button1events"
    onTourStart="showbutton1();"
    hidetourcontrols="hidebutton1();"
    showtourcontrols="showbutton1();"
    keep="true" />
  <action name="hidebutton1">set(layer[button1].visible, false);</action>
  <action name="showbutton1">if(tour_displaycontrols,set(layer[button1].visible, true);,hidebutton1(););</action>

<layer name="button1TooltipStyle"
  keep="true"
  enabled="false"
  capture="false"
  type="text"
  align="center"
  bg="false"
  bgborder="0"
  txtshadow="1.0 1.0 4.0 0x000000 1"
  css="color:#ffffff;font-family:Verdana;font-weight:bold;font-size:14px;text-align:left;"
  interactivecontent="false"
  zorder="0"
  padding="2"
  xoffset="0"
  yoffset="0"
  visible="false"
  html=""
  edge="bottom"
/>

<!-- ********** -->
<!-- Web video Box 1 -->
<!-- id : webVideoViewer -->
<!-- ********** -->

<ptplugin name="webVideoViewer" engine="kolorBox">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="external_padding" value="15" type="int" />
		<option name="draggable_box" value="false" type="bool" />
		<option name="container_auto_size" value="true" type="bool" />
		<option name="container_width" value="61" type="int" />
		<option name="container_width_unit" value="percent" type="string" />
		<option name="container_height" value="60" type="int" />
		<option name="container_height_unit" value="percent" type="string" />
		<option name="container_color" value="000000" type="string" />
		<option name="container_alpha" value="0.59999999999999998" type="float" />
		<option name="container_topleft_border_radius" value="15" type="int" />
		<option name="container_topright_border_radius" value="15" type="int" />
		<option name="container_bottomleft_border_radius" value="15" type="int" />
		<option name="container_bottomright_border_radius" value="15" type="int" />
		<option name="container_border_width" value="0" type="int" />
		<option name="container_border_color" value="ffffff" type="string" />
		<option name="container_border_alpha" value="1" type="float" />
		<option name="overlay_displayed" value="true" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="title_displayed" value="true" type="bool" />
		<option name="title_position" value="top" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="14" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_style" value="normal" type="string" />
		<option name="title_decoration" value="none" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="caption_displayed" value="false" type="bool" />
		<option name="video_autoplay" value="false" type="bool" />
		<option name="fullscreen_displayed" value="true" type="bool" />
		<option name="fullscreen_position" value="topleft" type="string" />
		<option name="fullscreen_text" value="webVideoViewerfullscreen_text" type="string" />




		<option name="close_displayed" value="true" type="bool" />
		<option name="close_position" value="topright" type="string" />
		<option name="close_text" value="webVideoViewerclose_text" type="string" />

		<option name="close_callback" value="invokeKrFunction('closeKolorBoxCallback_webVideoViewer')" type="string" />
		<option name="zorder" value="10" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
	<internaldata>
		
	</internaldata>
</ptplugin>

<action name="kolorBoxJsReady_webVideoViewer">
	set(ptplugin[webVideoViewer].jsready, true);
</action>

<action name="openWebVideo_webVideoViewer">
	ifnot(ptplugin[webVideoViewer].isOpen,
		if(ptplugin[webVideoViewer].doNotDeleteMe,
			set(ptplugin[webVideoViewer].currentCall, false);
		set(ptplugin[webVideoViewer].isOpen, true);
		set(ptplugin[webVideoViewer].doNotDeleteMe, false);
		pauseautorotation(forceplugin);

		
		getmessage(webVideoViewer_boxurl, %1);
		js(invokePluginFunction(webVideoViewer, loadSingleArrayItem, get(webVideoViewer_boxurl), %2));
		,
			set(ptplugin[webVideoViewer].currentCall, true);
			set(ptplugin[webVideoViewer].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,openWebVideo_webVideoViewer(%1,%2););
		);
	,
		if('%1' != webVideoViewer_boxurl,
			closeKolorBox_webVideoViewer();
			delayedcall(0.3,openWebVideo_webVideoViewer(%1,%2););
		);
	);
</action>

<action name="toggleWebVideo_webVideoViewer">
	js(invokePluginFunction(webVideoViewer, toggleKolorBox, %1));
</action>


<action name="closeKolorBox_webVideoViewer">
	if(ptplugin[webVideoViewer].doNotDeleteMe,
		set(ptplugin[webVideoViewer].doNotDeleteMe, false);
	,
	js(invokePluginFunction(webVideoViewer, closeKolorBox));
	);
</action>

<action name="closeKolorBoxCallback_webVideoViewer">
	resumeautorotation(forceplugin);

	
	set(ptplugin[webVideoViewer].doNotDeleteMe, false);
	set(ptplugin[webVideoViewer].isOpen, false);
</action>

<action name="changeLanguage_webVideoViewer">
	if(ptplugin[webVideoViewer].jsready,
		stopdelayedcall(delay_webVideoViewer);
		js(invokePluginFunction(webVideoViewer, changeLanguage));
	,
		delayedcall(delay_webVideoViewer, 0.1, changeLanguage_webVideoViewer(););
	);
</action>

<events name="kolorBoxEvents_webVideoViewer" 
	keep="true" 
	onremovepano="if(ptplugin[webVideoViewer].isOpen,closeKolorBox_webVideoViewer(););"
	onremovedisplayedobject="ifnot(ptplugin[webVideoViewer].currentCall,if(ptplugin[webVideoViewer].isOpen,closeKolorBox_webVideoViewer();););"
	changetourlanguage="changeLanguage_webVideoViewer();"
	/>

<!-- ********** -->
<!-- Upper Range Light -->
<!-- id : description1 -->
<!-- ********** -->

<ptplugin name="description1" canStart="false" newPano="false" openatstart="false" mode="spot" startMethod="" engine="kolorArea">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="topleft_radius" value="15" type="int" />
		<option name="topright_radius" value="15" type="int" />
		<option name="bottomleft_radius" value="15" type="int" />
		<option name="bottomright_radius" value="15" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="padding" value="15" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title" value="description1description_title" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="18" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="description1display_close_text" type="string" />

		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="area_width" value="20" type="int" />
		<option name="area_height" value="20" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="refresh_content" value="true" type="bool" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_description1')" type="string" />
		<option name="close_on_click" value="true" type="bool" />
		<option name="close_onclick_callback" value="invokeKrFunction('closeKolorAreaCallbackClick_description1')" type="string" />
		<option name="open_callback" value="invokeKrFunction('openKolorAreaCallback_description1')" type="string" />
		<option name="zorder" value="11" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAreaJsReady_description1">
	set(ptplugin[description1].jsready, true);

</action>

<action name="updateTitle_description1">
	js(invokePluginFunction(description1, changeTitle, description1description_title));
</action>

<action name="openKolorArea_description1">
	ifnot(ptplugin[description1].isOpen,
		if(ptplugin[description1].doNotDeleteMe,
		set(ptplugin[description1].currentCall, false);
		set(ptplugin[description1].doNotDeleteMe, false);
		set(ptplugin[description1].isOpen, true);
		pauseautorotation(forceplugin);

		js(showKolorArea(description1, get(ptplugin[description1].descID)));
		,
			set(ptplugin[description1].currentCall, true);
			set(ptplugin[description1].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,openKolorArea_description1(););
		);
	);
</action>

<action name="closeKolorArea_description1">
	if(ptplugin[description1].isOpen,
		if(ptplugin[description1].doNotDeleteMe,
			set(ptplugin[description1].doNotDeleteMe, false);
		,
		js(invokePluginFunction(description1, closeKolorArea));
		);
	);
</action>

<action name="toggleKolorArea_description1">
	if(ptplugin[description1].isOpen,
		closeKolorArea_description1();
	,
		openKolorArea_description1();
	);
</action>

<action name="closeKolorAreaCallback_description1">
	set(ptplugin[description1].doNotDeleteMe, false);
	if(ptplugin[description1].isOpen,resumeautorotation(forceplugin);

		
	);
	set(ptplugin[description1].isOpen, false);
	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="closeKolorAreaCallbackClick_description1">


	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="openKolorAreaCallback_description1">
	updateTitle_description1();
</action>

<action name="showKolorArea_description1">
	ifnot(ptplugin[description1].startMethod == "",
		delayedcall(0,get(ptplugin[description1].startMethod));
	,
		if(ptplugin[description1].doNotDeleteMe,
			set(ptplugin[description1].currentCall, false);
			set(ptplugin[description1].doNotDeleteMe, false);
		set(ptplugin[description1].isOpen, true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(description1, showKolorArea, %1));
		,
			set(ptplugin[description1].currentCall, true);
			set(ptplugin[description1].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,showKolorArea_description1(%1););
		);
	);
</action>
	
<action name="hideKolorArea_description1">
	if(ptplugin[description1].doNotDeleteMe,
		set(ptplugin[description1].doNotDeleteMe, false);
	,
	resumeautorotation(forceplugin);

	
	set(ptplugin[description1].isOpen, false);
	js(invokePluginFunction(description1, hideKolorArea, %1));
	);
</action>

<action name="openDescription_description1">
	openKolorArea_description1();
</action>

<action name="openSpotDescription_description1">
	set(ptplugin[description1].descID, %1);
	openKolorArea_description1();
</action>

<action name="closeDescription_description1">
	set(ptplugin[description1].currentGroup, false);
	if(%1,
		set(restore_description1, true);
	,
		set(restore_description1, false);
	);
	closeKolorArea_description1();
</action> 

<action name="showDescription_description1">
	if(ptplugin[description1].canStart,
		if(ptplugin[description1].descID != "",
			openDescription_description1();
		,
			hideKolorArea_description1(false);
		);
		set(ptplugin[description1].startMethod, "");
	);
</action>



<action name="changeLanguage_description1">
	if(ptplugin[description1].jsready,
		stopdelayedcall(delay_description1);
		js(invokePluginFunction(description1, changeLanguage, true));
	,
		delayedcall(delay_description1, 0.1, changeLanguage_description1(););
	);
</action>

<events name="kolorAreaEvents_description1" 
	keep="true"
	onTourStart="set(ptplugin[description1].canStart, true);if(ptplugin[description1].openatstart,if(tour_displaycontrols,showTourInfo();
););"
	onhidetourinfo="delayedcall(0.3,if(ptplugin[description1].isOpen,closeDescription_description1(false);););"
	onremovepano="if(ptplugin[description1].isOpen,hideTourInfo();
);"
	onremovedisplayedobject="ifnot(ptplugin[description1].currentCall,if(ptplugin[description1].isOpen,hideTourInfo();
););"
	hidetourcontrols="if(ptplugin[description1].isOpen,hideKolorArea_description1(false););"
	showtourcontrols="if(tour_displayinfo,if(ptplugin[description1].isOpen,showKolorArea_description1(false);,););"
	changetourlanguage="changeLanguage_description1();"
/>

<!-- ********** -->
<!-- Lower Range Light -->
<!-- id : description2 -->
<!-- ********** -->

<ptplugin name="description2" canStart="false" newPano="false" openatstart="false" mode="spot" startMethod="" engine="kolorArea">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="topleft_radius" value="15" type="int" />
		<option name="topright_radius" value="15" type="int" />
		<option name="bottomleft_radius" value="15" type="int" />
		<option name="bottomright_radius" value="15" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="padding" value="15" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title" value="description2description_title" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="18" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="description2display_close_text" type="string" />

		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="area_width" value="20" type="int" />
		<option name="area_height" value="20" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="refresh_content" value="true" type="bool" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_description2')" type="string" />
		<option name="close_on_click" value="true" type="bool" />
		<option name="close_onclick_callback" value="invokeKrFunction('closeKolorAreaCallbackClick_description2')" type="string" />
		<option name="open_callback" value="invokeKrFunction('openKolorAreaCallback_description2')" type="string" />
		<option name="zorder" value="12" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAreaJsReady_description2">
	set(ptplugin[description2].jsready, true);

</action>

<action name="updateTitle_description2">
	js(invokePluginFunction(description2, changeTitle, description2description_title));
</action>

<action name="openKolorArea_description2">
	ifnot(ptplugin[description2].isOpen,
		if(ptplugin[description2].doNotDeleteMe,
		set(ptplugin[description2].currentCall, false);
		set(ptplugin[description2].doNotDeleteMe, false);
		set(ptplugin[description2].isOpen, true);
		pauseautorotation(forceplugin);

		js(showKolorArea(description2, get(ptplugin[description2].descID)));
		,
			set(ptplugin[description2].currentCall, true);
			set(ptplugin[description2].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,openKolorArea_description2(););
		);
	);
</action>

<action name="closeKolorArea_description2">
	if(ptplugin[description2].isOpen,
		if(ptplugin[description2].doNotDeleteMe,
			set(ptplugin[description2].doNotDeleteMe, false);
		,
		js(invokePluginFunction(description2, closeKolorArea));
		);
	);
</action>

<action name="toggleKolorArea_description2">
	if(ptplugin[description2].isOpen,
		closeKolorArea_description2();
	,
		openKolorArea_description2();
	);
</action>

<action name="closeKolorAreaCallback_description2">
	set(ptplugin[description2].doNotDeleteMe, false);
	if(ptplugin[description2].isOpen,resumeautorotation(forceplugin);

		
	);
	set(ptplugin[description2].isOpen, false);
	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="closeKolorAreaCallbackClick_description2">


	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="openKolorAreaCallback_description2">
	updateTitle_description2();
</action>

<action name="showKolorArea_description2">
	ifnot(ptplugin[description2].startMethod == "",
		delayedcall(0,get(ptplugin[description2].startMethod));
	,
		if(ptplugin[description2].doNotDeleteMe,
			set(ptplugin[description2].currentCall, false);
			set(ptplugin[description2].doNotDeleteMe, false);
		set(ptplugin[description2].isOpen, true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(description2, showKolorArea, %1));
		,
			set(ptplugin[description2].currentCall, true);
			set(ptplugin[description2].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,showKolorArea_description2(%1););
		);
	);
</action>
	
<action name="hideKolorArea_description2">
	if(ptplugin[description2].doNotDeleteMe,
		set(ptplugin[description2].doNotDeleteMe, false);
	,
	resumeautorotation(forceplugin);

	
	set(ptplugin[description2].isOpen, false);
	js(invokePluginFunction(description2, hideKolorArea, %1));
	);
</action>

<action name="openDescription_description2">
	openKolorArea_description2();
</action>

<action name="openSpotDescription_description2">
	set(ptplugin[description2].descID, %1);
	openKolorArea_description2();
</action>

<action name="closeDescription_description2">
	set(ptplugin[description2].currentGroup, false);
	if(%1,
		set(restore_description2, true);
	,
		set(restore_description2, false);
	);
	closeKolorArea_description2();
</action> 

<action name="showDescription_description2">
	if(ptplugin[description2].canStart,
		if(ptplugin[description2].descID != "",
			openDescription_description2();
		,
			hideKolorArea_description2(false);
		);
		set(ptplugin[description2].startMethod, "");
	);
</action>



<action name="changeLanguage_description2">
	if(ptplugin[description2].jsready,
		stopdelayedcall(delay_description2);
		js(invokePluginFunction(description2, changeLanguage, true));
	,
		delayedcall(delay_description2, 0.1, changeLanguage_description2(););
	);
</action>

<events name="kolorAreaEvents_description2" 
	keep="true"
	onTourStart="set(ptplugin[description2].canStart, true);if(ptplugin[description2].openatstart,if(tour_displaycontrols,showTourInfo();
););"
	onhidetourinfo="delayedcall(0.3,if(ptplugin[description2].isOpen,closeDescription_description2(false);););"
	onremovepano="if(ptplugin[description2].isOpen,hideTourInfo();
);"
	onremovedisplayedobject="ifnot(ptplugin[description2].currentCall,if(ptplugin[description2].isOpen,hideTourInfo();
););"
	hidetourcontrols="if(ptplugin[description2].isOpen,hideKolorArea_description2(false););"
	showtourcontrols="if(tour_displayinfo,if(ptplugin[description2].isOpen,showKolorArea_description2(false);,););"
	changetourlanguage="changeLanguage_description2();"
/>

<!-- ********** -->
<!-- Privy -->
<!-- id : description3 -->
<!-- ********** -->

<ptplugin name="description3" canStart="false" newPano="false" openatstart="false" mode="spot" startMethod="" engine="kolorArea">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="topleft_radius" value="15" type="int" />
		<option name="topright_radius" value="15" type="int" />
		<option name="bottomleft_radius" value="15" type="int" />
		<option name="bottomright_radius" value="15" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="padding" value="15" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title" value="description3description_title" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="18" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="description3display_close_text" type="string" />

		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="area_width" value="20" type="int" />
		<option name="area_height" value="20" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="refresh_content" value="true" type="bool" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_description3')" type="string" />
		<option name="close_on_click" value="true" type="bool" />
		<option name="close_onclick_callback" value="invokeKrFunction('closeKolorAreaCallbackClick_description3')" type="string" />
		<option name="open_callback" value="invokeKrFunction('openKolorAreaCallback_description3')" type="string" />
		<option name="zorder" value="13" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAreaJsReady_description3">
	set(ptplugin[description3].jsready, true);

</action>

<action name="updateTitle_description3">
	js(invokePluginFunction(description3, changeTitle, description3description_title));
</action>

<action name="openKolorArea_description3">
	ifnot(ptplugin[description3].isOpen,
		set(ptplugin[description3].isOpen, true);
		pauseautorotation(forceplugin);

		js(showKolorArea(description3, get(ptplugin[description3].descID)));
		events.dispatch(onremovedisplayedobject);
	);
</action>

<action name="closeKolorArea_description3">
	if(ptplugin[description3].isOpen,
		js(invokePluginFunction(description3, closeKolorArea));
	);
</action>

<action name="toggleKolorArea_description3">
	if(ptplugin[description3].isOpen,
		closeKolorArea_description3();
	,
		openKolorArea_description3();
	);
</action>

<action name="closeKolorAreaCallback_description3">
	if(ptplugin[description3].isOpen,resumeautorotation(forceplugin);

		
	);
	set(ptplugin[description3].isOpen, false);
	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="closeKolorAreaCallbackClick_description3">


	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="openKolorAreaCallback_description3">
	updateTitle_description3();
</action>

<action name="showKolorArea_description3">
	ifnot(ptplugin[description3].startMethod == "",
		delayedcall(0,get(ptplugin[description3].startMethod));
	,
		set(ptplugin[description3].isOpen, true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(description3, showKolorArea, %1));
		events.dispatch(onremovedisplayedobject);
	);
</action>
	
<action name="hideKolorArea_description3">
	resumeautorotation(forceplugin);

	
	set(ptplugin[description3].isOpen, false);
	js(invokePluginFunction(description3, hideKolorArea, %1));
</action>

<action name="openDescription_description3">
	openKolorArea_description3();
</action>

<action name="openSpotDescription_description3">
	set(ptplugin[description3].descID, %1);
	openKolorArea_description3();
</action>

<action name="closeDescription_description3">
	set(ptplugin[description3].currentGroup, false);
	if(%1,
		set(restore_description3, true);
	,
		set(restore_description3, false);
	);
	closeKolorArea_description3();
</action> 

<action name="showDescription_description3">
	if(ptplugin[description3].canStart,
		if(ptplugin[description3].descID != "",
			openDescription_description3();
		,
			hideKolorArea_description3(false);
		);
		set(ptplugin[description3].startMethod, "");
	);
</action>



<action name="changeLanguage_description3">
	if(ptplugin[description3].jsready,
		stopdelayedcall(delay_description3);
		js(invokePluginFunction(description3, changeLanguage, true));
	,
		delayedcall(delay_description3, 0.1, changeLanguage_description3(););
	);
</action>

<events name="kolorAreaEvents_description3" 
	keep="true"
	onTourStart="set(ptplugin[description3].canStart, true);if(ptplugin[description3].openatstart,if(tour_displaycontrols,showTourInfo();
););"
	onhidetourinfo="if(ptplugin[description3].isOpen,closeDescription_description3(false););"
	onremovepano="if(ptplugin[description3].isOpen,hideTourInfo();
);"
	hidetourcontrols="if(ptplugin[description3].isOpen,hideKolorArea_description3(false););"
	showtourcontrols="if(tour_displayinfo,if(ptplugin[description3].isOpen,showKolorArea_description3(false);,););"
	changetourlanguage="changeLanguage_description3();"
/>

<!-- ********** -->
<!-- Martin House -->
<!-- id : description5 -->
<!-- ********** -->

<ptplugin name="description5" canStart="false" newPano="false" openatstart="false" mode="spot" startMethod="" engine="kolorArea">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="topleft_radius" value="15" type="int" />
		<option name="topright_radius" value="15" type="int" />
		<option name="bottomleft_radius" value="15" type="int" />
		<option name="bottomright_radius" value="15" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="padding" value="15" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title" value="description5description_title" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="18" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="description5display_close_text" type="string" />

		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="area_width" value="20" type="int" />
		<option name="area_height" value="20" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="refresh_content" value="true" type="bool" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_description5')" type="string" />
		<option name="close_on_click" value="true" type="bool" />
		<option name="close_onclick_callback" value="invokeKrFunction('closeKolorAreaCallbackClick_description5')" type="string" />
		<option name="open_callback" value="invokeKrFunction('openKolorAreaCallback_description5')" type="string" />
		<option name="zorder" value="14" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAreaJsReady_description5">
	set(ptplugin[description5].jsready, true);

</action>

<action name="updateTitle_description5">
	js(invokePluginFunction(description5, changeTitle, description5description_title));
</action>

<action name="openKolorArea_description5">
	ifnot(ptplugin[description5].isOpen,
		if(ptplugin[description5].doNotDeleteMe,
		set(ptplugin[description5].currentCall, false);
		set(ptplugin[description5].doNotDeleteMe, false);
		set(ptplugin[description5].isOpen, true);
		pauseautorotation(forceplugin);

		js(showKolorArea(description5, get(ptplugin[description5].descID)));
		,
			set(ptplugin[description5].currentCall, true);
			set(ptplugin[description5].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,openKolorArea_description5(););
		);
	);
</action>

<action name="closeKolorArea_description5">
	if(ptplugin[description5].isOpen,
		if(ptplugin[description5].doNotDeleteMe,
			set(ptplugin[description5].doNotDeleteMe, false);
		,
		js(invokePluginFunction(description5, closeKolorArea));
		);
	);
</action>

<action name="toggleKolorArea_description5">
	if(ptplugin[description5].isOpen,
		closeKolorArea_description5();
	,
		openKolorArea_description5();
	);
</action>

<action name="closeKolorAreaCallback_description5">
	set(ptplugin[description5].doNotDeleteMe, false);
	if(ptplugin[description5].isOpen,resumeautorotation(forceplugin);

		
	);
	set(ptplugin[description5].isOpen, false);
	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="closeKolorAreaCallbackClick_description5">


	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="openKolorAreaCallback_description5">
	updateTitle_description5();
</action>

<action name="showKolorArea_description5">
	ifnot(ptplugin[description5].startMethod == "",
		delayedcall(0,get(ptplugin[description5].startMethod));
	,
		if(ptplugin[description5].doNotDeleteMe,
			set(ptplugin[description5].currentCall, false);
			set(ptplugin[description5].doNotDeleteMe, false);
		set(ptplugin[description5].isOpen, true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(description5, showKolorArea, %1));
		,
			set(ptplugin[description5].currentCall, true);
			set(ptplugin[description5].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,showKolorArea_description5(%1););
		);
	);
</action>
	
<action name="hideKolorArea_description5">
	if(ptplugin[description5].doNotDeleteMe,
		set(ptplugin[description5].doNotDeleteMe, false);
	,
	resumeautorotation(forceplugin);

	
	set(ptplugin[description5].isOpen, false);
	js(invokePluginFunction(description5, hideKolorArea, %1));
	);
</action>

<action name="openDescription_description5">
	openKolorArea_description5();
</action>

<action name="openSpotDescription_description5">
	set(ptplugin[description5].descID, %1);
	openKolorArea_description5();
</action>

<action name="closeDescription_description5">
	set(ptplugin[description5].currentGroup, false);
	if(%1,
		set(restore_description5, true);
	,
		set(restore_description5, false);
	);
	closeKolorArea_description5();
</action> 

<action name="showDescription_description5">
	if(ptplugin[description5].canStart,
		if(ptplugin[description5].descID != "",
			openDescription_description5();
		,
			hideKolorArea_description5(false);
		);
		set(ptplugin[description5].startMethod, "");
	);
</action>



<action name="changeLanguage_description5">
	if(ptplugin[description5].jsready,
		stopdelayedcall(delay_description5);
		js(invokePluginFunction(description5, changeLanguage, true));
	,
		delayedcall(delay_description5, 0.1, changeLanguage_description5(););
	);
</action>

<events name="kolorAreaEvents_description5" 
	keep="true"
	onTourStart="set(ptplugin[description5].canStart, true);if(ptplugin[description5].openatstart,showTourInfo();
);"
	onhidetourinfo="delayedcall(0.3,if(ptplugin[description5].isOpen,closeDescription_description5(false);););"
	onremovepano="if(ptplugin[description5].isOpen,hideTourInfo();
);"
	onremovedisplayedobject="ifnot(ptplugin[description5].currentCall,if(ptplugin[description5].isOpen,hideTourInfo();
););"
	changetourlanguage="changeLanguage_description5();"
/>

<!-- ********* -->
<!-- Gyroscope -->
<!-- ********* -->


<plugin name="gyroscope"
        url="%FIRSTXML%/graphics/gyro2.js"
        keep="true"
        devices="no-desktop.and.html5"

        onunavailable="checkGyroUnavailable();"
        sensor_mode="1"
        friction="auto"
        autocalibration="true"
        touch_mode="full"
        onavailable="delayedcall(1, checkGyroAvailability(););"
        enabled="false"
        activated="false"
        />

<events name="gyroscopeEvents" onnewpano="planarGyroscopeTest();" keep="true" />

<action name="planarGyroscopeTest">
  if(plugin[gyroscope],
    if(scene[get(xml.scene)].full360,
      set(sceneisfull360, false);
      sub(viewhfov, panoview.hmax, panoview.hmin);
      if (viewhfov == 360,
        sub(viewvfov, panoview.vmax, panoview.vmin);
        if (viewvfov == 180,
          set(sceneisfull360, true);
        );
      );
      if (sceneisfull360,
        set(plugin[gyroscope].camroll, true);
      ,
        set(plugin[gyroscope].camroll, false);
      );
    ,
      set(plugin[gyroscope].camroll, false);
    );
  );
</action>

<action name="changeGyroscopeState">
  if(plugin[gyroscope],
    if (plugin[gyroscope].isavailable,
      if(%1,
        set(plugin[gyroscope].activated,true);
      ,
        set(plugin[gyroscope].activated,false);
      );
      if (%1 != plugin[gyroscope].enabled,
        if(plugin[gyroscope].activated,
          switch(plugin[gyroscope].enabled);
        ,
          set(plugin[gyroscope].enabled, false);
        );
        if (plugin[gyroscope].enabled, events.dispatch(ongyroscopeon);, events.dispatch(ongyroscopeoff););
      );
    );
  );
</action>

<action name="checkGyroAvailability">
  if(plugin[gyroscope],
    if (plugin[gyroscope].isavailable,
      
      set(sceneisfull360, false);
      if (scene[get(xml.scene)].full360,
        sub(viewhfov, panoview.hmax, panoview.hmin);
        if (viewhfov == 360,
          sub(viewvfov, panoview.vmax, panoview.vmin);
          if (viewvfov == 180,
            set(sceneisfull360, true);
          );
        );
      );
      set(delaythegyrocheck, false);
      if (sceneisfull360 AND tour_firstlittleplanet, set(delaythegyrocheck, true));

      ifnot(delaythegyrocheck,
        switch(plugin[gyroscope].enabled);
        set(plugin[gyroscope].activated,true);
        set(tour_gyroscopedevices, true);
        events.dispatch(ongyroscopeavailable);
      ,
        delayedcall(1, checkGyroAvailability(););
      );
    ,
      set(tour_gyroscopedevices, false);
    );
    if (plugin[gyroscope].enabled, events.dispatch(ongyroscopeon);, events.dispatch(ongyroscopeoff););
  ,
    checkGyroUnavailable();
  );
</action>

<action name="checkGyroUnavailable">
  set(plugin[gyroscope].activated, false);
  set(plugin[gyroscope].enabled, false);
  set(tour_gyroscopedevices, false);
  events.dispatch(ongyroscopeunavailable);
</action>

<!-- ********** -->
<!-- Radar -->
<!-- id : radar -->
<!-- ********** -->

  <layer name="radar" keep="true"
         url.flash="%FIRSTXML%/graphics/radar.swf"
         url.html5="%FIRSTXML%/graphics/radar.js"
         align="bottomright"
         x="10" y="10"
         heading="0.0"
         headingoffset="0.0"
         fillcolor="0xffffff"
         fillalpha="0.50000762951094835"
         width="100"
         height="100"
         zorder="16"
         visible="false"
         active="true"
         started="false"
         />

  <events name="radarevents"
    onnewpano="radarOnNewPano" 
    onTourStart="set(layer[radar].started, true);showradar();"
    hidetourcontrols="hideradar();"
    showtourcontrols="set(layer[radar].started, true);showradar();"
    keep="true"/>

  <action name="radarOnNewPano">
    if(scene[get(xml.scene)].planar,
      set(layer[radar].active, false);
      hideradar();
    ,
      set(layer[radar].active, true);
      set(layer[radar].heading, get(scene[get(xml.scene)].heading));
      showradar();
    );
  </action>

  <action name="hideradar">set(layer[radar].visible, false);</action>
  <action name="showradar">if(tour_displaycontrols,if(layer[radar].active AND layer[radar].started,set(layer[radar].visible, true););,hideradar(););</action>


<!-- ********** -->
<!-- Social Share -->
<!-- id : socialShare -->
<!-- ********** -->


<ptplugin name="socialShare" engine="kolorBox">
	<settings>
		<option name="position" value="bottomright" type="string" />
		<option name="margin_x" value="150" type="int" />
		<option name="margin_y" value="10" type="int" />
		<option name="external_padding" value="5" type="int" />
		<option name="animate" value="false" type="bool" />
		<option name="draggable_box" value="false" type="bool" />
		<option name="container_auto_size" value="true" type="bool" />
		<option name="container_color" value="2a2a2a" type="string" />
		<option name="container_alpha" value="0.59999999999999998" type="float" />
		<option name="container_topleft_border_radius" value="15" type="int" />
		<option name="container_topright_border_radius" value="15" type="int" />
		<option name="container_bottomleft_border_radius" value="15" type="int" />
		<option name="container_bottomright_border_radius" value="15" type="int" />
		<option name="container_border_width" value="0" type="int" />
		<option name="container_border_color" value="ffffff" type="string" />
		<option name="container_border_alpha" value="1" type="float" />
		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="social_btn" value="facebook#twitter#google#linkedin#email" type="string" />
		<option name="social_btn_icons" value="iconset0" type="string" />

		<option name="social_orientation" value="horizontal" type="string" />
		<option name="social_btn_size" value="40" type="int" />
		<option name="inner_margin" value="10" type="int" />
		
		<option name="link_currentpos" value="true" type="bool" />
		<option name="link_callback" value="invokeKrFunction('socialShareComputeDeepLinking_socialShare')" type="string" />
		
		
		<option name="title_displayed" value="false" type="bool" />
		<option name="caption_displayed" value="false" type="bool" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_position" value="topright" type="string" />
		<option name="close_text" value="socialShareclose_text" type="string" />

		<option name="close_callback" value="invokeKrFunction('closeKolorBoxCallback_socialShare')" type="string" />
		<option name="zorder" value="17" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
	<internaldata>

	</internaldata>
</ptplugin>

<action name="kolorBoxJsReady_socialShare">
	set(ptplugin[socialShare].jsready, true);

</action>


<action name="socialShareComputeDeepLinking_socialShare">
	computeDeepLinkingURL(true,false);
	js(invokePluginFunction(socialShare, addSocialItemData, get(tour_deeplinkingvars)));
</action>



<action name="showSocialShare_socialShare">
	ifnot(ptplugin[socialShare].isOpen,
		if(ptplugin[socialShare].doNotDeleteMe,
			set(ptplugin[socialShare].currentCall, false);
			set(ptplugin[socialShare].doNotDeleteMe, false);
		set(ptplugin[socialShare].isOpen, true);
		pauseautorotation(forceplugin);

			js(invokePluginFunction(socialShare, loadSingleArrayItem, social));
		,
			set(ptplugin[socialShare].currentCall, true);
			set(ptplugin[socialShare].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,showSocialShare_socialShare(););
		);
	);
</action>

<action name="toggleSocialShare_socialShare">
	js(invokePluginFunction(socialShare, toggleKolorBox, %1));
</action>


<action name="closeKolorBox_socialShare">
	if(ptplugin[socialShare].doNotDeleteMe,
		set(ptplugin[socialShare].doNotDeleteMe, false);
	,
	js(invokePluginFunction(socialShare, closeKolorBox));
	);
</action>

<action name="closeKolorBoxCallback_socialShare">
	resumeautorotation(forceplugin);

	
	set(ptplugin[socialShare].doNotDeleteMe, false);
	set(ptplugin[socialShare].isOpen, false);
</action>

<action name="changeLanguage_socialShare">
	if(ptplugin[socialShare].jsready,
		js(invokePluginFunction(socialShare, changeLanguage));
	);
</action>

<events name="kolorBoxEvents_socialShare" 
	keep="true"
	onremovedisplayedobject="ifnot(ptplugin[socialShare].currentCall,if(ptplugin[socialShare].isOpen,closeKolorBox_socialShare();););"
	onsharetour="showSocialShare_socialShare();" 
	
	
	changetourlanguage="changeLanguage_socialShare();"
	/>

<!-- ********** -->
<!-- Trail Donation -->
<!-- id : description4 -->
<!-- ********** -->

<ptplugin name="description4" canStart="false" newPano="false" openatstart="false" mode="spot" startMethod="" engine="kolorArea">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="topleft_radius" value="15" type="int" />
		<option name="topright_radius" value="15" type="int" />
		<option name="bottomleft_radius" value="15" type="int" />
		<option name="bottomright_radius" value="15" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="padding" value="15" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title" value="description4description_title" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="18" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="description4display_close_text" type="string" />

		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="area_width" value="20" type="int" />
		<option name="area_height" value="20" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="refresh_content" value="true" type="bool" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_description4')" type="string" />
		<option name="close_on_click" value="true" type="bool" />
		<option name="close_onclick_callback" value="invokeKrFunction('closeKolorAreaCallbackClick_description4')" type="string" />
		<option name="open_callback" value="invokeKrFunction('openKolorAreaCallback_description4')" type="string" />
		<option name="zorder" value="18" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAreaJsReady_description4">
	set(ptplugin[description4].jsready, true);

</action>

<action name="updateTitle_description4">
	js(invokePluginFunction(description4, changeTitle, description4description_title));
</action>

<action name="openKolorArea_description4">
	ifnot(ptplugin[description4].isOpen,
		if(ptplugin[description4].doNotDeleteMe,
		set(ptplugin[description4].currentCall, false);
		set(ptplugin[description4].doNotDeleteMe, false);
		set(ptplugin[description4].isOpen, true);
		pauseautorotation(forceplugin);

		js(showKolorArea(description4, get(ptplugin[description4].descID)));
		,
			set(ptplugin[description4].currentCall, true);
			set(ptplugin[description4].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,openKolorArea_description4(););
		);
	);
</action>

<action name="closeKolorArea_description4">
	if(ptplugin[description4].isOpen,
		if(ptplugin[description4].doNotDeleteMe,
			set(ptplugin[description4].doNotDeleteMe, false);
		,
		js(invokePluginFunction(description4, closeKolorArea));
		);
	);
</action>

<action name="toggleKolorArea_description4">
	if(ptplugin[description4].isOpen,
		closeKolorArea_description4();
	,
		openKolorArea_description4();
	);
</action>

<action name="closeKolorAreaCallback_description4">
	set(ptplugin[description4].doNotDeleteMe, false);
	if(ptplugin[description4].isOpen,resumeautorotation(forceplugin);

		
	);
	set(ptplugin[description4].isOpen, false);
	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="closeKolorAreaCallbackClick_description4">


	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="openKolorAreaCallback_description4">
	updateTitle_description4();
</action>

<action name="showKolorArea_description4">
	ifnot(ptplugin[description4].startMethod == "",
		delayedcall(0,get(ptplugin[description4].startMethod));
	,
		if(ptplugin[description4].doNotDeleteMe,
			set(ptplugin[description4].currentCall, false);
			set(ptplugin[description4].doNotDeleteMe, false);
		set(ptplugin[description4].isOpen, true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(description4, showKolorArea, %1));
		,
			set(ptplugin[description4].currentCall, true);
			set(ptplugin[description4].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,showKolorArea_description4(%1););
		);
	);
</action>
	
<action name="hideKolorArea_description4">
	if(ptplugin[description4].doNotDeleteMe,
		set(ptplugin[description4].doNotDeleteMe, false);
	,
	resumeautorotation(forceplugin);

	
	set(ptplugin[description4].isOpen, false);
	js(invokePluginFunction(description4, hideKolorArea, %1));
	);
</action>

<action name="openDescription_description4">
	openKolorArea_description4();
</action>

<action name="openSpotDescription_description4">
	set(ptplugin[description4].descID, %1);
	openKolorArea_description4();
</action>

<action name="closeDescription_description4">
	set(ptplugin[description4].currentGroup, false);
	if(%1,
		set(restore_description4, true);
	,
		set(restore_description4, false);
	);
	closeKolorArea_description4();
</action> 

<action name="showDescription_description4">
	if(ptplugin[description4].canStart,
		if(ptplugin[description4].descID != "",
			openDescription_description4();
		,
			hideKolorArea_description4(false);
		);
		set(ptplugin[description4].startMethod, "");
	);
</action>



<action name="changeLanguage_description4">
	if(ptplugin[description4].jsready,
		stopdelayedcall(delay_description4);
		js(invokePluginFunction(description4, changeLanguage, true));
	,
		delayedcall(delay_description4, 0.1, changeLanguage_description4(););
	);
</action>

<events name="kolorAreaEvents_description4" 
	keep="true"
	onTourStart="set(ptplugin[description4].canStart, true);if(ptplugin[description4].openatstart,if(tour_displaycontrols,showTourInfo();
););"
	onhidetourinfo="delayedcall(0.3,if(ptplugin[description4].isOpen,closeDescription_description4(false);););"
	onremovepano="if(ptplugin[description4].isOpen,hideTourInfo();
);"
	onremovedisplayedobject="ifnot(ptplugin[description4].currentCall,if(ptplugin[description4].isOpen,hideTourInfo();
););"
	hidetourcontrols="if(ptplugin[description4].isOpen,hideKolorArea_description4(false););"
	showtourcontrols="if(tour_displayinfo,if(ptplugin[description4].isOpen,showKolorArea_description4(false);,););"
	changetourlanguage="changeLanguage_description4();"
/>

<!-- ********** -->
<!-- Lobby Donation  Box -->
<!-- id : description6 -->
<!-- ********** -->

<ptplugin name="description6" canStart="false" newPano="false" openatstart="false" mode="spot" startMethod="" engine="kolorArea">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="topleft_radius" value="15" type="int" />
		<option name="topright_radius" value="15" type="int" />
		<option name="bottomleft_radius" value="15" type="int" />
		<option name="bottomright_radius" value="15" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="padding" value="15" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title" value="description6description_title" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="18" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="description6display_close_text" type="string" />

		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="area_width" value="20" type="int" />
		<option name="area_height" value="20" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="refresh_content" value="true" type="bool" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_description6')" type="string" />
		<option name="close_on_click" value="true" type="bool" />
		<option name="close_onclick_callback" value="invokeKrFunction('closeKolorAreaCallbackClick_description6')" type="string" />
		<option name="open_callback" value="invokeKrFunction('openKolorAreaCallback_description6')" type="string" />
		<option name="zorder" value="19" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAreaJsReady_description6">
	set(ptplugin[description6].jsready, true);

</action>

<action name="updateTitle_description6">
	js(invokePluginFunction(description6, changeTitle, description6description_title));
</action>

<action name="openKolorArea_description6">
	ifnot(ptplugin[description6].isOpen,
		if(ptplugin[description6].doNotDeleteMe,
		set(ptplugin[description6].currentCall, false);
		set(ptplugin[description6].doNotDeleteMe, false);
		set(ptplugin[description6].isOpen, true);
		pauseautorotation(forceplugin);

		js(showKolorArea(description6, get(ptplugin[description6].descID)));
		,
			set(ptplugin[description6].currentCall, true);
			set(ptplugin[description6].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,openKolorArea_description6(););
		);
	);
</action>

<action name="closeKolorArea_description6">
	if(ptplugin[description6].isOpen,
		if(ptplugin[description6].doNotDeleteMe,
			set(ptplugin[description6].doNotDeleteMe, false);
		,
		js(invokePluginFunction(description6, closeKolorArea));
		);
	);
</action>

<action name="toggleKolorArea_description6">
	if(ptplugin[description6].isOpen,
		closeKolorArea_description6();
	,
		openKolorArea_description6();
	);
</action>

<action name="closeKolorAreaCallback_description6">
	set(ptplugin[description6].doNotDeleteMe, false);
	if(ptplugin[description6].isOpen,resumeautorotation(forceplugin);

		
	);
	set(ptplugin[description6].isOpen, false);
	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="closeKolorAreaCallbackClick_description6">


	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="openKolorAreaCallback_description6">
	updateTitle_description6();
</action>

<action name="showKolorArea_description6">
	ifnot(ptplugin[description6].startMethod == "",
		delayedcall(0,get(ptplugin[description6].startMethod));
	,
		if(ptplugin[description6].doNotDeleteMe,
			set(ptplugin[description6].currentCall, false);
			set(ptplugin[description6].doNotDeleteMe, false);
		set(ptplugin[description6].isOpen, true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(description6, showKolorArea, %1));
		,
			set(ptplugin[description6].currentCall, true);
			set(ptplugin[description6].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,showKolorArea_description6(%1););
		);
	);
</action>
	
<action name="hideKolorArea_description6">
	if(ptplugin[description6].doNotDeleteMe,
		set(ptplugin[description6].doNotDeleteMe, false);
	,
	resumeautorotation(forceplugin);

	
	set(ptplugin[description6].isOpen, false);
	js(invokePluginFunction(description6, hideKolorArea, %1));
	);
</action>

<action name="openDescription_description6">
	openKolorArea_description6();
</action>

<action name="openSpotDescription_description6">
	set(ptplugin[description6].descID, %1);
	openKolorArea_description6();
</action>

<action name="closeDescription_description6">
	set(ptplugin[description6].currentGroup, false);
	if(%1,
		set(restore_description6, true);
	,
		set(restore_description6, false);
	);
	closeKolorArea_description6();
</action> 

<action name="showDescription_description6">
	if(ptplugin[description6].canStart,
		if(ptplugin[description6].descID != "",
			openDescription_description6();
		,
			hideKolorArea_description6(false);
		);
		set(ptplugin[description6].startMethod, "");
	);
</action>



<action name="changeLanguage_description6">
	if(ptplugin[description6].jsready,
		stopdelayedcall(delay_description6);
		js(invokePluginFunction(description6, changeLanguage, true));
	,
		delayedcall(delay_description6, 0.1, changeLanguage_description6(););
	);
</action>

<events name="kolorAreaEvents_description6" 
	keep="true"
	onTourStart="set(ptplugin[description6].canStart, true);if(ptplugin[description6].openatstart,if(tour_displaycontrols,showTourInfo();
););"
	onhidetourinfo="delayedcall(0.3,if(ptplugin[description6].isOpen,closeDescription_description6(false);););"
	onremovepano="if(ptplugin[description6].isOpen,hideTourInfo();
);"
	onremovedisplayedobject="ifnot(ptplugin[description6].currentCall,if(ptplugin[description6].isOpen,hideTourInfo();
););"
	hidetourcontrols="if(ptplugin[description6].isOpen,hideKolorArea_description6(false););"
	showtourcontrols="if(tour_displayinfo,if(ptplugin[description6].isOpen,showKolorArea_description6(false);,););"
	changetourlanguage="changeLanguage_description6();"
/>

<!-- ********** -->
<!-- Wood Duck House -->
<!-- id : description7 -->
<!-- ********** -->

<ptplugin name="description7" canStart="false" newPano="false" openatstart="false" mode="spot" startMethod="" engine="kolorArea">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="start_position" value="left" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="background_color" value="000000" type="string" />
		<option name="background_alpha" value="0.59999999999999998" type="float" />
		<option name="topleft_radius" value="15" type="int" />
		<option name="topright_radius" value="15" type="int" />
		<option name="bottomleft_radius" value="15" type="int" />
		<option name="bottomright_radius" value="15" type="int" />
		<option name="area_border_width" value="0" type="int" />
		<option name="area_border_color" value="f2f2f2" type="string" />
		<option name="area_border_alpha" value="1" type="float" />
		<option name="padding" value="15" type="int" />
		<option name="display_title" value="true" type="bool" />
		<option name="title" value="description7description_title" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="18" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_decoration" value="normal" type="string" />
		<option name="title_color" value="ffffff" type="string" />
		<option name="close_displayed" value="true" type="bool" />
		<option name="close_text" value="description7display_close_text" type="string" />

		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="area_width" value="20" type="int" />
		<option name="area_height" value="20" type="int" />
		<option name="area_width_unit" value="percent" type="string" />
		<option name="area_height_unit" value="percent" type="string" />
		<option name="animation" value="false" type="bool" />
		<option name="animation_duration" value="500" type="int" />
		<option name="refresh_content" value="true" type="bool" />
		<option name="close_callback" value="invokeKrFunction('closeKolorAreaCallback_description7')" type="string" />
		<option name="close_on_click" value="true" type="bool" />
		<option name="close_onclick_callback" value="invokeKrFunction('closeKolorAreaCallbackClick_description7')" type="string" />
		<option name="open_callback" value="invokeKrFunction('openKolorAreaCallback_description7')" type="string" />
		<option name="zorder" value="20" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAreaJsReady_description7">
	set(ptplugin[description7].jsready, true);

</action>

<action name="updateTitle_description7">
	js(invokePluginFunction(description7, changeTitle, description7description_title));
</action>

<action name="openKolorArea_description7">
	ifnot(ptplugin[description7].isOpen,
		if(ptplugin[description7].doNotDeleteMe,
		set(ptplugin[description7].currentCall, false);
		set(ptplugin[description7].doNotDeleteMe, false);
		set(ptplugin[description7].isOpen, true);
		pauseautorotation(forceplugin);

		js(showKolorArea(description7, get(ptplugin[description7].descID)));
		,
			set(ptplugin[description7].currentCall, true);
			set(ptplugin[description7].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,openKolorArea_description7(););
		);
	);
</action>

<action name="closeKolorArea_description7">
	if(ptplugin[description7].isOpen,
		if(ptplugin[description7].doNotDeleteMe,
			set(ptplugin[description7].doNotDeleteMe, false);
		,
		js(invokePluginFunction(description7, closeKolorArea));
		);
	);
</action>

<action name="toggleKolorArea_description7">
	if(ptplugin[description7].isOpen,
		closeKolorArea_description7();
	,
		openKolorArea_description7();
	);
</action>

<action name="closeKolorAreaCallback_description7">
	set(ptplugin[description7].doNotDeleteMe, false);
	if(ptplugin[description7].isOpen,resumeautorotation(forceplugin);

		
	);
	set(ptplugin[description7].isOpen, false);
	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="closeKolorAreaCallbackClick_description7">


	if(tour_displayinfo,hideTourInfo();

	);
</action>

<action name="openKolorAreaCallback_description7">
	updateTitle_description7();
</action>

<action name="showKolorArea_description7">
	ifnot(ptplugin[description7].startMethod == "",
		delayedcall(0,get(ptplugin[description7].startMethod));
	,
		if(ptplugin[description7].doNotDeleteMe,
			set(ptplugin[description7].currentCall, false);
			set(ptplugin[description7].doNotDeleteMe, false);
		set(ptplugin[description7].isOpen, true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(description7, showKolorArea, %1));
		,
			set(ptplugin[description7].currentCall, true);
			set(ptplugin[description7].doNotDeleteMe, true);
			events.dispatch(onremovedisplayedobject);
			delayedcall(0.3,showKolorArea_description7(%1););
		);
	);
</action>
	
<action name="hideKolorArea_description7">
	if(ptplugin[description7].doNotDeleteMe,
		set(ptplugin[description7].doNotDeleteMe, false);
	,
	resumeautorotation(forceplugin);

	
	set(ptplugin[description7].isOpen, false);
	js(invokePluginFunction(description7, hideKolorArea, %1));
	);
</action>

<action name="openDescription_description7">
	openKolorArea_description7();
</action>

<action name="openSpotDescription_description7">
	set(ptplugin[description7].descID, %1);
	openKolorArea_description7();
</action>

<action name="closeDescription_description7">
	set(ptplugin[description7].currentGroup, false);
	if(%1,
		set(restore_description7, true);
	,
		set(restore_description7, false);
	);
	closeKolorArea_description7();
</action> 

<action name="showDescription_description7">
	if(ptplugin[description7].canStart,
		if(ptplugin[description7].descID != "",
			openDescription_description7();
		,
			hideKolorArea_description7(false);
		);
		set(ptplugin[description7].startMethod, "");
	);
</action>



<action name="changeLanguage_description7">
	if(ptplugin[description7].jsready,
		stopdelayedcall(delay_description7);
		js(invokePluginFunction(description7, changeLanguage, true));
	,
		delayedcall(delay_description7, 0.1, changeLanguage_description7(););
	);
</action>

<events name="kolorAreaEvents_description7" 
	keep="true"
	onTourStart="set(ptplugin[description7].canStart, true);if(ptplugin[description7].openatstart,if(tour_displaycontrols,showTourInfo();
););"
	onhidetourinfo="delayedcall(0.3,if(ptplugin[description7].isOpen,closeDescription_description7(false);););"
	onremovepano="if(ptplugin[description7].isOpen,hideTourInfo();
);"
	onremovedisplayedobject="ifnot(ptplugin[description7].currentCall,if(ptplugin[description7].isOpen,hideTourInfo();
););"
	hidetourcontrols="if(ptplugin[description7].isOpen,hideKolorArea_description7(false););"
	showtourcontrols="if(tour_displayinfo,if(ptplugin[description7].isOpen,showKolorArea_description7(false);,););"
	changetourlanguage="changeLanguage_description7();"
/>

<!-- ********** -->
<!-- Logo -->
<!-- id : logo -->
<!-- ********** -->


  <layer align="topright"
         x="10"
         y="10"
         zorder="21"
         name="logo"
         keep="true"
         visible="false"
         capture="false"

			tooltip="logotooltipText"
			onhover="showTooltip('plugin',logoTooltipStyle);"
			onout="hideTooltip();"
         url="%FIRSTXML%/graphics/logo/logo_bug.png" 
         onclick="
getmessage(urltoopen,logowebsiteurl);openurl(get(urltoopen),_blank);
"

         height="150"
         width="150"

         />

  <events name="logoevents" 
    onTourStart="showlogo();"
    keep="true" />

  <action name="hidelogo">
    set(layer[logo].visible, false);
  </action>
  <action name="showlogo">
      set(layer[logo].visible, true);
  </action>



<layer name="logoTooltipStyle"
	keep="true"
	enabled="false"
	capture="false"
	type="text"
	align="center"
	bg="false"
	bgborder="0"
	css="color:#ffffff;font-family:Arial;font-weight:bold;font-size:14px;text-align:left;"
	edge="bottom"
	interactivecontent="false"
	zorder="0"
	padding="2"
	xoffset="0"
	yoffset="0"
	visible="false"
	html=""
/>


<!-- ********** -->
<!-- WebVR Button -->
<!-- id : webvrbutton -->
<!-- ********** -->


	<layer name="webvrbutton"
		keep="true"
		blocked="false"
		alpha="1"
		url="%FIRSTXML%/graphics/webvrbutton/btn_webvr.png"
		align="topright"
		x="200"
		y="10"
		zorder="22"
		visible="false"
		onclick="if(scene[get(xml.scene)].full360 AND disableCurrentSceneVrConservation !== true,
    js(accessWebVr(get(xml.scene),get(videoscenestarttime)));
,
    js(accessWebVr(null));
);"
		tooltip="webvrbuttontooltip"
		onhover="showTooltip('plugin');"
		onout="hideTooltip();"

		width="50"
		height="prop"
		crop="0|0|100|63"
		/>

	<events name="webvrbuttonevents"
		onvrunavailable="hidewebvrbutton(true);"
		onTourStart="showwebvrbutton();"
		hidetourcontrols="hidewebvrbutton();"
		showtourcontrols="showwebvrbutton();"
		keep="true" />
	<action name="hidewebvrbutton">if(%1 == true,set(layer[webvrbutton].blocked, true););set(layer[webvrbutton].visible, false);</action>
	<action name="showwebvrbutton">if(tour_displaycontrols,if(layer[webvrbutton].blocked == false,set(layer[webvrbutton].visible, true););,hidewebvrbutton(););</action>


<!-- ********** -->
<!-- Analytics -->
<!-- id : analytics -->
<!-- ********** -->

<ptplugin name="analytics" engine="kolorAnalytics">
	<settings>
		<option name="source" value="google" type="string" />
		<option name="tracking_id" value="UA-41542029-1" type="string" />
		<option name="anonymizeIp" value="true" type="bool" />
		<option name="force_ssl" value="false" type="bool" />
		<option name="force_test" value="false" type="bool" />
		<option name="start_page" value="TheRidgesSanctuary_desktop" type="string" />
		<option name="start_title" value="The Ridges" type="string" />
		<option name="start_lang" value="en" type="string" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
</ptplugin>

<action name="kolorAnalyticsJsReady_analytics">
	set(ptplugin[analytics].jsready, true);
</action>

<action name="activate_analytics">
	if(ptplugin[analytics].jsready,
		stopdelayedcall(delay_analytics_active);
		js(invokePluginFunction(analytics, toggleDeactivation, false));
	,
		delayedcall(delay_analytics_active, 0.1, activate_analytics(););
	);
</action>

<action name="deactivate_analytics">
	if(ptplugin[analytics].jsready,
		stopdelayedcall(delay_analytics_active);
		js(invokePluginFunction(analytics, toggleDeactivation, true));
	,
		delayedcall(delay_analytics_active, 0.1, deactivate_analytics(););
	);
</action>

<action name="sendPage_analytics">
	if(ptplugin[analytics].jsready,
		stopdelayedcall(delay_analytics_page);
		js(invokePluginFunction(analytics, sendPageview, %1, %2));
	,
		delayedcall(delay_analytics_page,0.5,sendPage_analytics(%1,%2));
	);
</action>

<!-- 
sendEvent_analytics action :
* param1 : category
* param2 : action
* param3 : label
* param4 : number value
-->
<action name="sendEvent_analytics">
	if(ptplugin[analytics].jsready,
		stopdelayedcall(delay_analytics_event);
		js(invokePluginFunction(analytics, sendEvent, %1, %2, %3, %4));
	,
		delayedcall(delay_analytics_event,0.5,sendEvent_analytics(%1,%2,%3,%4));
	);
</action>

<action name="changeLanguage_analytics">
	if(ptplugin[analytics].jsready,
		stopdelayedcall(delay_analytics_lang);
		js(invokePluginFunction(analytics, changeLanguage));
	,
		delayedcall(delay_analytics_lang,0.1,changeLanguage_analytics());
	);
</action>

<events name="kolorAnalyticsEvents_analytics" 
	keep="true"
	onTourStart="sendEvent_analytics('panotour','tour start', 'The Ridges');"
	onnewpano="sendPage_analytics(get(scene[get(xml.scene)].name), get(scene[get(xml.scene)].titleid));"
	changetourlanguage="changeLanguage_analytics();"
	/>

<action name="viewControlZoomIn">
	if(%1,
		if(%2,
			if(%2 LT view.fovmin,
				zoomto(get(view.fovmin));
			,
				if(%2 LT view.fov,
					zoomto(%2);
				);
			);
		,
			set(fov_moveforce, -1);
			delayedcall(0.1, viewControlZoomStop());
		);
	,
		set(fov_moveforce, -1);
	);
</action>
<action name="viewControlZoomOut">
	if(%1,
		if(%2,
			if(%2 GT view.fovmax,
				zoomto(get(view.fovmax));
			,
				if(%2 GT view.fov,
					zoomto(%2);
				);
			);
		,
			set(fov_moveforce, +1);
			delayedcall(0.1, viewControlZoomStop());
		);
	,
		set(fov_moveforce, +1);
	);
</action>
<action name="viewControlZoomStop">
	set(fov_moveforce, 0);
</action>

  <!-- Tour Information -->
  <action name="hideTourInfo">set(tour_displayinfo, false);events.dispatch(onhidetourinfo);</action>
  <action name="showTourInfo">set(tour_displayinfo, true); events.dispatch(onshowtourinfo);</action>


  <!-- Hide / Show Controls -->
  <action name="hideTourControls">set(tour_displaycontrols, false);events.dispatch(hidetourcontrols);</action>
  <action name="showTourControls">set(tour_displaycontrols, true); events.dispatch(showtourcontrols);</action>


  <action name="enableGyroscope">
    changeGyroscopeState(true);
  </action>
  <action name="disableGyroscope">
    changeGyroscopeState(false);
  </action>


  <!-- Fullscreen Management -->
  <action name="exitFullScreen" devices="fullscreensupport">set(tour_fullscreen,false);js(setFullscreen(false));</action>
  <action name="enterFullScreen" devices="fullscreensupport">set(tour_fullscreen,true);js(setFullscreen(true));</action>
  <action name="switchFullScreen">if(tour_fullscreen,exitFullScreen();,enterFullScreen(););</action>

  
  <events name="krpanoExitFullscreenEvent"
    onexitfullscreen="if(tour_fullscreen,exitFullScreenChangeEvent(););"
    keep="true" />

  <action name="exitFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,false);events.dispatch(onexitfullscreen);</action>
  <action name="enterFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,true);events.dispatch(onenterfullscreen);</action>
  <action name="exitFullScreenFallback">set(fullscreen,false);</action>
  <action name="enterFullScreenFallback">set(fullscreen,true);</action>
  
  <action name="resizeFullScreenEvent">delayedcall(0,updatescreen(););</action>

	<!-- WebVR plugin for VR availability tests -->

	<plugin name="ptpvrmode" devices="html5" keep="true"
		url="%FIRSTXML%/graphics/webvr.js"
		mobilevr_support="true"
		mobilevr_fake_support="true"
		vr_cursor=""
		vr_cursor_enabled="false"
		onavailable="delayedcall(1, checkVrAvailability(););"
		onunavailable="checkVrUnavailable();"
		/>
	<action name="checkVrAvailability">
		if(plugin[ptpvrmode],
			if (plugin[ptpvrmode].isavailable,
				set(tour_vrdevices, true);
				events.dispatch(onvravailable);
			,
				set(tour_vrdevices, false);
			);
		,
			checkVrUnavailable();
		);
	</action>
	<action name="checkVrUnavailable">
		set(tour_vrdevices, false);
		events.dispatch(onvrunavailable);
	</action>
  <!-- Sounds Management -->
  <plugin name="soundinterface"
          preload="true"
          url.flash="%SWFPATH%/graphics/soundinterface.swf"
          url.html5="%FIRSTXML%/graphics/soundinterface.js"
          rootpath="%$videos_sounds_path%/sounds"
          backgroundsound=""
          backgroundsoundloops="0"
          bgsound="false"
          bgsoundpaused="false"
          bgsoundloopended="false"
          bgsoundtoforce = "false"
          volumeinitialized="false"
          started="true"
          keep="true"/>
  <events name="soundmanagementevents"
          onnewpano="if(plugin[soundinterface].started,playbackgroundsound(););"
          onxmlcomplete="soundinterfaceonxmlcomplete();"
          keep="true"/>
  <action name="soundinterfaceonxmlcomplete">
    ifnot(plugin[soundinterface].volumeinitialized,
      div(plugin[soundinterface].volume, tour_soundsvolume, 100);
      set(plugin[soundinterface].volumeinitialized,true);
    );
  </action>
  <action name="playsound3Dwhenpossible">
    set(really_play_sound, true);
    if (tour_current_played_sound,
      if (%1 == tour_current_played_sound,
        delete(tour_current_played_sound);
        set(tour_current_played_sound_state, 0);
        delete(tour_current_played_sound_paused);
        stopsound(%1);
        set(really_play_sound, false);
        if(%4,
          delete(tour_current_played_sound_pausesound);
          resumeTourSoundsActions(true,true,true,true,true);
        );
      );
    );
    if (really_play_sound,
      if (tour_current_played_sound,
        stopsound(get(tour_current_played_sound));

        ifnot(%4,
          if(tour_current_played_sound_pausesound,
            delete(tour_current_played_sound_pausesound);
            resumeTourSoundsActions(true,true,true,true,true);
          );
        );
      );
      if(%4,
        set(tour_current_played_sound_pausesound, true);
        pauseTourSoundsActions(true,false,true,true,true);
      );
      set(tour_current_played_sound, %1);
      if(tour_current_played_video,
        set(tour_current_played_sound_state, 2);
      ,
        set(tour_current_played_sound_state, 1);
      );
      set(tour_current_played_sound_paused, false);
      if (%3,
        if (device.flash,
          div(volume, tour_soundsvolume, 100);
          if(%9 != null,
            playsound3D(%1,%2,%5,%6,%7,get(volume),%8,stopsound3Dwhenpossible(%1,%4));
          ,
            playsound3D(%1,%2,%5,%6,%7,get(volume),%8);
          );
        ,
          if(%9 != null,
            playsound(%1,%2,%8,stopsound3Dwhenpossible(%1,%4));
          ,
            playsound(%1,%2,%8);
          );
        );
      ,
        if(%6 != null,
          playsound(%1,%2,%5,stopsound3Dwhenpossible(%1,%4));
        ,
          playsound(%1,%2,%5);
        );
      );

      ifnot(tour_soundson,
        set(tour_current_played_sound_paused, true);
        pausesound(%1);
      );
    );
  </action>
  <action name="stopsound3Dwhenpossible">
    if (%1 == tour_current_played_sound,
      delete(tour_current_played_sound);
      set(tour_current_played_sound_state, 0);
      delete(tour_current_played_sound_paused);

      ifnot(device.safari,
        stopsound(%1);
      );
      if(%2,
        delete(tour_current_played_sound_pausesound);
        resumeTourSoundsActions(true,true,true,true,true);
      );
    );
  </action>
  <action name="playbackgroundsound">
  if(playsound,
    if (xml.scene,
      if (scene[get(xml.scene)].backgroundsound,
        if (plugin[soundinterface].backgroundsound != scene[get(xml.scene)].backgroundsound,
          copy(plugin[soundinterface].backgroundsound, scene[get(xml.scene)].backgroundsound);
          copy(plugin[soundinterface].backgroundsoundloops, scene[get(xml.scene)].backgroundsoundloops);
          if (tour_soundson,
            set(plugin[soundinterface].bgsound, true);
            set(plugin[soundinterface].bgsoundpaused, false);
            set(plugin[soundinterface].bgsoundloopended, false);
            set(plugin[soundinterface].bgsoundtoforce, false);
            if(scene[get(xml.scene)].video == false OR (scene[get(xml.scene)].video == true AND scene[get(xml.scene)].scenevideomute == true),
              if(plugin[soundinterface].backgroundsoundloops GT 0,
                playsound(bgsoundname, get(plugin[soundinterface].backgroundsound), get(plugin[soundinterface].backgroundsoundloops), stopbackgroundsoundoncomplete());
              ,
                playsound(bgsoundname, get(plugin[soundinterface].backgroundsound), get(plugin[soundinterface].backgroundsoundloops));
              );
            );
           ,
            set(plugin[soundinterface].bgsoundtoforce, true);
            set(plugin[soundinterface].bgsound, false);
          );
        ,
          if (tour_soundson,
            if((plugin[soundinterface].bgsoundpaused == true AND scene[get(xml.scene)].video == false) OR (scene[get(xml.scene)].video == true AND scene[get(xml.scene)].scenevideomute == true),
              resumesound(bgsoundname);
              set(plugin[soundinterface].bgsoundpaused, false);
            );
          ,
            set(plugin[soundinterface].bgsoundtoforce, true);
            set(plugin[soundinterface].bgsound, false);
          );
        );
      );
    );
  ,
    delayedcall(0.2, playbackgroundsound());
  );
  </action>
  <action name="stopbackgroundsoundoncomplete">
    if (plugin[soundinterface].backgroundsound,
    if (plugin[soundinterface].backgroundsoundloops GT 0,

      set(plugin[soundinterface].backgroundsoundloops, 0);
      set(plugin[soundinterface].bgsound, false);
      set(plugin[soundinterface].bgsoundpaused, false);
      set(plugin[soundinterface].bgsoundloopended, true);
    );
    );
  </action>
  <action name="resetbackgroundsoundifneeded">
    if (xml.scene,
      if (scene[get(xml.scene)].backgroundsound != scene[%1].backgroundsound,
        if(plugin[soundinterface].backgroundsound,
          stopsound(bgsoundname);
        );
        set(plugin[soundinterface].backgroundsound, "");
        set(plugin[soundinterface].backgroundsoundloops, 0);
        set(plugin[soundinterface].bgsound, false);
        set(plugin[soundinterface].bgsoundpaused, false);
        set(plugin[soundinterface].bgsoundloopended, false);
      );
    );
  </action>
  <action name="pausebackgroundsound">
    if(plugin[soundinterface].backgroundsound,
      if (plugin[soundinterface].bgsound,
        if(plugin[soundinterface].bgsoundpaused == false AND plugin[soundinterface].bgsoundloopended == false,
          pausesound(bgsoundname);
          set(plugin[soundinterface].bgsoundpaused, true);
        );
      );
    );
    
  </action>
  <action name="resumebackgroundsound">
    set(bgSoundOnResume, true);
    set(forceBgSoundOnResume, true);
    if(layer[displayedStandardVideo],
    if(layer[displayedStandardVideo].pausebgsound AND tour_current_played_video,
      set(bgSoundOnResume, false);
      set(forceBgSoundOnResume, false);
    ););
    if(layer[webvideodisplay_player],
    if(layer[webvideodisplay_player].pausebgsound AND tour_current_played_web_video,
      set(bgSoundOnResume, false);
      set(forceBgSoundOnResume, false);
    ););
    if(tour_current_played_sound_pausesound AND tour_current_played_sound,
      set(bgSoundOnResume, false);
    );
    ifnot(plugin[soundinterface].backgroundsound AND scene[get(xml.scene)].backgroundsound,
      set(bgSoundOnResume, false);
    );
    if(videospots_playing GT 0,
      set(bgSoundOnResume, false);
      set(forceBgSoundOnResume, false);
    );
    if(bgSoundOnResume,
      if (plugin[soundinterface].backgroundsound,
        if (tour_soundson,
          if (plugin[soundinterface].bgsound AND plugin[soundinterface].bgsoundloopended == false,
            if((plugin[soundinterface].bgsoundpaused == true AND scene[get(xml.scene)].video == false) OR (scene[get(xml.scene)].video == true AND scene[get(xml.scene)].scenevideomute == true),
              resumesound(bgsoundname);
              set(plugin[soundinterface].bgsoundpaused, false);
            ,

              if(device.mobile OR device.tablet OR device.safari OR device.chrome,
                resumesound(bgsoundname);
                set(plugin[soundinterface].bgsoundpaused, false);
              );
            );
          ,
            if(((plugin[soundinterface].bgsoundpaused == true OR plugin[soundinterface].bgsoundtoforce == true) AND scene[get(xml.scene)].video == false) OR (scene[get(xml.scene)].video == true AND scene[get(xml.scene)].scenevideomute == true),
              set(plugin[soundinterface].bgsound, true);
              set(plugin[soundinterface].bgsoundpaused, false);
              set(plugin[soundinterface].bgsoundloopended, false);
              set(plugin[soundinterface].bgsoundtoforce, false);
              if(plugin[soundinterface].backgroundsoundloops GT 0,
                playsound(bgsoundname, get(plugin[soundinterface].backgroundsound), get(plugin[soundinterface].backgroundsoundloops), stopbackgroundsoundoncomplete());
              ,
                playsound(bgsoundname, get(plugin[soundinterface].backgroundsound), get(plugin[soundinterface].backgroundsoundloops));
              );
            );
          );
        );
      );
      
    ,
      if(forceBgSoundOnResume,
        playbackgroundsound();
        
      );
    );
  </action>
  <action name="preloadSounds">
    preloadsound("_27_bank_hall.mp3");
    preloadsound("_01_busy_street_corner.mp3");
    preloadsound("_33_woods__birds__crows__leaves.mp3");
    preloadsound("_06_running_stream_with_birds.mp3");
    preloadsound("_34_small_frog.mp3");
    preloadsound("_16_crickets.mp3");
    preloadsound("_13_at_the_beach.mp3");
    preloadsound("_17_cicadas.mp3");
    preloadsound("_07_rain_in_the_forest_with_birds.mp3");
    preloadsound("_09_rowing_a_boat_on_calm_lake.mp3");
  </action>

  <action name="play3DLocalSounds">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, playpanolocalsounds();););
  </action>
  <action name="stop3DLocalSounds">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, stoppanolocalsounds();););
  </action>
  <action name="resume3DLocalSounds">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, 
      set(kill3dSoundOnResume, true);
      if(layer[displayedStandardVideo],
      if(layer[displayedStandardVideo].pausebgsound,
      if(tour_current_played_video,
        set(kill3dSoundOnResume, false);
      );););
      if(layer[webvideodisplay_player],
      if(layer[webvideodisplay_player].pausebgsound,
      if(tour_current_played_web_video,
        set(kill3dSoundOnResume, false);
      );););
      if(tour_current_played_sound_pausesound,
      if(tour_current_played_sound,
        set(kill3dSoundOnResume, false);
      ););
      if(kill3dSoundOnResume,
        resumepanolocalsounds();
      );
    ););
  </action>
  <action name="pause3DLocalSounds">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, pausepanolocalsounds();););
  </action>
  <action name="set3DLocalSoundsVolume">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, setpanolocalsoundsvolume();););
  </action>
  <action name="playTourSounds">
    set(tour_soundson, true);events.dispatch(playtoursoundsevent);
    resumeTourSoundsActions(true,true,true,true,true);
  </action>
  <action name="stopTourSounds">
    set(tour_soundson, false);events.dispatch(stoptoursoundsevent);
    pauseTourSoundsActions(true,true,true,true,true);
  </action>
  <action name="setTourSoundsVolume">
    set(tour_soundsvolume, %1);events.dispatch(changetoursoundsevent);
    div(volume, tour_soundsvolume, 100);
    set(plugin[soundinterface].volume, get(volume));
    set3DLocalSoundsVolume();
  </action>
  <action name="playTourSoundsActions">
    if(%1,
      if(plugin[soundinterface],
        if(plugin[soundinterface].started,
        play3DLocalSounds();
        );
      );
    );
    if(%2,
      if(plugin[soundinterface],
        if(plugin[soundinterface].started,
          resumebackgroundsound();
        );
      );
    );
  </action>
  <action name="stopTourSoundsActions">
    if(%1,
      stop3DLocalSounds();
    );
    if(%2,
      stopSoundActionsSounds();
    );
    if(%3,
      stopVideoActionsSounds();
    );
    if(%4,
      pausebackgroundsound();
    );
  </action>
  <action name="resumeTourSoundsActions">
    if(%1,
      if(plugin[soundinterface],
        if(plugin[soundinterface].started,
        resume3DLocalSounds();
        );
      );
    );
    if(%2,
      resumeSoundActionsSounds();
    );
    if(%3,
      resumeVideoActionsSounds();
    );
    if(%4,
      if(%5,
        if(plugin[soundinterface],
          if(plugin[soundinterface].started,
            resumebackgroundsound();
          );
        );
      ,
        pausebackgroundsound();
      );
    );
  </action>
  <action name="pauseTourSoundsActions">
    if(%1,
      pause3DLocalSounds();
    );
    if(%2,
      pauseSoundActionsSounds();
    );
    if(%3,
      pauseVideoActionsSounds();
    );
    if(%4,
      if(%5,
        pausebackgroundsound();
      ,
        if(plugin[soundinterface],
          if(plugin[soundinterface].started,
            resumebackgroundsound();
          );
        );
      );
    );
  </action>
  <action name="stopSoundActionsSounds">
    if (tour_current_played_sound,
      delete(tour_current_played_sound_paused);
      stopsound(get(tour_current_played_sound));
      delete(tour_current_played_sound);
      set(tour_current_played_sound_state, 0);
    );
  </action>
  <action name="stopVideoActionsSounds">
    if(tour_current_played_video,
      if(layer[displayedStandardVideo],
        layer[displayedStandardVideo].stop();
        removelayer(displayedStandardVideo);
        if(layer[displayedStandardVideoOverlayButton], removelayer(displayedStandardVideoOverlayButton); );
        if(layer[displayedStandardVideoOverlay], removelayer(displayedStandardVideoOverlay); );
        delete(tour_current_played_video);
        set(tour_current_played_video_state, 0);
      );
    );
    if(tour_current_played_web_video,
      displayWebVideoObjectClose();
    );
  </action>
  <action name="resumeSoundActionsSounds">
    if (tour_current_played_sound,
      set(resumeSoundActionsVerification, true);
      if(tour_current_played_video,
        if(tour_current_played_sound_state LT tour_current_played_video_state,
          set(resumeSoundActionsVerification, false);
        );
      );
      if(resumeSoundActionsVerification,
        if (tour_soundson,
          if(tour_current_played_sound_paused,
            set(tour_current_played_sound_paused, false);
            resumesound(get(tour_current_played_sound));
          ,

            if(device.mobile OR device.tablet OR device.safari OR device.chrome,
              set(tour_current_played_sound_paused, false);
              resumesound(get(tour_current_played_sound));
            );
          );
        );
      );
    );
  </action>
  <action name="resumeVideoActionsSounds">
    if(tour_current_played_video,
      set(resumeVideoActionsVerification, true);
      if(tour_current_played_sound,
        if(tour_current_played_video_state LT tour_current_played_sound_state,
          set(resumeVideoActionsVerification, false);
        );
      );
      if(resumeVideoActionsVerification,
        if (tour_soundson,
          if(device.flash OR (device.webgl AND !device.ios),
            div(volume, tour_soundsvolume, 100);
            set(layer[displayedStandardVideo].volume, get(volume));
          ,
            ifnot(device.ios,
              js(kpanotour.Sounds.startVideosSounds(get(volume)));
            ,
              if(tour_soundsvolume GT 0,
                set(layer[displayedStandardVideo].muted, false);
              ,
                set(layer[displayedStandardVideo].muted, true);
              );
            );
          );
        ,
          if(device.flash OR (device.webgl AND !device.ios),
            set(layer[displayedStandardVideo].volume, 0);
          ,
            ifnot(device.ios,
              js(kpanotour.Sounds.stopVideosSounds());
            ,
              set(layer[displayedStandardVideo].muted, true);
            );
          );
        );
      );
    );
  </action>
  <action name="pauseSoundActionsSounds">
    if (tour_current_played_sound,
      ifnot(tour_current_played_sound_paused,
        set(tour_current_played_sound_paused, true);
        pausesound(get(tour_current_played_sound));
      );
    );
  </action>
  <action name="pauseVideoActionsSounds">
    if(tour_current_played_video,
      if(device.flash OR (device.webgl AND !device.ios),
        set(layer[displayedStandardVideo].volume, 0);
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds());
        ,
          set(layer[displayedStandardVideo].muted, true);
        );
      );
    );
  </action>

  <!-- Share Tour -->
  <action name="shareTour">events.dispatch(onsharetour);</action>

<action name="viewControlMoveUp">
	if(%1,
		if(%2,
			set(isfullvertical, false);
			ifnot(scene[get(xml.scene)].planar,
				sub(viewvfov, panoview.vmax, panoview.vmin);
				if (viewvfov == 180,
					set(isfullvertical, true);
				);
			);
			if(isfullvertical == false AND calc(view.vlookat-%2) LT view.vlookatmin,
				moveto(get(view.hlookat), get(view.vlookatmin));
			,
				moveto(get(view.hlookat), calc(view.vlookat-%2));
			);
		,
			set(vlookat_moveforce, -1);
			delayedcall(0.1, viewControlMoveVertStop());
		);
	,
		set(vlookat_moveforce, -1);
	);
</action>
<action name="viewControlMoveDown">
	if(%1,
		if(%2,
			set(isfullvertical, false);
			ifnot(scene[get(xml.scene)].planar,
				sub(viewvfov, panoview.vmax, panoview.vmin);
				if (viewvfov == 180,
					set(isfullvertical, true);
				);
			);
			if(sceneisfull360 == false AND calc(view.vlookat+%2) GT view.vlookatmax,
				moveto(get(view.hlookat), get(view.vlookatmax));
			,
				moveto(get(view.hlookat), calc(view.vlookat+%2));
			);
		,
			set(vlookat_moveforce, +1);
			delayedcall(0.1, viewControlMoveVertStop());
		);
	,
		set(vlookat_moveforce, +1);
	);
</action>
<action name="viewControlMoveLeft">
	if(%1,
		if(%2,
			set(isfullhorizontal, false);
			ifnot(scene[get(xml.scene)].planar,
				sub(viewhfov, panoview.hmax, panoview.hmin);
				if (viewhfov == 360,
					set(isfullhorizontal, true);
				);
			);
			if(isfullhorizontal == false AND calc(view.hlookat-%2) LT view.hlookatmin,
				moveto(get(view.hlookatmin), get(view.vlookat));
			,
				moveto(calc(view.hlookat-%2), get(view.vlookat));
			);
		,
			set(hlookat_moveforce, -1);
			delayedcall(0.1, viewControlMoveHoriStop());
		);
	,
		set(hlookat_moveforce, -1);
	);
</action>
<action name="viewControlMoveRight">
	if(%1,
		if(%2,
			set(isfullhorizontal, false);
			ifnot(scene[get(xml.scene)].planar,
				sub(viewhfov, panoview.hmax, panoview.hmin);
				if (viewhfov == 360,
					set(isfullhorizontal, true);
				);
			);
			if(isfullhorizontal == false AND calc(view.hlookat+%2) GT view.hlookatmax,
				moveto(get(view.hlookatmax), get(view.vlookat));
			,
				moveto(calc(view.hlookat+%2), get(view.vlookat));
			);
		,
			set(hlookat_moveforce, +1);
			delayedcall(0.1, viewControlMoveHoriStop());
			
		);
	,
		set(hlookat_moveforce, +1);
	);
</action>
<action name="viewControlMoveHoriStop">
	set(hlookat_moveforce, 0);
</action>
<action name="viewControlMoveVertStop">
	set(vlookat_moveforce, 0);
</action>

  <!-- FLOORPLAN -->
  <action name="hideFloorplan">set(tour_displayfloorplan, false);events.dispatch(onhidetourfloorplan);</action>
  <action name="showFloorplan">set(tour_displayfloorplan, true); events.dispatch(onshowtourfloorplan);</action>


</krpano>