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

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


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


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



  </action>



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


  <style name="IconDefaultPointSpotStyle1"
         url="%FIRSTXML%/spots/_3d_model_user_defaultpoint1.png"
         visible="false"
         edge="center"
         onhover="onhoverIconDefaultPointSpotStyle1"
         onout="onoutIconDefaultPointSpotStyle1"

         height="50"
         width="50"
         />
  <action name="onhoverIconDefaultPointSpotStyle1">
    showtooltip('hotspot');
  </action>
  <action name="onoutIconDefaultPointSpotStyle1">
    hideTooltip();



  </action>


 <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots --> <!-- id : cool_hotspot --> <!-- ********** -->    <include url="%FIRSTXML%/graphics/coolhotspots.xml"/>   <style 	cooltype="bubble" 	name="Default Point Spot Style" 	type="container"  	width="50"  	height="50"  	bgalpha="0" 	bgcapture="true"   	accuracy="1" 	bubble_width="50"  	bubble_width_onover="150" 	alwayson="false" 	ttalign="top" 	ttedge="bottom" 	 	onover=" 	hidebbhs(); 	set(zorder,20); 	tween(width|height,get(bubble_width_onover)); 	tween(layer[get(mybubble)].width,get(bubble_width_onover)); 	tween(layer[get(mybubble)].height,get(bubble_width_onover)); 	tween(layer[get(mybubble_shadow)].width,get(bubble_width_onover)); 	tween(layer[get(mybubble_shadow)].height,get(bubble_width_onover)); 	tween(layer[get(mypreview)].alpha,1); 	set(layer[get(mypreview)].enabled,true); 	"     	onout=" 	set(zorder,2);  	tween(width|height,get(bubble_width)); 	tween(layer[get(mybubble)].width,get(bubble_width)); 	tween(layer[get(mybubble)].height,get(bubble_width)); 	tween(layer[get(mybubble_shadow)].width,get(bubble_width)); 	tween(layer[get(mybubble_shadow)].height,get(bubble_width)); 	ifnot(alwayson,tween(layer[get(mypreview)].alpha,0));  	set(layer[get(mypreview)].enabled,false);  	"   	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,-10); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspotbubblelayer); 	txtadd(mybubble_shadow,'bubble_shadow',get(name)); 	addlayer(get(mybubble_shadow)); 	copy(hotspot[get(name)].mybubble_shadow,mybubble_shadow); 	layer[get(mybubble_shadow)].loadstyle(cool_hotspotbubblelayer_shadow); 			 	txtadd(mypreview,'preview_',get(name)); 	addlayer(get(mypreview)); 	copy(hotspot[get(name)].mypreview,mypreview); 	 	 	if(linkedscene, 		set(layer[get(mypreview)].url,get(scene[get(linkedscene)].thumburl)); 	); 	if(linkedgroup, 		set(layer[get(mypreview)].url,get(panoramagroup[get(linkedgroup)].thumburl)); 	); 	if(photourl, 		set(layer[get(mypreview)].url,get(photourl)); 	); 	 	 	layer[get(mypreview)].loadstyle(cool_hotspotbubble_previewlayer); 	 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	copy(layer[get(mybubble_shadow)].parent,parentlayer); 		 	txtadd(parentlayer2,'layer[',get(mybubble),']'); 	copy(layer[get(mypreview)].parent,parentlayer2); 		 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mypreview)].onclick,clickaction);  	" /> <style  	name="cool_hotspotbubblelayer"  	type="container"  	width="50"  	height="50"  	bgalpha="0"  	bgborder="3 0xffffff 1"  	bgroundedge="150"   	bgcapture="true"  	maskchildren="true"  	accuracy="1"  	ondown.touch="callwith(get(parent),onover);"  	align="center" 	 /> <style  	name="cool_hotspotbubblelayer_shadow"  	type="container"  	width="50"  	height="50"  	bgalpha="0"  	bgborder="0 0xffffff 0"  	bgroundedge="150"   	bgcapture="false"  	accuracy="1"  	align="center" 	 		bgshadow="5 5 10 0 0x000000 0.5 inset" 	 /> <style  	name="cool_hotspotbubble_previewlayer"  	align="center" 	accuracy="1" 	width="prop"  	height="150"  	alpha="0"  	enabled="false"  	onloaded="if(pixelheight GT pixelwidth,copy(width,height);set(height,prop));" />       
<!-- ********** -->
<!-- Lecteur de site Internet -->
<!-- id : websiteViewer -->
<!-- ********** -->

<ptplugin name="websiteViewer" engine="kolorBox">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="margin_x" value="125" 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="100" type="int" />
		<option name="container_width_unit" value="percent" type="string" />
		<option name="container_height" value="100" type="int" />
		<option name="container_height_unit" value="percent" type="string" />
		<option name="container_color" value="ffffff" type="string" />
		<option name="container_alpha" value="0.80000000000000004" 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="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="1e3465" type="string" />
		<option name="caption_displayed" value="false" type="bool" />
		<option name="iframe_scrolling" value="auto" type="string" />
		<option name="iframe_default_width" value="1100" type="int" />
		<option name="iframe_default_height" value="800" type="int" />
		<option name="iframe_devices_width" value="1100" type="int" />
		<option name="iframe_devices_height" value="800" type="int" />
		<option name="force_ios_scrolling" 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="websiteViewerfullscreen_text" type="string" />




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

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

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

<action name="openWebsite_websiteViewer">
	ifnot(ptplugin[websiteViewer].isOpen,
		set(ptplugin[websiteViewer].isOpen, true);
		set(ptplugin[websiteViewer].doNotDeleteMe, false);
		getmessage(websiteViewer_boxurl, %1);
		txtadd(websiteViewer_boxurl, ?iframe=true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(websiteViewer, loadSingleArrayItem, get(websiteViewer_boxurl), %2));
		events.dispatch(onremovedisplayedobject);
	,
		if('%1' != websiteViewer_boxurl,
			closeKolorBox_websiteViewer();
			delayedcall(0.3,openWebsite_websiteViewer(%1,%2););
		);
	);
</action>

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


<action name="closeKolorBox_websiteViewer">
	js(invokePluginFunction(websiteViewer, closeKolorBox));
</action>

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

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

<action name="changeLanguage_websiteViewer">
	if(ptplugin[websiteViewer].jsready,
		stopdelayedcall(delay_websiteViewer);
		js(invokePluginFunction(websiteViewer, changeLanguage));
	,
		delayedcall(delay_websiteViewer, 0.1, changeLanguage_websiteViewer(););
	);
</action>

<events name="kolorBoxEvents_websiteViewer" 
	keep="true"
	changetourlanguage="changeLanguage_websiteViewer();"
	/>

