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

    
  <!-- Spot Style - Default Point Spot Style 1 -->
  <style name="IconDefaultPointSpotStyle1"
         url="%FIRSTXML%/spots/hotspot_direction_sequence_user_defaultpoint0.png"
         visible="false"
         frame="0"
         lastframe="18"
         framewidth="50"
         frameheight="50"
         stopspotsequence="false"
         crop="0|0|50|50"
         onloaded="startspotanimation(0.1);"
         rotate="270"
         onhover="onhoverIconDefaultPointSpotStyle1"
         onover="onoverIconDefaultPointSpotStyle1"
         onout="onoutIconDefaultPointSpotStyle1"
         />
  <action name="onhoverIconDefaultPointSpotStyle1">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconDefaultPointSpotStyle1">
tween(scale, 1.2);

pauseautorotation(forcehotspot);

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

resumeautorotation(forcehotspot);

  </action>



	<!-- ***************************** -->
	<!-- Docked Thumbnails Control Bar -->
	<!-- ***************************** -->



<krpano themeunanimebarbuilt="false" themeunanimeIsOpened="false" />

<events name="themeunanimebarevents" 
	onxmlcomplete="themeunanimebuildMenuBar();"
	
	keep="true"/>

<action name="themeunanimebuildMenuBar">
	ifnot (themeunanimebarbuilt, themeunanimebuildMenu(); set(themeunanimebarbuilt, true););
</action>



<action name="themeunanimebuildMenu">
	
    set(themeunanimebutton_pos, 0);


      if (device.desktop,
        set(layer[themeunanimebtn_display_help].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_display_help_bg].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_close_help].x  , get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_close_help_bg].x  , get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);
      );

      if (device.fullscreensupport,
        set(layer[themeunanimebtn_openfs].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_closefs].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_openfs_bg ].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_closefs_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);
      );


      set(layer[themeunanimebtn_share].x   , get(themeunanimebutton_pos));
      set(layer[themeunanimebtn_share_bg].x, get(themeunanimebutton_pos));
      inc(themeunanimebutton_pos, 36);


      set(layer[themeunanimebtn_autorotate_on].x , get(themeunanimebutton_pos));
      set(layer[themeunanimebtn_autorotate_on_bg].x , get(themeunanimebutton_pos));
      set(layer[themeunanimebtn_autorotate_off].x, get(themeunanimebutton_pos));
      set(layer[themeunanimebtn_autorotate_off_bg].x, get(themeunanimebutton_pos));
      inc(themeunanimebutton_pos, 36);





      if (device.desktop,
        set(layer[themeunanimebtn_right].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_right_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);

        set(layer[themeunanimebtn_left].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_left_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);
      );

      if (device.desktop,
        set(layer[themeunanimebtn_down].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_down_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);

        set(layer[themeunanimebtn_up].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_up_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);
      );

      if (device.desktop,
        set(layer[themeunanimebtn_out].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_out_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);
        set(layer[themeunanimebtn_in].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_in_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);
      );


      if (scene.count GT 1,
        set(layer[themeunanimebtn_next_pano].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_next_pano_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);

        set(layer[themeunanimebtn_prev_pano].x, get(themeunanimebutton_pos));
        set(layer[themeunanimebtn_prev_pano_bg].x, get(themeunanimebutton_pos));
        inc(themeunanimebutton_pos, 36);
      );

	
	
	
</action>

<events name="themeunanimeStartTourEvents" onTourStart="themeunanimeCallOnStartTour();" keep="true" />

<action name="themeunanimeCallOnStartTour">
	
	themeunanimeshowMenuControls();
