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

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


  <style name="IconDefaultPointSpotStyle"
         url="%FIRSTXML%/spots/hotspot_plan_user_defaultpoint0.png"
         visible="false"
         edge="center"
         onhover="onhoverIconDefaultPointSpotStyle"
         onout="onoutIconDefaultPointSpotStyle"


         />
  <action name="onhoverIconDefaultPointSpotStyle">
    showtooltip('hotspot');
  </action>
  <action name="onoutIconDefaultPointSpotStyle">
    hideTooltip();



  </action>



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


    
  <!-- Spot Style - POINT1 -->


  <style name="IconPOINT1"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint1.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT2 -->


  <style name="IconPOINT2"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint2.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT3 -->


  <style name="IconPOINT3"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint3.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT4 -->


  <style name="IconPOINT4"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint4.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT5 -->


  <style name="IconPOINT5"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint5.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT6 -->


  <style name="IconPOINT6"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint6.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT7 -->


  <style name="IconPOINT7"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint7.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT8 -->


  <style name="IconPOINT8"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint8.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT9 -->


  <style name="IconPOINT9"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint9.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT10 -->


  <style name="IconPOINT10"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint10.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT11 -->


  <style name="IconPOINT11"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint11.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT12 -->


  <style name="IconPOINT12"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint12.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT13 -->


  <style name="IconPOINT13"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint13.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT14 -->


  <style name="IconPOINT14"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint14.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT15 -->


  <style name="IconPOINT15"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint15.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT16 -->


  <style name="IconPOINT16"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint16.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT17 -->


  <style name="IconPOINT17"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint17.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT18 -->


  <style name="IconPOINT18"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint18.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT19 -->


  <style name="IconPOINT19"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint19.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT20 -->


  <style name="IconPOINT20"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint20.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT21 -->


  <style name="IconPOINT21"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint21.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT22 -->


  <style name="IconPOINT22"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint22.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT23 -->


  <style name="IconPOINT23"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint23.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT24 -->


  <style name="IconPOINT24"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint24.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT25 -->


  <style name="IconPOINT25"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint25.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT26 -->


  <style name="IconPOINT26"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint26.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT27 -->


  <style name="IconPOINT27"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint27.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT28 -->


  <style name="IconPOINT28"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint28.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT29 -->


  <style name="IconPOINT29"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint29.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT30 -->


  <style name="IconPOINT30"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint30.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT31 -->


  <style name="IconPOINT31"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint31.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT32 -->


  <style name="IconPOINT32"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint32.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT33 -->


  <style name="IconPOINT33"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint33.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT34 -->


  <style name="IconPOINT34"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint34.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT35 -->


  <style name="IconPOINT35"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint35.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT36 -->


  <style name="IconPOINT36"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint36.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT37 -->


  <style name="IconPOINT37"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint37.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT38 -->


  <style name="IconPOINT38"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint38.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT39 -->


  <style name="IconPOINT39"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint39.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



    
  <!-- Spot Style - POINT40 -->


  <style name="IconPOINT40"
         url="%FIRSTXML%/spots/geopark_logo-01_copy_user_defaultpoint40.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(all);"

         height="20"
         width="40"
         />



  <!-- MAP -->
  <action name="hideMap">set(tour_displaymap, false);events.dispatch(onhidetourmap);</action>
  <action name="showMap">set(tour_displaymap, true); events.dispatch(onshowtourmap);</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="setTourLanguage">
  if (%1 == null,
    showlog();
    trace("CHANGE TOUR LANGUAGE : NO LANGUAGE SET");
   ,
    set(tour_language, %1);
    js(eventTourChangeLanguage(get(tour_language)));
    events.dispatch(changetourlanguage);
  );
</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>

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

</krpano>