<!-- ********** -->
<!-- Sans Control Bar -->
<!-- id : SansControlBar -->
<!-- ********** -->

  <krpano SansControlBarbarbuilt="false" SansControlBarbackgroundwidthwhenclosed="0" SansControlBarbackgroundwidthwhenopened="0" SansControlBarIsOpened="false" />
  <events name="SansControlBarevents" 
    onxmlcomplete="SansControlBarbuildMenuBar();" 


    keep="true" />



  <action name="SansControlBarbuildMenuBar">
    ifnot (SansControlBarbarbuilt, SansControlBarbuildMenu(); set(SansControlBarbarbuilt, true););
  </action>

  <style name="SansControlBar_btn_style"
         keep="true"
         edge="right"
         align="right"
         x="0" y="0"
         width="40" height="40"
         crop="0|0|60|60"
         onovercrop="0|60|60|60"
         ondowncrop="0|120|60|60"
         onhover="showTooltip('plugin', SansControlBarmenuTooltipStyle, bottom);"
         onout="hideTooltip();"
         />
  <style name="SansControlBar_btn_style_off"
         keep="true"
         edge="right"
         align="right"
         x="0" y="0"
         width="40" height="40"
         onhover="showTooltip('plugin', SansControlBarmenuTooltipStyle, bottom);"
         onout="hideTooltip();"
         />

  <layer name="SansControlBar_menu_bg"
         keep="true"
         type="container"
         zorder="3"
         width="40"
         height="40"
         align="bottom"
         x="0" y="10"
         maskchildren="true"
         rotate="0"
         visible="false"
         >


    <layer name="SansControlBarbtn_ctrlmode_move_to"
            url="%FIRSTXML%/graphics/sans controlbar/btn_move_to.png"
            style="SansControlBar_btn_style"
            tooltip="SansControlBarctrlmodeMoveTip"
            onclick="setControlModeMoveTo();
"
            visible="false"
            devices="desktop"
            />
    <layer name="SansControlBarbtn_ctrlmode_drag_to"
            url="%FIRSTXML%/graphics/sans controlbar/btn_drag_to.png"
            style="SansControlBar_btn_style"
            tooltip="SansControlBarctrlmodeDragTip"
            onclick="setControlModeDragTo();
"
            visible="false"
            devices="desktop"
            />

    <layer name="SansControlBarbtn_in"
            url="%FIRSTXML%/graphics/sans controlbar/btn_zoom_in.png"
            ondown="viewControlZoomIn(false);"
            onup="viewControlZoomStop();
"
            style="SansControlBar_btn_style"
            visible="false"
            tooltip="SansControlBarzoomInTip"
            devices="desktop"
            />
    <layer name="SansControlBarbtn_out"
            url="%FIRSTXML%/graphics/sans controlbar/btn_zoom_out.png"
            ondown="viewControlZoomOut(false);
"
            onup="viewControlZoomStop();
"
            style="SansControlBar_btn_style"
            visible="false"
            tooltip="SansControlBarzoomOutTip"
            devices="desktop"
            />

    <layer name="SansControlBarbtn_left"
            url="%FIRSTXML%/graphics/sans controlbar/btn_move_left.png"
            ondown="viewControlMoveLeft(false);
"
            onup="viewControlMoveHoriStop();
"
            style="SansControlBar_btn_style"
            visible="false"
            tooltip="SansControlBarmoveLeftTip"
            devices="desktop"
            />
    <layer name="SansControlBarbtn_right"
            url="%FIRSTXML%/graphics/sans controlbar/btn_move_right.png"
            ondown="viewControlMoveRight(false);
"
            onup="viewControlMoveHoriStop();
"
            style="SansControlBar_btn_style"
            visible="false"
            tooltip="SansControlBarmoveRightTip"
            devices="desktop"
            />

    <layer name="SansControlBarbtn_up"
            url="%FIRSTXML%/graphics/sans controlbar/btn_move_up.png"
            ondown="viewControlMoveUp(false);
"
            onup="viewControlMoveVertStop();
"
            style="SansControlBar_btn_style"
            visible="false"
            tooltip="SansControlBarmoveUpTip"
            devices="desktop"
            />
    <layer name="SansControlBarbtn_down"
            url="%FIRSTXML%/graphics/sans controlbar/btn_move_down.png"
            ondown="viewControlMoveDown(false);
"
            onup="viewControlMoveVertStop();
"
            style="SansControlBar_btn_style"
            visible="false"
            tooltip="SansControlBarmoveDownTip"
            devices="desktop"
            />



    <layer name="SansControlBarbtn_prev_pano"
            url="%FIRSTXML%/graphics/sans controlbar/btn_previous_scene.png"
            onclick="loadPreviousScene();
"
            style="SansControlBar_btn_style"
            tooltip="SansControlBarprevSceneTip"
            visible="false"
            />
    <layer name="SansControlBarbtn_next_pano"
            url="%FIRSTXML%/graphics/sans controlbar/btn_next_scene.png"
            onclick="loadNextScene();
"
            style="SansControlBar_btn_style"
            tooltip="SansControlBarnextSceneTip"
            visible="false"
            />



    <layer name="SansControlBarbtn_openfs"
            url="%FIRSTXML%/graphics/sans controlbar/btn_enter_fs.png"
            onclick="enterFullscreen();
"
            style="SansControlBar_btn_style"
            visible="false"
            devices="fullscreensupport"
            tooltip="SansControlBaropenFsTip"
            />
    <layer name="SansControlBarbtn_closefs"
            url="%FIRSTXML%/graphics/sans controlbar/btn_close_fs.png"
            onclick="exitFullscreen();
"
            style="SansControlBar_btn_style"
            visible="false"
            devices="fullscreensupport"
            tooltip="SansControlBarcloseFsTip"
            />

    <layer name="SansControlBarbtn_autorotate_on"
            url="%FIRSTXML%/graphics/sans controlbar/btn_start_autorotation.png"
            onclick="resumeautorotation();
"
            style="SansControlBar_btn_style"
            visible="false"
            tooltip="SansControlBarautorotateOnTip"
            />
    <layer name="SansControlBarbtn_autorotate_off"
            url="%FIRSTXML%/graphics/sans controlbar/btn_stop_autorotation.png"
            onclick="pauseautorotation();
"
            style="SansControlBar_btn_style"
            visible="false"
            tooltip="SansControlBarautorotateOffTip"
            />



    <layer name="SansControlBarbtn_display_help"
            url="%FIRSTXML%/graphics/sans controlbar/btn_help.png"
            onclick="SansControlBardisplayHelp();"
            style="SansControlBar_btn_style"
            devices="desktop"
            visible="false"
            tooltip="SansControlBardisplayHelpTip"
            />
    <layer name="SansControlBarbtn_close_help"
            url="%FIRSTXML%/graphics/sans controlbar/btn_help.png"
            onclick="SansControlBarcloseHelp();"
            style="SansControlBar_btn_style"
            visible="false"
            devices="desktop"
            tooltip="SansControlBarhideHelpTip"
            />



    <layer name="SansControlBarbtn_hidecontrols"
           url="%FIRSTXML%/graphics/sans controlbar/btn_hide_controls.png"
           style="SansControlBar_btn_style"
           onclick="SansControlBarhideMenuControls();hideTourControls();
"
           visible="false"
           tooltip="SansControlBarhideControlsTip"
           />
    <layer name="SansControlBarbtn_showcontrols"
           url="%FIRSTXML%/graphics/sans controlbar/btn_show_controls.png"
           style="SansControlBar_btn_style"
           onclick="SansControlBarshowMenuControls();showTourControls();