</action>


    <layer name="themeunanime_bg"
           keep="true"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/footer.png"
           zorder="0"
           width="100%"
           align="bottomleft"
           x="0"
           visible="false" />

    <style name="themeunanime_btn_style_bg"
            keep="true"
            parent="themeunanime_bg"
            crop="0|0|48|48"
            url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_bg.png"
            align="bottomright"
            height="36"
            width="36"
            alpha="0.3"
            y="12"
            zorder="0"
            />

    <style name="themeunanime_btn_style_on_bg"
           keep="true"
           parent="themeunanime_bg"
           crop="0|48|48|48"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_bg.png"
           align="bottomright"
           height="36"
           width="36"
           alpha="0.3"
           y="12"
           zorder="0"
           />

    <style name="themeunanime_btn_down_style"
           keep="true"
           parent="themeunanime_bg"
                 crop="0| 0|48|48"
           onovercrop="0|48|48|48"
           ondowncrop="0|96|48|48"
           align="bottomright"
           height="36"
           width="36"
           x="0" y="12"
           zorder="1"
           onhover="showTooltip('plugin');"
           onover="themeunanimectrl_btn_onoveraction"
           onout="themeunanimectrl_btn_onoutaction"
           />

    <style name="themeunanime_btn_style"
           keep="true"
           parent="themeunanime_bg"
                 crop="0| 0|48|48"
           onovercrop="0|48|48|48"
           ondowncrop="0|96|48|48"
           align="bottomright"
           height="36"
           width="36"
           x="0" y="12"
           zorder="1"
           onhover="showTooltip('plugin');"
           onover="themeunanimectrl_btn_onoveraction"
           ondown="themeunanimectrl_btn_ondownaction"
           onout="themeunanimectrl_btn_onoutaction"
           />

  <action name="themeunanimectrl_btn_onoveraction">
    txtadd(btn_bg_name, get(name), "_bg");
    set(layer[get(btn_bg_name)].crop, "0|48|48|48");
  </action>

  <action name="themeunanimectrl_btn_ondownaction">
    txtadd(btn_bg_name, get(name), "_bg");
    set(layer[get(btn_bg_name)].crop, "0|96|48|48");
  </action>

  <action name="themeunanimectrl_btn_onoutaction">
    txtadd(btn_bg_name, get(name), "_bg");
    set(layer[get(btn_bg_name)].crop, "0|0|48|48");
    hideTooltip();
  </action>

    <style name="themeunanime_btn_style_on"
            keep="true"
            parent="themeunanime_bg"
                  crop="0|48|48|48"
            onovercrop="0|48|48|48"
            ondowncrop="0|96|48|48"
            align="bottomright"
            height="36"
            width="36"
            y="12"
            zorder="1"
            onhover="showTooltip('plugin');" 
            onout="hideTooltip();"
            />



    <layer name="themeunanimebtn_in_bg" style="themeunanime_btn_style_bg" visible="false" devices="desktop"/>
    <layer name="themeunanimebtn_in"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_zoom_in.png"
           style="themeunanime_btn_down_style"
           ondown="themeunanimectrl_btn_ondownaction();set(fov_moveforce, -1);
"
           onup="set(fov_moveforce, 0);
"
           tooltip="controlBar_dockedThumbnailszoomInTip"
           devices="desktop"
           visible="false"
           />
    <layer name="themeunanimebtn_out_bg" style="themeunanime_btn_style_bg" visible="false" devices="desktop"/>
    <layer name="themeunanimebtn_out"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_zoom_out.png"
           style="themeunanime_btn_down_style"
           ondown="themeunanimectrl_btn_ondownaction();set(fov_moveforce, +1);
"
           onup="set(fov_moveforce, 0);
"
           tooltip="controlBar_dockedThumbnailszoomOutTip"
           devices="desktop"
           visible="false"
           />

    <layer name="themeunanimebtn_left_bg" style="themeunanime_btn_style_bg" devices="desktop" visible="false" />
    <layer name="themeunanimebtn_left"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_move_left.png"
           style="themeunanime_btn_down_style"
           ondown="themeunanimectrl_btn_ondownaction();set(hlookat_moveforce, -1);
"
           onup="set(hlookat_moveforce, 0);
"
            tooltip="controlBar_dockedThumbnailsmoveLeftTip"
           devices="desktop"
           visible="false"
           />
    <layer name="themeunanimebtn_right_bg" style="themeunanime_btn_style_bg" devices="desktop" visible="false" />
    <layer name="themeunanimebtn_right"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_move_right.png"
           style="themeunanime_btn_down_style"
           ondown="themeunanimectrl_btn_ondownaction();set(hlookat_moveforce, +1);
"
           onup="set(hlookat_moveforce, 0);
"
            tooltip="controlBar_dockedThumbnailsmoveRightTip"
           devices="desktop"
           visible="false"
           />

    <layer name="themeunanimebtn_up_bg" style="themeunanime_btn_style_bg" devices="desktop" visible="false" />
    <layer name="themeunanimebtn_up"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_move_up.png"
           style="themeunanime_btn_down_style"
           ondown="themeunanimectrl_btn_ondownaction();set(vlookat_moveforce, -1);
"
           onup="set(vlookat_moveforce, 0);
"
            tooltip="controlBar_dockedThumbnailsmoveUpTip"
           devices="desktop"
           visible="false"
           />
    <layer name="themeunanimebtn_down_bg" style="themeunanime_btn_style_bg" devices="desktop" visible="false" />
    <layer name="themeunanimebtn_down"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_move_down.png"
           style="themeunanime_btn_down_style"
           ondown="themeunanimectrl_btn_ondownaction();set(vlookat_moveforce, +1);
"
           onup="set(vlookat_moveforce, 0);
"
            tooltip="controlBar_dockedThumbnailsmoveDownTip"
           devices="desktop"
           visible="false"
           />



    <layer name="themeunanimebtn_prev_pano_bg" style="themeunanime_btn_style_bg" visible="false" />
    <layer name="themeunanimebtn_prev_pano"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_previous_scene.png"
           onclick="loadPreviousScene();
"
           style="themeunanime_btn_style"
           tooltip="controlBar_dockedThumbnailsprevSceneTip"
           visible="false"
           />
    <layer name="themeunanimebtn_next_pano_bg" style="themeunanime_btn_style_bg" visible="false" />
    <layer name="themeunanimebtn_next_pano"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_next_scene.png"
           onclick="loadNextScene();
"
           style="themeunanime_btn_style"
            tooltip="controlBar_dockedThumbnailsnextSceneTip"
           visible="false"
           />


    <layer name="themeunanimebtn_share_bg" style="themeunanime_btn_style_bg" visible="false" />
    <layer name="themeunanimebtn_share"
            url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_share.png"
            onclick="shareTour();
"
            style="themeunanime_btn_style"
            visible="false"
            tooltip="controlBar_dockedThumbnailsshareTip"
            />


    <layer name="themeunanimebtn_openfs_bg" style="themeunanime_btn_style_bg" visible="false" devices="fullscreensupport" />
    <layer name="themeunanimebtn_openfs"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_enter_fs.png"
           onclick="enterFullscreen();
"
           style="themeunanime_btn_style"
           visible="false"
           tooltip="controlBar_dockedThumbnailsopenFsTip"
           devices="fullscreensupport"
           />
    <layer name="themeunanimebtn_closefs_bg" style="themeunanime_btn_style_on_bg" visible="false" devices="fullscreensupport" />
    <layer name="themeunanimebtn_closefs"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_close_fs.png"
           onclick="exitFullscreen();
"
           style="themeunanime_btn_style_on"
           visible="false"
           tooltip="controlBar_dockedThumbnailscloseFsTip"
           devices="fullscreensupport"
           />

    <layer name="themeunanimebtn_autorotate_on_bg" style="themeunanime_btn_style_bg" visible="false" />
    <layer name="themeunanimebtn_autorotate_on"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_start_autorotation.png"
           onclick="resumeautorotation();
"
           style="themeunanime_btn_style"
           visible="false"
            tooltip="controlBar_dockedThumbnailsautorotateOnTip"
           />
    <layer name="themeunanimebtn_autorotate_off_bg" style="themeunanime_btn_style_on_bg" visible="false" />
    <layer name="themeunanimebtn_autorotate_off"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_stop_autorotation.png"
           onclick="pauseautorotation();
"
           style="themeunanime_btn_style_on"
           visible="false"
           tooltip="controlBar_dockedThumbnailsautorotateOffTip"
           />



    <layer name="themeunanimebtn_display_help_bg" style="themeunanime_btn_style_bg" visible="false" devices="desktop" />
    <layer name="themeunanimebtn_display_help"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_help.png"
           onclick="themeunanimedisplayHelp();"
           style="themeunanime_btn_style"
           tooltip="controlBar_dockedThumbnailsdisplayHelpTip"
           devices="desktop"
           visible="false"
           />
    <layer name="themeunanimebtn_close_help_bg" style="themeunanime_btn_style_on_bg" visible="false" devices="desktop"/>
    <layer name="themeunanimebtn_close_help"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/btn_help.png"
           onclick="themeunanimecloseHelp();"
           style="themeunanime_btn_style_on"
           visible="false"
           tooltip="controlBar_dockedThumbnailshideHelpTip"
           devices="desktop"
           />