"
           tooltip="SansControlBardisplayControlsTip"
           visible="false"
           />
 </layer>





	<events name="SansControlBarcontrolmodechangedevent" 
		oncontrolmodechanged="SansControlBarupdateControlModeButtons();" 
		keep="true" />
	<action name="SansControlBarHideControlModeButtons">
		set(layer[SansControlBarbtn_ctrlmode_move_to].visible, false);
		set(layer[SansControlBarbtn_ctrlmode_drag_to].visible, false);
	</action>
	<action name="SansControlBarShowControlModeButtons">
		if (tour_controlmodemousetype == "moveto",
			set(layer[SansControlBarbtn_ctrlmode_drag_to].visible, true);
			set(layer[SansControlBarbtn_ctrlmode_move_to].visible, false);
		,
			set(layer[SansControlBarbtn_ctrlmode_move_to].visible, true);
			set(layer[SansControlBarbtn_ctrlmode_drag_to].visible, false);
		);
	</action>
	<action name="SansControlBarupdateControlModeButtons">
	if (device.desktop,
		if (SansControlBarIsOpened,
			SansControlBarShowControlModeButtons();
		,
			SansControlBarHideControlModeButtons();
		);
	,
		SansControlBarHideControlModeButtons();
	);
	</action>


  <action name="SansControlBarhideMenuControls">
    set(SansControlBarIsOpened, false);
    set(layer[SansControlBarbtn_hidecontrols].visible, false);
    set(layer[SansControlBarbtn_showcontrols].visible, true);
if (scene.count GT 1,
	set(layer[SansControlBarbtn_next_pano].visible, false);
	set(layer[SansControlBarbtn_prev_pano].visible, false);
);


if (device.desktop,
	set(layer[SansControlBarbtn_in].visible, false);
	set(layer[SansControlBarbtn_out].visible, false);
);
if (device.desktop,
	set(layer[SansControlBarbtn_up].visible, false);
	set(layer[SansControlBarbtn_down].visible, false);
);
if (device.desktop,
	set(layer[SansControlBarbtn_left].visible, false);
	set(layer[SansControlBarbtn_right].visible, false);
);
	SansControlBarupdateFullscreenButtons();
	SansControlBarupdateHelpButtons();


	SansControlBarupdateAutorotationButtons();


	SansControlBarupdateControlModeButtons();




	set(layer[SansControlBar_menu_bg].width, get(SansControlBarbackgroundwidthwhenclosed));

	set(layer[SansControlBar_menu_bg].visible, true);
  </action>
  <action name="SansControlBarshowMenuControls">
    set(SansControlBarIsOpened, true);
    set(layer[SansControlBarbtn_hidecontrols].visible, true);
    set(layer[SansControlBarbtn_showcontrols].visible, false);
	set(layer[SansControlBar_menu_bg].visible, true);
if (scene.count GT 1,
	set(layer[SansControlBarbtn_next_pano].visible, true);
	set(layer[SansControlBarbtn_prev_pano].visible, true);
);


if (device.desktop,
	set(layer[SansControlBarbtn_in].visible, true);
	set(layer[SansControlBarbtn_out].visible, true);
);
if (device.desktop,
	set(layer[SansControlBarbtn_up].visible, true);
	set(layer[SansControlBarbtn_down].visible, true);
);
if (device.desktop,
	set(layer[SansControlBarbtn_left].visible, true);
	set(layer[SansControlBarbtn_right].visible, true);
);
	SansControlBarupdateFullscreenButtons();
	SansControlBarupdateHelpButtons();


	SansControlBarupdateAutorotationButtons();


	SansControlBarupdateControlModeButtons();



    set(layer[SansControlBar_menu_bg].width, get(SansControlBarbackgroundwidthwhenopened));
  </action>

  <layer name="SansControlBarhelpScreenBg"
         align="center"
         keep="true"
         onclick="SansControlBarcloseHelp();"
         url="%FIRSTXML%/graphics/sans controlbar/help_screen_bg.png"
         visible="false"
         rotate="-90"
         height="50%"
         width="prop"
         zorder="97"
         x="100%" />
  <layer name="SansControlBarhelpScreenFg"
         align="center"
         keep="true"
         onclick="SansControlBarcloseHelp();"
         url="%FIRSTXML%/graphics/sans controlbar/help_screen_fg.png"
         height="50%"
         width="prop"
         visible="false"
         rotate="90"
         zorder="98"
         x="-100%"
         displayed="false" />
  <action name="SansControlBardisplayHelp">
  if (device.desktop,
    set(layer[SansControlBarhelpScreenFg].displayed,true);
    set(layer[SansControlBarhelpScreenBg].visible,true);
    set(layer[SansControlBarhelpScreenFg].visible,true);
    tween(layer[SansControlBarhelpScreenFg].rotate,0, 1);
    tween(layer[SansControlBarhelpScreenFg].x,0, 1);
    tween(layer[SansControlBarhelpScreenBg].rotate,0, 1);
    tween(layer[SansControlBarhelpScreenBg].x,0, 1);
    SansControlBarupdateHelpButtons();
  );
  </action>
  <action name="SansControlBarcloseHelp">
  if (device.desktop,
    set(layer[SansControlBarhelpScreenFg].displayed,false);
    tween(layer[SansControlBarhelpScreenFg].rotate,  90, 1, easeOutQuad, set(layer[SansControlBarhelpScreenFg].visible,false););
    tween(layer[SansControlBarhelpScreenFg].x, -100%, 1);
    tween(layer[SansControlBarhelpScreenBg].rotate, -90, 1, easeOutQuad, set(layer[SansControlBarhelpScreenBg].visible,false););
    tween(layer[SansControlBarhelpScreenBg].x, 100%, 1);
    SansControlBarupdateHelpButtons();
  );
  </action>
	<action name="SansControlBarHideHelpButtons">
		set(layer[SansControlBarbtn_display_help].visible, false);
		set(layer[SansControlBarbtn_close_help].visible, false);
	</action>
	<action name="SansControlBarShowHelpButtons">
		if (layer[SansControlBarhelpScreenFg].displayed,
			set(layer[SansControlBarbtn_close_help].visible, true);
			set(layer[SansControlBarbtn_display_help].visible, false);
		,
			set(layer[SansControlBarbtn_display_help].visible, true);
			set(layer[SansControlBarbtn_close_help].visible, false);
		);
	</action>
	<action name="SansControlBarupdateHelpButtons">
	if (device.desktop,
		if (SansControlBarIsOpened,
			SansControlBarShowHelpButtons();
		,
			SansControlBarHideHelpButtons();
		);
	,
		SansControlBarHideHelpButtons();
	);
	</action>




  <events name="SansControlBarmenufullscreenchangeevent"
          onenterfullscreen="SansControlBarupdateFullscreenButtons();"
          onexitfullscreen="SansControlBarupdateFullscreenButtons();"
          keep="true"/>
	<action name="SansControlBarHideFullscreenButtons">
		set(layer[SansControlBarbtn_openfs].visible , false);
		set(layer[SansControlBarbtn_closefs].visible, false);
	</action>
	<action name="SansControlBarShowFullscreenButtons">
		if (device.fullscreensupport,
			if(tour_fullscreen,
				set(layer[SansControlBarbtn_openfs].visible , false);
				set(layer[SansControlBarbtn_closefs].visible, true);
			,
				set(layer[SansControlBarbtn_openfs].visible ,true);
				set(layer[SansControlBarbtn_closefs].visible,false);
			);
		,
			SansControlBarHideFullscreenButtons();
		);
	</action>
	<action name="SansControlBarupdateFullscreenButtons">
		if (SansControlBarIsOpened,
			SansControlBarShowFullscreenButtons();
		,
			SansControlBarHideFullscreenButtons();
		);
	</action>

	<events name="SansControlBarAutorotationEvents"
		onstartautorotation="SansControlBarupdateAutorotationButtons();"
		onresumeautorotation="SansControlBarupdateAutorotationButtons();"
		onstopautorotation="SansControlBarupdateAutorotationButtons();"
		onpauseautorotation="SansControlBarupdateAutorotationButtons();"
		keep="true"/>
	<action name="SansControlBarHideAutorotationButtons">
		set(layer[SansControlBarbtn_autorotate_off].visible, false);
		set(layer[SansControlBarbtn_autorotate_on].visible , false);
	</action>
	<action name="SansControlBarShowAutorotationButtons">
		if(autorotate.enabled == false,
			set(layer[SansControlBarbtn_autorotate_off].visible, false);
			set(layer[SansControlBarbtn_autorotate_on].visible , true);
		,
			set(layer[SansControlBarbtn_autorotate_off].visible, true);
			set(layer[SansControlBarbtn_autorotate_on].visible , false);
		);
	</action>
	<action name="SansControlBarupdateAutorotationButtons">
		if (SansControlBarIsOpened,
			SansControlBarShowAutorotationButtons();
		,
			SansControlBarHideAutorotationButtons();
		);
	</action>