<action name="themeunanimehideMenuControls">
	set(themeunanimeIsOpened, false);
	set(layer[themeunanime_bg].visible, false);
	set(layer[themeunanimebtn_in_bg].visible, false);
	set(layer[themeunanimebtn_out_bg].visible, false);
	set(layer[themeunanimebtn_in].visible, false);
	set(layer[themeunanimebtn_out].visible, false);
	set(layer[themeunanimebtn_right_bg].visible, false);
	set(layer[themeunanimebtn_left_bg].visible, false);
	set(layer[themeunanimebtn_right].visible, false);
	set(layer[themeunanimebtn_left].visible, false);
	set(layer[themeunanimebtn_down_bg].visible, false);
	set(layer[themeunanimebtn_up_bg].visible, false);
	set(layer[themeunanimebtn_down].visible, false);
	set(layer[themeunanimebtn_up].visible, false);
	if (scene.count GT 1,
	set(layer[themeunanimebtn_prev_pano_bg].visible, false);
	set(layer[themeunanimebtn_next_pano_bg].visible, false);
	set(layer[themeunanimebtn_prev_pano].visible, false);
	set(layer[themeunanimebtn_next_pano].visible, false);
	);

	set(layer[themeunanimebtn_share_bg].visible, false);
	set(layer[themeunanimebtn_share].visible, false);







		themeunanimeupdateFullscreenButtons();
		themeunanimeupdateAutorotationButtons();


		themeunanimeupdateHelpButtons();


</action>
<action name="themeunanimeshowMenuControls">
	set(themeunanimeIsOpened, true);
      themeunanimeupdateFullscreenButtons();


      themeunanimeupdateAutorotationButtons();






      themeunanimeupdateHelpButtons();
      set(layer[themeunanime_bg].visible, true);
	set(layer[themeunanimebtn_in_bg].visible, true);
	set(layer[themeunanimebtn_out_bg].visible, true);
	set(layer[themeunanimebtn_in].visible, true);
	set(layer[themeunanimebtn_out].visible, true);
	set(layer[themeunanimebtn_right_bg].visible, true);
	set(layer[themeunanimebtn_left_bg].visible, true);
	set(layer[themeunanimebtn_right].visible, true);
	set(layer[themeunanimebtn_left].visible, true);
	set(layer[themeunanimebtn_down_bg].visible, true);
	set(layer[themeunanimebtn_up_bg].visible, true);
	set(layer[themeunanimebtn_down].visible, true);
	set(layer[themeunanimebtn_up].visible, true);
	if (scene.count GT 1,
	set(layer[themeunanimebtn_prev_pano_bg].visible, true);
	set(layer[themeunanimebtn_next_pano_bg].visible, true);
	set(layer[themeunanimebtn_prev_pano].visible, true);
	set(layer[themeunanimebtn_next_pano].visible, true);
	);

	set(layer[themeunanimebtn_share_bg].visible, true);
	set(layer[themeunanimebtn_share].visible, true);

	
	
</action>


    <layer name="themeunanimehelpScreenBg" align="center" keep="true" onclick="themeunanimecloseHelp();"
           url="%FIRSTXML%/graphics/dockedthumbscontrolbar/help_screen_bg.png"
           visible="false"
           zorder="97"
           >
      <layer name="themeunanimehelpScreen" align="center" keep="true" onclick="themeunanimecloseHelp();" 
             url="%FIRSTXML%/graphics/dockedthumbscontrolbar/help_screen_fg.png"
             height="100%" 
             width="prop" 
             displayed="false"
             />
    </layer>
    <action name="themeunanimedisplayHelp">
      if (device.desktop,
        set(layer[themeunanimehelpScreen].displayed, true);
        set(layer[themeunanimehelpScreenBg].visible,true);
        themeunanimeupdateHelpButtons();
      );
    </action>
    <action name="themeunanimecloseHelp">
      if (device.desktop,
        set(layer[themeunanimehelpScreen].displayed, false);
        set(layer[themeunanimehelpScreenBg].visible,false);
        themeunanimeupdateHelpButtons();
      );
    </action>
	<action name="themeunanimeHideHelpButtons">
		set(layer[themeunanimebtn_display_help].visible, false);
		set(layer[themeunanimebtn_close_help].visible, false);
		set(layer[themeunanimebtn_display_help_bg].visible, false);
		set(layer[themeunanimebtn_close_help_bg].visible, false);
	</action>
	<action name="themeunanimeShowHelpButtons">
		if (layer[themeunanimehelpScreen].displayed,
			set(layer[themeunanimebtn_close_help].visible, true);
			set(layer[themeunanimebtn_display_help].visible, false);
			set(layer[themeunanimebtn_close_help_bg].visible, true);
			set(layer[themeunanimebtn_display_help_bg].visible, false);
		,
			set(layer[themeunanimebtn_display_help].visible, true);
			set(layer[themeunanimebtn_close_help].visible, false);
			set(layer[themeunanimebtn_display_help_bg].visible, true);
			set(layer[themeunanimebtn_close_help_bg].visible, false);
		);
	</action>
	<action name="themeunanimeupdateHelpButtons">
	if (device.desktop,
		set(themeunanimeDisplayHelpButtons, false);
		if (themeunanimeIsOpened, set(themeunanimeDisplayHelpButtons, true););
		if (themeunanimeDisplayHelpButtons,
			themeunanimeShowHelpButtons();
		,
			themeunanimeHideHelpButtons();
		);
	,
		themeunanimeHideHelpButtons();
	);
	</action>
    


	<events name="themeunanimemenufullscreenchangeevent"
		onenterfullscreen="themeunanimeupdateFullscreenButtons();"
		onexitfullscreen="themeunanimeupdateFullscreenButtons();"
		keep="true"/>
	<action name="themeunanimeHideFullscreenButtons">
		set(layer[themeunanimebtn_openfs].visible , false);
		set(layer[themeunanimebtn_closefs].visible, false);
		set(layer[themeunanimebtn_openfs_bg].visible, false);
		set(layer[themeunanimebtn_closefs_bg].visible, false);
	</action>
	<action name="themeunanimeShowFullscreenButtons">
		if (device.fullscreensupport,
			if(tour_fullscreen,
				set(layer[themeunanimebtn_openfs].visible , false);
				set(layer[themeunanimebtn_closefs].visible, true);
				set(layer[themeunanimebtn_openfs_bg].visible, false);
				set(layer[themeunanimebtn_closefs_bg].visible, true);
			,
				set(layer[themeunanimebtn_openfs].visible ,true);
				set(layer[themeunanimebtn_closefs].visible,false);
				set(layer[themeunanimebtn_openfs_bg].visible, true);
				set(layer[themeunanimebtn_closefs_bg].visible, false);
			);
		,
			themeunanimeHideFullscreenButtons();
		);
	</action>
	<action name="themeunanimeupdateFullscreenButtons">
		set(themeunanimeDisplayFullscreenButtons, false);
		if (themeunanimeIsOpened, set(themeunanimeDisplayFullscreenButtons, true););
		if (themeunanimeDisplayFullscreenButtons,
			themeunanimeShowFullscreenButtons();
		,
			themeunanimeHideFullscreenButtons();
		);
	</action>

	<events name="themeunanimeAutorotationEvents"
		onstartautorotation="themeunanimeupdateAutorotationButtons();"
		onresumeautorotation="themeunanimeupdateAutorotationButtons();"
		onstopautorotation="themeunanimeupdateAutorotationButtons();"
		onpauseautorotation="themeunanimeupdateAutorotationButtons();"
		keep="true"/>
	<action name="themeunanimeHideAutorotationButtons">
		set(layer[themeunanimebtn_autorotate_off].visible, false);
		set(layer[themeunanimebtn_autorotate_on].visible , false);
		set(layer[themeunanimebtn_autorotate_off_bg].visible, false);
		set(layer[themeunanimebtn_autorotate_on_bg].visible , false);
	</action>
	<action name="themeunanimeShowAutorotationButtons">
		if(autorotate.enabled == false,
			set(layer[themeunanimebtn_autorotate_off].visible, false);
			set(layer[themeunanimebtn_autorotate_on].visible , true);
			set(layer[themeunanimebtn_autorotate_off_bg].visible, false);
			set(layer[themeunanimebtn_autorotate_on_bg].visible , true);
		,
			set(layer[themeunanimebtn_autorotate_off].visible, true);
			set(layer[themeunanimebtn_autorotate_on].visible , false);
			set(layer[themeunanimebtn_autorotate_off_bg].visible, true);
			set(layer[themeunanimebtn_autorotate_on_bg].visible , false);
		);
	</action>
	<action name="themeunanimeupdateAutorotationButtons">
		set(themeunanimeDisplayAutorotationButtons, false);
		if (themeunanimeIsOpened, set(themeunanimeDisplayAutorotationButtons, true););
		if (themeunanimeDisplayAutorotationButtons,
			themeunanimeShowAutorotationButtons();
		,
			themeunanimeHideAutorotationButtons();
		);
	</action>






  <!-- ******************* -->
  <!-- Loading Information -->
  <!-- ******************* -->

  <events name="loaderinformationevent" onxmlcomplete="loaderinformationupdate();" keep="true" devices="flash" />

  <action name="loaderinformationupdate" devices="flash">
    if (progress.progress == 1,
      delayedcall(0.5, set(layer[loaderinformationtextfield].visible, false); );
     ,
         set(layer[loaderinformationtextfield].visible, true);
    );
    mul(progresstext, get(progress.progress),100);
    roundval(progresstext);
    txtadd(progresstext, get(progresstext), %);
    set(layer[loaderinformationtextfield].html, get(progresstext));
    ifnot(progress.progress GE 1, delayedcall(0.01, loaderinformationupdate() ));
  </action>

  <layer name="loaderinformationtextfield"
         devices="flash"
         keep="true"
         zorder="1"
         url="%FIRSTXML%/graphics/textfield.swf"
         align="center"
         x="0"
         y="20"
         borderwidth="0"
         background="false"
         autoheight="true"
         autowidth="auto"
         capture="false"
         handcursor="false"
         selectable="false"
         alpha="1"
         visible="true"
         css="
              text-align:center;
              color:#ffffff;
              font-family:Arial;
              font-weight:bold;
              font-size:16px;
             "
  />

  <!-- ************************* -->
  <!-- Progress Bar and Loopings -->
  <!-- ************************* -->
  <progress showload="bar(
                center

                ,
				200,
                10,
				0,
                0,
				shaded,
				0x000000,0xdddddd,0xdddddd,
				0x111111,0,
				0xffffff,0
				)"
			showwait="none"
			showreloads="false"
			parent=""
			/>