<layer name="SansControlBarmenuTooltipStyle"
	keep="true"
	enabled="false"
	capture="false"
	url="%FIRSTXML%/graphics/textfield.swf"
	align="center"
	background="false"
	border="false"
	css="color:#ffffff;font-family:Helvetica;font-weight:bold;font-size:14px;text-align:left;"
	height="20"
	autoheight="true"
	autowidth="auto"
	xoffset="0"
	yoffset="0"
	padding="2"
	selectable="false"
	zorder="0"
	visible="false"
	html=""
	edge="bottom"
/>
  <action name="SansControlBarbuildMenu">
    
    set(SansControlBarbutton_pos, 0);

	set(SansControlBarbackgroundwidthwhenclosed, 40);
    set(layer[SansControlBarbtn_hidecontrols].x, get(SansControlBarbutton_pos));
    set(layer[SansControlBarbtn_showcontrols].x, get(SansControlBarbutton_pos));
    inc(SansControlBarbutton_pos, 45);



      if (device.desktop,
        set(layer[SansControlBarbtn_display_help].x, get(SansControlBarbutton_pos));
        set(layer[SansControlBarbtn_close_help].x  , get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
      );

      if (device.fullscreensupport,
        set(layer[SansControlBarbtn_openfs].x , get(SansControlBarbutton_pos));
        set(layer[SansControlBarbtn_closefs].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
      );



      set(layer[SansControlBarbtn_autorotate_on].x , get(SansControlBarbutton_pos));
      set(layer[SansControlBarbtn_autorotate_off].x, get(SansControlBarbutton_pos));
      inc(SansControlBarbutton_pos, 45);



    if (device.desktop,
      set(layer[SansControlBarbtn_ctrlmode_drag_to].x, get(SansControlBarbutton_pos));
      set(layer[SansControlBarbtn_ctrlmode_move_to].x, get(SansControlBarbutton_pos));
      inc(SansControlBarbutton_pos, 45);
    );





      if (device.desktop,
        set(layer[SansControlBarbtn_right].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
        set(layer[SansControlBarbtn_left].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
      );

      if (device.desktop,
        set(layer[SansControlBarbtn_down].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
        set(layer[SansControlBarbtn_up].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
      );

      if (device.desktop,
        set(layer[SansControlBarbtn_out].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
        set(layer[SansControlBarbtn_in].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
      );

    if (scene.count GT 1,
        set(layer[SansControlBarbtn_next_pano].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
        set(layer[SansControlBarbtn_prev_pano].x, get(SansControlBarbutton_pos));
        inc(SansControlBarbutton_pos, 45);
      );



      dec(SansControlBarbutton_pos, 5);

      set(SansControlBarbackgroundwidthwhenopened, get(SansControlBarbutton_pos));


    
      set(layer[SansControlBar_menu_bg].width, get(SansControlBarbackgroundwidthwhenopened));
	
	
	
    </action>

	<events name="SansControlBarStartTourEvents" onTourStart="SansControlBarCallOnStartTour();" keep="true" />
	
	<action name="SansControlBarCallOnStartTour">
		
		SansControlBarshowMenuControls();
	</action>


  <include url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/sidebar.xml"/><sidebar name="settings"  groupCount="13"     isRealGroup_0="false" totalPanos0="1"  groupName0="get:data[fr_pano12_title].content" group0Contents="pano12|" group0MainPano="pano12" SceneName0="pano12" groupMessage0="pano12_title"      isRealGroup_1="false" totalPanos1="1"  groupName1="get:data[fr_pano11_title].content" group1Contents="pano11|" group1MainPano="pano11" SceneName1="pano11" groupMessage1="pano11_title"      isRealGroup_2="false" totalPanos2="1"  groupName2="get:data[fr_pano14_title].content" group2Contents="pano14|" group2MainPano="pano14" SceneName2="pano14" groupMessage2="pano14_title"      isRealGroup_3="false" totalPanos3="1"  groupName3="get:data[fr_pano15_title].content" group3Contents="pano15|" group3MainPano="pano15" SceneName3="pano15" groupMessage3="pano15_title"      isRealGroup_4="false" totalPanos4="1"  groupName4="get:data[fr_pano18_title].content" group4Contents="pano18|" group4MainPano="pano18" SceneName4="pano18" groupMessage4="pano18_title"      isRealGroup_5="false" totalPanos5="1"  groupName5="get:data[fr_pano10_title].content" group5Contents="pano10|" group5MainPano="pano10" SceneName5="pano10" groupMessage5="pano10_title"      isRealGroup_6="false" totalPanos6="1"  groupName6="get:data[fr_pano22_title].content" group6Contents="pano22|" group6MainPano="pano22" SceneName6="pano22" groupMessage6="pano22_title"      isRealGroup_7="false" totalPanos7="1"  groupName7="get:data[fr_pano20_title].content" group7Contents="pano20|" group7MainPano="pano20" SceneName7="pano20" groupMessage7="pano20_title"      isRealGroup_8="false" totalPanos8="1"  groupName8="get:data[fr_pano19_title].content" group8Contents="pano19|" group8MainPano="pano19" SceneName8="pano19" groupMessage8="pano19_title"      isRealGroup_9="false" totalPanos9="1"  groupName9="get:data[fr_pano17_title].content" group9Contents="pano17|" group9MainPano="pano17" SceneName9="pano17" groupMessage9="pano17_title"      isRealGroup_10="false" totalPanos10="1"  groupName10="get:data[fr_pano13_title].content" group10Contents="pano13|" group10MainPano="pano13" SceneName10="pano13" groupMessage10="pano13_title"      isRealGroup_11="false" totalPanos11="1"  groupName11="get:data[fr_pano21_title].content" group11Contents="pano21|" group11MainPano="pano21" SceneName11="pano21" groupMessage11="pano21_title"      isRealGroup_12="false" totalPanos12="1"  groupName12="get:data[fr_pano16_title].content" group12Contents="pano16|" group12MainPano="pano16" SceneName12="pano16" groupMessage12="pano16_title"    sbColor="ffffff" sbColorAlpha="1.00" sbWidth="245" sbAlign="left" startOpened="true" startOpenedMob="true" sbCloseIfnew="true" sbCloseIfnewMob="true" sbIconPosition="top" sbIconAlpha="80" sbIconAlphaSep="false" sbIconAlphaSepVal="90" sbIconOverState="false" sbIconOpenedState="false" sbIconOpenedOverState="false" sbIconPositionX="-5" sbIconPositionY="0" sbIconPositionOpenUse="false" sbIconPositionOpen="top" sbIconPositionOpenX="0" sbIconPositionOpenY="0" sbIconHideShowDelay="false" sbIconDelay="6" sbOpenActions="0" sbCloseActions="0" sbMenuType="hierarchical"  sbIconUrl="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/graphics/sb_menu.png"     textFieldUrl="%FIRSTXML%/graphics/textfield.swf"   scrollAltUrl="%FIRSTXML%/graphics/scrollarea.js"  sbcurrent_PanoTxt="alpo_sidebar_fullsbcurrent_PanoTxt" sbcurrent_PanoTxtFont="trebuchet ms" sbcurrent_PanoTxtFontSize="14" sbcurrent_PanoTxtColor="b7b7b7" sbcurrent_PanoTxtAlpha="0.70" sbcurrent_PanoTxtAlign="center"  sbcurrent_PanoTxtFontItalic=""   sbcurrent_PanoTxtFontBold=""   sbcurrent_PanoTxtFontTD=""  sbcurrent_PanoNameTxtColor="eeeeee" sbcurrent_PanoNameTxtSize="18"  sbcurrent_PanoNameTxtDecorU1="" sbcurrent_PanoNameTxtDecorU2=""   sbcurrent_PanoNameTxtDecorB1="" sbcurrent_PanoNameTxtDecorB2=""   sbcurrent_PanoNameTxtDecorI1="" sbcurrent_PanoNameTxtDecorI2=""  sbOpenCloseUseOpener="false" sbOpenCloseUseButton="true" sbContextMenuItem="true" sbZorder="98"/><style name="sbBlocks" keep="true" type="container" bgcapture="false" bgalpha="0.0" width="100%" accuracy="1"/>  <style name="sbOpenerST" keep="false"/>  <style name="sbIconST" visible="true"/><style name="scrollareaDescr" keep="true" devices="html5" url="get:sidebar[settings].scrollAltUrl" direction="v" draggable="true" mwheel="true" onhover_autoscrolling="false" overscroll="0.5" friction="0.95" acceleration="0.08" returnacceleration="0.15" momentum="0.06" accuracy="1" align="top" width="100%"/><events name="sbBlocksHEv" keep="true" onxmlcomplete="delayedcall(0, sbBlocksHEvAct());"/><action name="sbBlocksHEvAct">   calcBlock1H();    calcBlock2H();    calcBlock3H();    calcBlock4H();    calcBlock5H();   setBlockAutoHeight( 5, 5 );  if(layer[backBtn].visible, calc(layer[scrolLayer].height, layer[calc(layer[scrolLayer].parent)].height - layer[backBtn].height - (layer[scrolLayer].y - layer[backBtn].height) ); , set(layer[scrolLayer].height, 100%); ); set(events[sbBlocksHEv].onresize, sbBlocksHEvAct());</action>  <style name="sbBlock1ST" parent="sb" align="top" minheight="0" maxheight="0" y="0"  /><layer name="sbBlock1" style="sbBlocks|sbBlock1ST"/><action name="calcBlock1H">calc(layer[sbBlock1].height, 20 * stageheight * 0.01); if(layer[sbBlock1].height LT layer[sbBlock1].minheight AND layer[sbBlock1].minheight != 0, copy(layer[sbBlock1].height, layer[sbBlock1].minheight); ); if(layer[sbBlock1].height GT layer[sbBlock1].maxheight AND layer[sbBlock1].maxheight != 0, copy(layer[sbBlock1].height, layer[sbBlock1].maxheight); ); calc(layer[sbBlock1].realBlockY, 0 + 0);</action>   <style name="sbBlock2ST" parent="sbBlock1" align="bottom" edge="top" minheight="0" maxheight="0" y="-0"  /><layer name="sbBlock2" style="sbBlocks|sbBlock2ST"/><action name="calcBlock2H">calc(layer[sbBlock2].height, 30 * stageheight * 0.01); if(layer[sbBlock2].height LT layer[sbBlock2].minheight AND layer[sbBlock2].minheight != 0, copy(layer[sbBlock2].height, layer[sbBlock2].minheight); ); if(layer[sbBlock2].height GT layer[sbBlock2].maxheight AND layer[sbBlock2].maxheight != 0, copy(layer[sbBlock2].height, layer[sbBlock2].maxheight); ); calc(layer[sbBlock2].realBlockY, layer[sbBlock1].realBlockY + layer[sbBlock1].height + 0);</action>   <style name="sbBlock3ST" parent="sbBlock2" align="bottom" edge="top" minheight="0" maxheight="0" y="-0"  /><layer name="sbBlock3" style="sbBlocks|sbBlock3ST"/><action name="calcBlock3H">calc(layer[sbBlock3].height, 20 * stageheight * 0.01); if(layer[sbBlock3].height LT layer[sbBlock3].minheight AND layer[sbBlock3].minheight != 0, copy(layer[sbBlock3].height, layer[sbBlock3].minheight); ); if(layer[sbBlock3].height GT layer[sbBlock3].maxheight AND layer[sbBlock3].maxheight != 0, copy(layer[sbBlock3].height, layer[sbBlock3].maxheight); ); calc(layer[sbBlock3].realBlockY, layer[sbBlock2].realBlockY + layer[sbBlock2].height + 0);</action>   <style name="sbBlock4ST" parent="sbBlock3" align="bottom" edge="top" minheight="0" maxheight="0" y="-0" /><layer name="sbBlock4" style="sbBlocks|sbBlock4ST"/><action name="calcBlock4H">calc(layer[sbBlock4].height, 25 * stageheight * 0.01); if(layer[sbBlock4].height LT layer[sbBlock4].minheight AND layer[sbBlock4].minheight != 0, copy(layer[sbBlock4].height, layer[sbBlock4].minheight); ); if(layer[sbBlock4].height GT layer[sbBlock4].maxheight AND layer[sbBlock4].maxheight != 0, copy(layer[sbBlock4].height, layer[sbBlock4].maxheight); ); calc(layer[sbBlock4].realBlockY, layer[sbBlock3].realBlockY + layer[sbBlock3].height + 0);</action>   <style name="sbBlock5ST" parent="sbBlock4" align="bottom" edge="top" minheight="0" maxheight="0" y="-0"  /><layer name="sbBlock5" style="sbBlocks|sbBlock5ST"/><action name="calcBlock5H">calc(layer[sbBlock5].height, 10 * stageheight * 0.01); if(layer[sbBlock5].height LT layer[sbBlock5].minheight AND layer[sbBlock5].minheight != 0, copy(layer[sbBlock5].height, layer[sbBlock5].minheight); ); if(layer[sbBlock5].height GT layer[sbBlock5].maxheight AND layer[sbBlock5].maxheight != 0, copy(layer[sbBlock5].height, layer[sbBlock5].maxheight); ); calc(layer[sbBlock5].realBlockY, layer[sbBlock4].realBlockY + layer[sbBlock4].height + 0);</action>                 <style name="sbLogoST" keep="true" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/logo_chateau.jpg" align="top" alpha="0" width="100%" height="prop" handcursor="true" accuracy="1" parent="sbBlock1" onclick="sbOnClickLogo()"/>                              <style name="current_PanoNameUseST" url="" keep="false"/>                  <include url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/menutype/hierarchical.xml"/><style name="scrolLayerST" keep="true" type="container" align="top" parent="sbBlock3" accuracy="1" width="0" height="100%"/>               <layer name="sbInsDescr" style="sbBlocks" bgcapture="true" parent="sbBlock4" align="top" width="100%" height="100%" x="0" y="0" padding="8" background="false" backgroundcolor="ffffff" backgroundalpha="1.00" textalign="center" maxwidth="get:layer[sb].width"/>                <layer name="sbInsProjectDescr" style="sbBlocks" bgcapture="true" parent="sbBlock2" align="top" width="100%" height="100%" x="0" y="0" padding="8" background="false" backgroundcolor="ffffff" backgroundalpha="1.00" textalign="center" maxwidth="get:layer[sb].width"/>                 <style name="sbButtonsContST" parent="sbBlock5" keep="true" type="container" align="center" bgalpha="0.0" bgcapture="false" maskchildren="true" maxwidth="get:layer[sb].width"/><style name="sbButtonsST" keep="true" type="container" bgcapture="true" accuracy="1" maskchildren="true" parent="sbButtonsCont" align="lefttop"/><style name="sbButtonIconST" keep="true" x="0" y="0" accuracy="1" align="center" enabled="false" onloaded="sbSetIconScaling(get(name),80)"/><style name="sbButtonsCommonST" width="32" height="32" width.tablet="32" height.tablet="32" width.mobile="32" height.mobile="32" bgcolor="0x1e3465" bgalpha="1.00" bgroundedge="5" bgroundedge.tablet="5" bgroundedge.mobile="5"  onout="hideTooltip();" visible="false" autoalpha="true" alpha="0" onloaded="delayedcall(0.5, tween(layer[get(name)].alpha, 1))"/> <action name="sbSetIconScaling">if(layer[%1].imagewidth GT layer[%1].imageheight, txtadd(layer[%1].width, %2, '%'); set(layer[%1].height, prop); , txtadd(layer[%1].height, %2, '%'); set(layer[%1].width, prop); );</action><action name="sbButtonToggle">if(sbButton%1FirstClicked == false OR sbButton%1FirstClicked === null, set(sbButton%1FirstClicked, true); copy(layer[sbButton%1icon].url, layer[sbButton%1icon].urlState2); sbButton%1ClickFirst(); , set(sbButton%1FirstClicked, false); copy(layer[sbButton%1icon].url, layer[sbButton%1icon].urlState1); sbButton%1ToggleClick(); );</action><layer name="sbButtonTooltipStyle" keep="true" enabled="false" capture="false" url="%FIRSTXML%/graphics/textfield.swf" align="center"   background="false"   border="false"      textshadow="1" textshadowrange="4.0" textshadowangle="45" textshadowcolor="0x000000" textshadowalpha="1"  css="color:#ffffff;font-family:Arial;font-weight:bold;font-size:14px;text-align:left;" height="20" autoheight="true" autowidth="auto" selectable="false" zorder="0" padding="2" xoffset="0" yoffset="0" visible="false" html="" edge="top"/>                <layer name="sbButton1" style="sbButtonsST|sbButtonsCommonST" onclick="sbButton1ClickFirst()"  tooltip="alpo_sidebar_fullsbButtonTooltipContent1" onhover="showTooltip('plugin',sbButtonTooltipStyle);"  x="0" y="0"  x.tablet="0" y.tablet="0"   x.mobile="0" y.mobile="0"        /> <layer name="sbButton1icon" style="sbButtonIconST" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/_3d_model.png" parent="sbButton1" urlState1="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/_3d_model.png" urlState2="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/"  />  <action name="sbButton1ClickFirst"> openWebsite_websiteViewer(alpo_sidebar_fullsbButton1Action101101554websiteViewer|websiteViewer|displaywebsitewebsite_url, alpo_sidebar_fullsbButton1Action101101554websiteViewer|websiteViewer|displaywebsitewebsite_title);

  </action>                <layer name="sbButton2" style="sbButtonsST|sbButtonsCommonST" onclick="sbButton2ClickFirst()"  tooltip="alpo_sidebar_fullsbButtonTooltipContent2" onhover="showTooltip('plugin',sbButtonTooltipStyle);"  x="43" y="0"  x.tablet="43" y.tablet="0"   x.mobile="43" y.mobile="0"        /> <layer name="sbButton2icon" style="sbButtonIconST" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/_3d_model.png" urlState1="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/_3d_model.png" urlState2="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/" parent="sbButton2"  />  <action name="sbButton2ClickFirst"> openWebsite_websiteViewer(alpo_sidebar_fullsbButton2Action101101246websiteViewer|websiteViewer|displaywebsitewebsite_url, alpo_sidebar_fullsbButton2Action101101246websiteViewer|websiteViewer|displaywebsitewebsite_title);

 </action>                                 <layer name="sbButtonsCont" style="sbButtonsContST" width="1" height="1" onloaded="if(device.desktop,sbButtonsContgetW( 86 ,0 ,11 ,0 ,0 ,32  ); );  if(device.tablet,sbButtonsContgetW_TAB( 86 ,0 ,11 ,0 ,0 ,32  ); );   if(device.mobile,sbButtonsContgetW_MOB( 86 ,0 ,11 ,0 ,0 ,32  ); );  sbButtonsContSetOffset(); sbButtondContSetMinHeight(sbBlock5); "/><action name="sbButtonsContgetW">if(%1 GE %2, sub(layer[sbButtonsCont].width, %1, %3);  , sub(layer[sbButtonsCont].width, %2, %3);  ); if(%5 GT 0, add(layer[sbButtonsCont].height, %5, %6);  , add(layer[sbButtonsCont].height, %4, %6);  );</action><action name="sbButtonsContgetW_TAB">if(%1 GE %2, sub(layer[sbButtonsCont].width, %1, %3);  , sub(layer[sbButtonsCont].width, %2, %3);  ); if(%5 GT 0, add(layer[sbButtonsCont].height, %5, %6);  , add(layer[sbButtonsCont].height, %4, %6);  );</action><action name="sbButtonsContgetW_MOB">if(%1 GE %2, sub(layer[sbButtonsCont].width, %1, %3);  , sub(layer[sbButtonsCont].width, %2, %3);  ); if(%5 GT 0, add(layer[sbButtonsCont].height, %5, %6);  , add(layer[sbButtonsCont].height, %4, %6);  );</action><action name="sbButtonsContSetOffset">if(layer[sbButtonsCont].align != top AND layer[sbButtonsCont].align != center AND layer[sbButtonsCont].align != bottom, set(layer[sbButtonsCont].x, 0); );</action><action name="sbButtondContSetMinHeight">if(layer[%1].minheight LT layer[sbButtonsCont].height, copy(layer[%1].minheight, layer[sbButtonsCont].height); );</action><sidebar name="settings" sbUseMainMenu="true"/><sidebar name="settings" sbUseLogo="true"  /><sidebar name="settings" sbUseLogo2="false"  /><sidebar name="settings" current_PanoNameUse="false" /><sidebar name="settings" useButtons="true" /><events name="alpoSBinitEV" keep="true" onxmlcomplete="alpoSBinit"/><plugin name="alpoSB" devices="html5" keep="true" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/js/alpo.sidebar.js"/><action name="alpoSBinit" type="Javascript"><![CDATA[ window.alpoSB={ plugID : 'alpo_sidebar_full', plugDir : 'Chateau-de-Menthondata/graphics/alpo.sidebar-v1.0.72', flags : {}, font : '', jsonData : '{ "project" : { "data" : { "dataDir" : "Chateau-de-Menthondata", "bgClr" : "#ffffff", "fgClr" : "#000000", "groupsCount" : 13 }, "groups" : [  { "id" : "panogroup25", "title" : "panogroup25_title", "description" : "panogroup25_description", "url" : "%FIRSTXML%/pano_drone__4__12/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup25.png", "color" : "#787878", "real" : false, "panoCount" : 1, "mainPano" : "pano12", "panoramas" : [  { "id" : "pano12", "parentID" : "panogroup25", "title" : "pano12_title", "description" : "pano12_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano12.png", "url" : "%FIRSTXML%/pano_drone__4__12/thumbnail.jpg" }  ] },  { "id" : "panogroup217", "title" : "panogroup217_title", "description" : "panogroup217_description", "url" : "%FIRSTXML%/pano_drone__3__11/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup217.png", "color" : "#646464", "real" : false, "panoCount" : 1, "mainPano" : "pano11", "panoramas" : [  { "id" : "pano11", "parentID" : "panogroup217", "title" : "pano11_title", "description" : "pano11_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano11.png", "url" : "%FIRSTXML%/pano_drone__3__11/thumbnail.jpg" }  ] },  { "id" : "panogroup27", "title" : "panogroup27_title", "description" : "panogroup27_description", "url" : "%FIRSTXML%/pano_reflex__10__14/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup27.png", "color" : "#505050", "real" : false, "panoCount" : 1, "mainPano" : "pano14", "panoramas" : [  { "id" : "pano14", "parentID" : "panogroup27", "title" : "pano14_title", "description" : "pano14_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano14.png", "url" : "%FIRSTXML%/pano_reflex__10__14/thumbnail.jpg" }  ] },  { "id" : "panogroup30", "title" : "panogroup30_title", "description" : "panogroup30_description", "url" : "%FIRSTXML%/pano_reflex__2__15/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup30.png", "color" : "#b4b4b4", "real" : false, "panoCount" : 1, "mainPano" : "pano15", "panoramas" : [  { "id" : "pano15", "parentID" : "panogroup30", "title" : "pano15_title", "description" : "pano15_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano15.png", "url" : "%FIRSTXML%/pano_reflex__2__15/thumbnail.jpg" }  ] },  { "id" : "panogroup32", "title" : "panogroup32_title", "description" : "panogroup32_description", "url" : "%FIRSTXML%/pano_reflex__5__18/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup32.png", "color" : "#8c8c8c", "real" : false, "panoCount" : 1, "mainPano" : "pano18", "panoramas" : [  { "id" : "pano18", "parentID" : "panogroup32", "title" : "pano18_title", "description" : "pano18_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano18.png", "url" : "%FIRSTXML%/pano_reflex__5__18/thumbnail.jpg" }  ] },  { "id" : "panogroup211", "title" : "panogroup211_title", "description" : "panogroup211_description", "url" : "%FIRSTXML%/pano_drone__1__10/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup211.png", "color" : "#3c3c3c", "real" : false, "panoCount" : 1, "mainPano" : "pano10", "panoramas" : [  { "id" : "pano10", "parentID" : "panogroup211", "title" : "pano10_title", "description" : "pano10_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano10.png", "url" : "%FIRSTXML%/pano_drone__1__10/thumbnail.jpg" }  ] },  { "id" : "panogroup214", "title" : "panogroup214_title", "description" : "panogroup214_description", "url" : "%FIRSTXML%/pano_reflex__9__22/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup214.png", "color" : "#a0a0a0", "real" : false, "panoCount" : 1, "mainPano" : "pano22", "panoramas" : [  { "id" : "pano22", "parentID" : "panogroup214", "title" : "pano22_title", "description" : "pano22_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano22.png", "url" : "%FIRSTXML%/pano_reflex__9__22/thumbnail.jpg" }  ] },  { "id" : "panogroup215", "title" : "panogroup215_title", "description" : "panogroup215_description", "url" : "%FIRSTXML%/pano_reflex__7__20/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup215.png", "color" : "#8c8c8c", "real" : false, "panoCount" : 1, "mainPano" : "pano20", "panoramas" : [  { "id" : "pano20", "parentID" : "panogroup215", "title" : "pano20_title", "description" : "pano20_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano20.png", "url" : "%FIRSTXML%/pano_reflex__7__20/thumbnail.jpg" }  ] },  { "id" : "panogroup216", "title" : "panogroup216_title", "description" : "panogroup216_description", "url" : "%FIRSTXML%/pano_reflex__6__19/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup216.png", "color" : "#787878", "real" : false, "panoCount" : 1, "mainPano" : "pano19", "panoramas" : [  { "id" : "pano19", "parentID" : "panogroup216", "title" : "pano19_title", "description" : "pano19_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano19.png", "url" : "%FIRSTXML%/pano_reflex__6__19/thumbnail.jpg" }  ] },  { "id" : "panogroup218", "title" : "panogroup218_title", "description" : "panogroup218_description", "url" : "%FIRSTXML%/pano_reflex__4__17/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup218.png", "color" : "#505050", "real" : false, "panoCount" : 1, "mainPano" : "pano17", "panoramas" : [  { "id" : "pano17", "parentID" : "panogroup218", "title" : "pano17_title", "description" : "pano17_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano17.png", "url" : "%FIRSTXML%/pano_reflex__4__17/thumbnail.jpg" }  ] },  { "id" : "panogroup219", "title" : "panogroup219_title", "description" : "panogroup219_description", "url" : "%FIRSTXML%/pano_reflex__1__13/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup219.png", "color" : "#3c3c3c", "real" : false, "panoCount" : 1, "mainPano" : "pano13", "panoramas" : [  { "id" : "pano13", "parentID" : "panogroup219", "title" : "pano13_title", "description" : "pano13_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano13.png", "url" : "%FIRSTXML%/pano_reflex__1__13/thumbnail.jpg" }  ] },  { "id" : "panogroup220", "title" : "panogroup220_title", "description" : "panogroup220_description", "url" : "%FIRSTXML%/pano_reflex__8__21/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup220.png", "color" : "#c8c8c8", "real" : false, "panoCount" : 1, "mainPano" : "pano21", "panoramas" : [  { "id" : "pano21", "parentID" : "panogroup220", "title" : "pano21_title", "description" : "pano21_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano21.png", "url" : "%FIRSTXML%/pano_reflex__8__21/thumbnail.jpg" }  ] },  { "id" : "panogroup221", "title" : "panogroup221_title", "description" : "panogroup221_description", "url" : "%FIRSTXML%/pano_reflex__3__16/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup221.png", "color" : "#b4b4b4", "real" : false, "panoCount" : 1, "mainPano" : "pano16", "panoramas" : [  { "id" : "pano16", "parentID" : "panogroup221", "title" : "pano16_title", "description" : "pano16_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano16.png", "url" : "%FIRSTXML%/pano_reflex__3__16/thumbnail.jpg" }  ] }  ] }, "plugin" : { "includes" : { "textfield" : "%FIRSTXML%/graphics/textfield.swf", "scrollarea" : "%FIRSTXML%/graphics/scrollarea.js" }, "settings" : { "sb" : { "width" : 245, "specifyWidth" : false,  "color" : "ffffff", "alpha" : 0.00, "align" : "left", "zorder" : 98, "startOpened" : true, "startOpenedMob" : true, "closeIfnew" : true, "closeIfnewMob" : true, "menuType" : "hierarchical", "openerUse" : false, "contextMenuUse" : true }, "btn" : { "use" : true, "position" : "top", "alpha" : 80, "alphaOpenUse" : false, "alphaOpen" : 90, "overStateUse" : false, "openStateUse" : false, "openOverStateUse": false, "posX" : "-5", "posY" : "0", "posOpenUse" : false, "posOpen" : "top", "posXOpen" : "0", "posYOpen" : "0", "showHideDelayUse": false, "showHideDelay" : 6, "sbOpenActions" : 0, "sbCloseActions" : 0, "url" :  "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/graphics/sb_menu.png" , "urlOver" : "", "urlOpen" : "", "urlOpenOver" : "" }, "currentPano" : { "text" : "alpo_sidebar_fullsbcurrent_PanoTxt", "font" : "trebuchet ms", "fontSize" : 14, "color" : "b7b7b7", "alpha" : "0.70", "align" : "center", "italic" : "", "bold" : "", "underline" : "", "colorName" : "eeeeee", "fontSizeName" : "18", "italicNameUse" : "false", "boldNameUse" : "false", "underlineNameUse" : "false" }, "menu" : [ { "menuType" : "thumbscont", "thumbsContMargin" : 5, "tcScrollHeight" : 56, "tcScrollVSpace" : 5, "tcScrollXOffset": 0, "tcScrollMenuW" : 243   }, { "menuType" : "hierarchical", "activeMenuHr" : false, "excludePano" : "", "groupAsText" : true, "panoAsText" : false, "custAsText" : true, "width" : 203, "height" : 25, "vSpace" : 5, "xOffset" : 20,   "loadMainPano" : true, "loadMainOpen" : false, "bgrColor" : "0x1e3465", "bgrAlpha" : 1.00, "txtOffsetL" : 10, "txtOffsetR" : 0, "txtAlign" : "center", "font" : "arial", "fontSize" : 13, "color" : "ffffff", "italic" : " font-style:normal; ", "bold" : " font-weight:normal; ", "underline" : " text-decoration:none; ", "overStateUse" : false, "overColorUse" : true, "overColor" : "0x000000", "overAlpha" : 0.30, "itemIconUse" : true, "itemIconDflt" : true, "itemIcon" : "", "itemIconOffsetX" : "0", "itemIconOffsetY" : "0", "itemIconScale" : 100, "itemIconAlign" : "right", "itemIconSpecify" : false,  "itemBorderUse" : true, "itemBorder" : "0,0,1,0 0xeeeeee 0.60", "itemBorderT" : 0, "itemBorderR" : 0, "itemBorderB" : 1, "itemBorderL" : 0, "thumbPos" : "top", "thumbTxtPadT" : 15, "thumbTxtPadB" : 15, "thumbHeight" : 50, "thumbVStxtMarg" : 5, "thumbAlign" : "left", "thumbHorizOff" : 10,   "backBtn" : { "height" : 32, "width" : 245,   "bottomMarg" : 0, "align" : "lefttop", "bgrUse" : true, "bgrColor" : "0x0b0b0b", "bgrAlpha" : 0.40, "bgrChange" : true, "bgrChangeColor" : "0x0cffa2", "bgrChangeAlpha" : 0.50, "txtUse" : true, "txtSrc" : "group", "font" : "arial", "fontSize" : 14, "fontColor" : "eeeeee", "txtAlign" : "left", "txtVcenter" : true, "paddingT" :  0 , "paddingB" :  0 , "paddingR" : 8, "paddingL" : 30, "iconUse" : true, "iconWidth" : 24, "iconHeight" : 24, "iconUrl" : "  %FIRSTXML%/graphics/alpo.sidebar-v1.0.72/graphics/arr_back_left.png  ", "italic" : "  font-style:normal;  ", "bold" : "  font-weight:normal;  ", "underline" : "  text-decoration:none;  " }, "scrollInd" : { "use" : false, "color" : "0x505050", "alpha" : 1.00, "width" : 8, "zorder" : 98, "barUse" : false, "barColor" : "0x353526", "barAlpha" : 0.50 }, "scrollBtns" : { "use" : false, "width" : "20", "height" : "18", "scale" : 100, "bgcolor" : "0x505050", "bgalpha" : 1.00, "align" : "left", "zorder" : 98, "overStateUse" : true, "bgrOverColor" : "0x1a1a1a", "bgrOverAlpha" : 0.90, "iconOverAlpha" : 30, "iconDflt" : true, "iconFileT" : "", "iconFileB" : "", "iconAlpha" : 50 } } ], "customItemsSet" : { "menuOrganize" : "custom", "ignoreRest" : true } }, "customSet" : [  { "title" : "alpo_sidebar_fullitemName0", "image" : "_3d_model.png", "elemIndex" : 0, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "1e3465", "subPanoIDs" : "11", "itemActions" :  "itemClick0();"  },  { "title" : "alpo_sidebar_fullitemName1", "image" : "", "elemIndex" : 1, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "1e3465", "subPanoIDs" : "20", "itemActions" :  "itemClick1();"  },  { "title" : "alpo_sidebar_fullitemName2", "image" : "", "elemIndex" : 2, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "1e3465", "subPanoIDs" : "22", "itemActions" :  "itemClick2();"  },  { "title" : "alpo_sidebar_fullitemName3", "image" : "", "elemIndex" : 3, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "1e3465", "subPanoIDs" : "12", "itemActions" :  "itemClick3();"  }  ] } } ' }; krpano.set('events[alpoSBinitEV].onxmlcomplete', null); ]]></action><action name="itemClick0">
          mainloadscene(pano11);lookat(41.502600, 15.763700, 71.839500);

</action><action name="itemClick1">
          mainloadscene(pano19);lookat(-164.707000, 0.136678, 54.671200);

</action><action name="itemClick2">
          mainloadscene(pano22);lookat(68.075000, -16.955000, 70.000000);

</action><action name="itemClick3">
          mainloadscene(pano12);lookat(3.850000, 48.847600, 70.000000);

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

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

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