<!-- ************ -->
<!-- Context Menu -->
<!-- ************ -->
  <contextmenu fullscreen="false" versioninfo="false" touch="true">
    <item name="author" onclick="getmessage(urltoopen,project_author_url);openurl(get(urltoopen),_blank);" />
    <item name="website1" onclick="getmessage(urltoopen,contextmenuwebsiteurl1);openurl(get(urltoopen),_blank);" />
    <item name="website2" onclick="getmessage(urltoopen,contextmenuwebsiteurl2);openurl(get(urltoopen),_blank);" />
    <item name="fullscreenentry" onclick="enterFullscreen();
" separator="true"/>
  </contextmenu>

  <events name="contextmenuevents" keep="true" onenterfullscreen="updateContextMenu" onexitfullscreen="updateContextMenu" onxmlcomplete="updateContextMenu"/>
  <action name="updateContextMenu">
    getmessage(contextmenu.item[author].caption, project_author_name);
    getmessage(contextmenu.item[website1].caption, contextmenuopenwebsitelabel1);
    getmessage(contextmenu.item[website2].caption, contextmenuopenwebsitelabel2);
    if (device.fullscreensupport,
      if(tour_fullscreen,
        getmessage(contextmenu.item[fullscreenentry].caption, contextmenucloseFsLabel);
        set(contextmenu.item[fullscreenentry].onclick, exitFullscreen();
);
       ,
        getmessage(contextmenu.item[fullscreenentry].caption, contextmenuopenFsLabel);
        set(contextmenu.item[fullscreenentry].onclick, enterFullscreen();
);
      );
     ,
      set(contextmenu.item[fullscreenentry].visible, false);
    );
  </action>


  <!-- ************ -->
  <!-- Social Share -->
  <!-- ************ -->




<ptplugin name="socialShare" engine="kolorBox">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="margin_x" value="15" type="int" />
		<option name="margin_y" value="15" 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="ffffff" type="string" />
		<option name="container_alpha" value="0.8" 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="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.500007629510948" type="float" />
		<option name="social_btn" value="facebook#twitter#google#linkedin#email" type="string" />
		<option name="social_orientation" value="horizontal" type="string" />
		<option name="social_btn_size" value="64" type="int" />
		<option name="inner_margin" value="10" type="int" />
		
		
		<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_callback" value="invokeKrFunction('closeKolorBoxCallback-socialShare')" type="string" />
		<option name="zorder" value="4" type="int" />
	</settings>
	<internaldata>
		
	</internaldata>
</ptplugin>

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

</action>



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

			js(invokePluginFunction(socialShare, loadSingleArrayItem, social));
		events.dispatch(onremovedisplayedobject);
	);
</action>

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


<action name="closeKolorBox-socialShare">
	js(invokePluginFunction(socialShare, closeKolorBox));
</action>

<action name="closeKolorBoxCallback-socialShare">
	resumeautorotation(forceplugin);

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

<events name="kolorBoxEvents-socialShare" 
	keep="true"
	onsharetour="showSocialShare-socialShare();" 
	
	
/>

  <!-- ************ -->
  <!-- Logo : viewport / bottomleft -->
  <!-- ************ -->

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

			tooltip="logotooltipText"
			onhover="showTooltip('plugin');"
			onout="hideTooltip();"
         url="%FIRSTXML%/graphics/logo/axioncontinu-50_v3.jpg" 
         onclick="openurl(http://www.axioncontinu.nl,_blank);
"

         height="50"
         width="prop"

         />

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





  <!-- ************* -->
  <!-- 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="5" type="int" />
		<option name="margin_y" value="5" type="int" />
		<option name="background_color" value="ffffff" type="string" />
		<option name="background_alpha" value="1" 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_radius" value="7" type="int" />
		<option name="item_hover_border_radius" value="7" type="int" />
		<option name="item_out_border_width" value="0" type="int" />
		<option name="item_hover_border_width" value="0" type="int" />
		<option name="item_out_bg_color" value="ffffff" type="string" />
		<option name="item_out_bg_alpha" value="1" type="float" />
		<option name="item_out_font_color" value="000000" 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="ffffff" type="string" />
		<option name="item_hover_bg_alpha" value="1" type="float" />
		<option name="item_hover_font_color" value="000000" 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="text_align" value="right" type="string" />
		<option name="item_thumb_max_width" value="150" type="int" />
		<option name="item_thumb_max_height" value="75" type="int" />
		<option name="zorder" value="6" type="int" />
	</settings>
	<internaldata>
				<group name="group_1"
						titleID="panogroup2926_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2926"> 

				
				
						<item name="group_1_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2911')"
								titleID="pano2911_title"
								thumbnail=""
							cssClass="pano2911">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_2"
						titleID="panogroup2928_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2928"> 

				
				
						<item name="group_2_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2913')"
								titleID="pano2913_title"
								thumbnail=""
							cssClass="pano2913">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_3"
						titleID="panogroup2922_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2922"> 

				
				
						<item name="group_3_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2907')"
								titleID="pano2907_title"
								thumbnail=""
							cssClass="pano2907">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_4"
						titleID="panogroup2933_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2933"> 

				
				
						<item name="group_4_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2918')"
								titleID="pano2918_title"
								thumbnail=""
							cssClass="pano2918">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_5"
						titleID="panogroup2923_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2923"> 

				
				
						<item name="group_5_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2908')"
								titleID="pano2908_title"
								thumbnail=""
							cssClass="pano2908">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_6"
						titleID="panogroup2924_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2924"> 

				
				
						<item name="group_6_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2909')"
								titleID="pano2909_title"
								thumbnail=""
							cssClass="pano2909">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_7"
						titleID="panogroup2925_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2925"> 

				
				
						<item name="group_7_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2910')"
								titleID="pano2910_title"
								thumbnail=""
							cssClass="pano2910">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_8"
						titleID="panogroup2927_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2927"> 

				
				
						<item name="group_8_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2912')"
								titleID="pano2912_title"
								thumbnail=""
							cssClass="pano2912">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_9"
						titleID="panogroup2929_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2929"> 

				
				
						<item name="group_9_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2914')"
								titleID="pano2914_title"
								thumbnail=""
							cssClass="pano2914">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_10"
						titleID="panogroup2930_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2930"> 

				
				
						<item name="group_10_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2915')"
								titleID="pano2915_title"
								thumbnail=""
							cssClass="pano2915">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_11"
						titleID="panogroup2932_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2932"> 

				
				
						<item name="group_11_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2917')"
								titleID="pano2917_title"
								thumbnail=""
							cssClass="pano2917">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_12"
						titleID="panogroup2934_title"
						thumbnail=""
						subMenu="true"
						cssClass="panogroup2934"> 

				
				
						<item name="group_12_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2919')"
								titleID="pano2919_title"
								thumbnail="VRHuisaandeVechtdata/woonkamer_appartemen_2919/thumbnail.jpg"
							cssClass="pano2919">
						
								<option name="item_out_bg_color" value="fdfdfd" type="string" />
								<option name="item_out_bg_alpha" value="0.705882352941177" type="float" />
								<option name="item_hover_bg_color" value="ffffff" type="string" />
								<option name="item_hover_bg_alpha" value="0.705882352941177" type="float" />
						
						</item>
						<item name="group_12_item_2"
							action="invokeKrFunction('mainloadscene', 'pano2906')"
								titleID="pano2906_title"
								thumbnail="VRHuisaandeVechtdata/badkamer_app_2906/thumbnail.jpg"
							cssClass="pano2906">
						
								<option name="item_out_bg_color" value="fdfdfd" type="string" />
								<option name="item_out_bg_alpha" value="0.705882352941177" type="float" />
								<option name="item_hover_bg_color" value="ffffff" type="string" />
								<option name="item_hover_bg_alpha" value="0.705882352941177" type="float" />
						
						</item>
						<item name="group_12_item_3"
							action="invokeKrFunction('mainloadscene', 'pano2916')"
								titleID="pano2916_title"
								thumbnail="VRHuisaandeVechtdata/slaapkamer_app_2916/thumbnail.jpg"
							cssClass="pano2916">
						
								<option name="item_out_bg_color" value="fdfdfd" type="string" />
								<option name="item_out_bg_alpha" value="0.705882352941177" type="float" />
								<option name="item_hover_bg_color" value="ffffff" type="string" />
								<option name="item_hover_bg_alpha" value="0.705882352941177" type="float" />
						
						</item>
					
						<option name="background_color" value="fdfdfd" type="string" />
						<option name="background_alpha" value="0.705882352941177" type="float" />
				
				</group>
				<group name="group_13"
						titleID="panogroup2920_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup2920"> 

				
				
						<item name="group_13_item_1"
							action="invokeKrFunction('mainloadscene', 'pano2905')"
								titleID="pano2905_title"
								thumbnail=""
							cssClass="pano2905">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
				<group name="group_14"
						titleID="panogroup3230_title"
						thumbnail=""
						subMenu="false"
						cssClass="panogroup3230"> 

				
				
						<item name="group_14_item_1"
							action="invokeKrFunction('mainloadscene', 'pano3228')"
								titleID="pano3228_title"
								thumbnail=""
							cssClass="pano3228">
						
						
						</item>
					
						<option name="background_color" value="808080" type="string" />
						<option name="background_alpha" value="1" type="float" />
				
				</group>
	</internaldata>
</ptplugin>

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

<action name="showKolorMenu-panoramaMenu">
	
	ifnot(ptplugin[panoramaMenu].isOpen,
		set(ptplugin[panoramaMenu].isOpen, true);
		js(openKolorMenu(panoramaMenu));
	,
		if(ptplugin[panoramaMenu].jsready,
			js(invokePluginFunction(panoramaMenu, showKolorMenu));
		);
	);
</action>

<action name="hideKolorMenu-panoramaMenu">
	if(ptplugin[panoramaMenu].jsready,
		js(invokePluginFunction(panoramaMenu, hideKolorMenu));
	);
</action>


<events name="kolorMenuEvents-panoramaMenu" 
	keep="true"
	
	
	onTourStart="showKolorMenu-panoramaMenu();"
/>

  <!-- ************************ -->
  <!-- Title : current panorama -->
  <!-- ************************ -->

  <events name="title_currentpanorama_events" 
    onTourStart="showtitle_currentpanorama();"
    hidetourcontrols="hidetitle_currentpanorama();" 
    showtourcontrols="showtitle_currentpanorama();" 
    onnewpano="updatetitle_currentpanorama();" 
    keep="true" />

  <action name="hidetitle_currentpanorama">set(layer[title_currentpanorama].visible, false);</action>
  <action name="showtitle_currentpanorama">set(layer[title_currentpanorama].visible, true );</action>

  <action name="updatetitle_currentpanorama">
    getmessage(layer[title_currentpanorama].html, get(scene[get(xml.scene)].titleid));
    escape(layer[title_currentpanorama].html);
  </action>
  <layer name="title_currentpanorama" keep="true" zorder="7"
         url="%FIRSTXML%/graphics/textfield.swf"
         align="bottom" x="0" y="20" width="100%" autoheight="true"
         background="false" capture="false" handcursor="false" selectable="false" enabled="false"
         borderwidth="0"
         alpha="1"
         visible="false"
         css="text-align:center;
              color:#cc3399;
              font-family:Arial;
              font-weight:bold;
              font-size:16px;"/>

  <!-- ************ -->
  <!-- Loading Text -->
  <!-- ************ -->

  <layer name="loadingtext"
         keep="true"
         zorder="8"
         url="%FIRSTXML%/graphics/textfield.swf"
         align="center"
         x="0" y="-30"
         html="Klik en sleep om rond te kijken.."
         background="false"
         borderwidth="1"
         border="false"
         autoheight="true"
         autowidth="auto"
         handcursor="false"
         visible="false"
         enabled="false"
         textshadow="2"
         alpha="1"
         css="
              text-align:center;
              color:#ffffff;
              font-family:Arial;
              font-style:italic;
              font-weight:bold;
              font-size:22px;
             "
  />

  <action name="displayloadingtext">
    set(layer[loadingtext].visible, %1);
  </action>

  <events name="displayloadingtextWhenLoading" keep="true"
          onxmlcomplete="displayloadingtext(true);"
          onnewpano="displayloadingtext(true);"
          onremovepano="displayloadingtext(true);"
          onloadcomplete="displayloadingtext(false);"
          />

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

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

</krpano>