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

    
  <!-- Spot Style - Bentley dasy -->


  <style name="IconBentleydasy"
         url="%FIRSTXML%/spots/hotspot_plan_sequence_user_defaultpoint0.png"
         visible="false"
         frame="0"
         lastframe="9"
         framewidth="67"
         frameheight="67"
         stopspotsequence="false"
         crop="0|0|67|67"
         edge="center"
         zoom="true"

         onloaded="startspotanimation(0.1);if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconBentleydasy"
         onover="onoverIconBentleydasy"
         onout="onoutIconBentleydasy"


         />
  <action name="onhoverIconBentleydasy">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconBentleydasy">


pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconBentleydasy">
    hideTooltip();


resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Interior Options -->


  <style name="IconInteriorOptions"
         url="%FIRSTXML%/spots/hotspot_plan_sequence_user_defaultpoint1.png"
         visible="false"
         frame="0"
         lastframe="9"
         framewidth="67"
         frameheight="67"
         stopspotsequence="false"
         crop="0|0|67|67"
         edge="center"
         zoom="true"

         onloaded="startspotanimation(0.1);if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconInteriorOptions"
         onover="onoverIconInteriorOptions"
         onout="onoutIconInteriorOptions"


         />
  <action name="onhoverIconInteriorOptions">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconInteriorOptions">


pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconInteriorOptions">
    hideTooltip();


resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Link to new tour -->


  <style name="IconLinktonewtour"
         url="%FIRSTXML%/spots/hotspot_plan_sequence_user_defaultpoint3.png"
         visible="false"
         frame="0"
         lastframe="9"
         framewidth="67"
         frameheight="67"
         stopspotsequence="false"
         crop="0|0|67|67"
         edge="center"
         zoom="true"

         onloaded="startspotanimation(0.1);if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconLinktonewtour"
         onover="onoverIconLinktonewtour"
         onout="onoutIconLinktonewtour"


         />
  <action name="onhoverIconLinktonewtour">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconLinktonewtour">


pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconLinktonewtour">
    hideTooltip();


resumeautorotation(forcehotspot);

  </action>



    
  <!-- Spot Style - Review and spec -->


  <style name="IconReviewandspec"
         url="%FIRSTXML%/spots/hotspot_plan_sequence_user_defaultpoint4.png"
         visible="false"
         frame="0"
         lastframe="9"
         framewidth="67"
         frameheight="67"
         stopspotsequence="false"
         crop="0|0|67|67"
         edge="center"
         zoom="true"

         onloaded="startspotanimation(0.1);if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false);););"
         onhover="onhoverIconReviewandspec"
         onover="onoverIconReviewandspec"
         onout="onoutIconReviewandspec"


         />
  <action name="onhoverIconReviewandspec">
    showtooltip('hotspot');
  </action>
  <action name="onoverIconReviewandspec">


pauseautorotation(forcehotspot);

  </action>
  <action name="onoutIconReviewandspec">
    hideTooltip();


resumeautorotation(forcehotspot);

  </action>



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


  <style name="IconDefaultPointSpotStyle"
         url="%FIRSTXML%/spots/hotspot_plan_sequence_user_defaultpoint5.png"
         visible="false"
         frame="0"
         lastframe="9"
         framewidth="67"
         frameheight="67"
         stopspotsequence="false"
         crop="0|0|67|67"
         edge="center"
         onloaded="startspotanimation(0.1);"
         onhover="onhoverIconDefaultPointSpotStyle"
         onout="onoutIconDefaultPointSpotStyle"


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



  </action>



<!-- ********** -->
<!-- bentley Dash -->
<!-- id : gallery -->
<!-- ********** -->

<ptplugin name="gallery" engine="kolorBox">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="external_padding" value="15" type="int" />
		<option name="draggable_box" value="false" type="bool" />
		<option name="slideshow_autoplay" value="false" type="bool" />
		<option name="slideshow" value="5000" type="int" />
		<option name="container_auto_size" value="true" type="bool" />
		<option name="container_width" value="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="000000" type="string" />
		<option name="container_alpha" value="0.40000000000000002" 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="2" type="int" />
		<option name="container_border_color" value="ffffff" type="string" />
		<option name="container_border_alpha" value="1" type="float" />
		<option name="overlay_displayed" value="true" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="item_border_width" value="0" type="int" />
		<option name="item_border_color" value="ffffff" type="string" />
		<option name="item_border_alpha" value="1" type="float" />
		
		<option name="title_displayed" value="false" type="bool" />
		
		<option name="caption_displayed" value="true" type="bool" />
		<option name="caption_position" value="header" type="string" />
		<option name="caption_font" value="Verdana" type="string" />
		<option name="caption_size" value="14" type="int" />
		<option name="caption_weight" value="normal" type="string" />
		<option name="caption_style" value="normal" type="string" />
		<option name="caption_decoration" value="none" type="string" />
		<option name="caption_color" value="ffffff" type="string" />
		<option name="caption_width" value="200" type="int" />
		<option name="caption_height" value="32" type="int" />
		<option name="caption_textalign" value="center" type="string" />
		
		<option name="play_displayed" value="false" type="bool" />
		<option name="play_position" value="bottomleft" type="string" />
		<option name="play_text" value="galleryplay_text" type="string" />




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




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




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




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

		<option name="close_callback" value="invokeKrFunction('closeKolorBoxCallback_gallery')" type="string" />
		<option name="zorder" value="1" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
	<internaldata>
		<item name="item_1" title="gallerypicture_title0" caption="gallerypicture_caption0" value="Bentleydata/graphics/gallery/dash_info2.png"/>
		<item name="item_2" title="gallerypicture_title1" caption="gallerypicture_caption1" value="Bentleydata/graphics/gallery/dash_info.png"/>
	</internaldata>
</ptplugin>

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

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

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

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


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

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

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

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

<events name="kolorBoxEvents_gallery" 
	keep="true"
	changetourlanguage="changeLanguage_gallery();"
	/>

<!-- ********** -->
<!-- Interior Options -->
<!-- id : gallery1 -->
<!-- ********** -->

<ptplugin name="gallery1" engine="kolorBox">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="external_padding" value="15" type="int" />
		<option name="draggable_box" value="false" type="bool" />
		<option name="slideshow_autoplay" value="false" type="bool" />
		<option name="slideshow" value="5000" type="int" />
		<option name="container_auto_size" value="true" type="bool" />
		<option name="container_width" value="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="000000" type="string" />
		<option name="container_alpha" value="0.40000000000000002" 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="2" type="int" />
		<option name="container_border_color" value="ffffff" type="string" />
		<option name="container_border_alpha" value="1" type="float" />
		<option name="overlay_displayed" value="true" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="item_border_width" value="0" type="int" />
		<option name="item_border_color" value="ffffff" type="string" />
		<option name="item_border_alpha" value="1" type="float" />
		
		<option name="title_displayed" value="false" type="bool" />
		
		<option name="caption_displayed" value="true" type="bool" />
		<option name="caption_position" value="header" type="string" />
		<option name="caption_font" value="Verdana" type="string" />
		<option name="caption_size" value="14" type="int" />
		<option name="caption_weight" value="normal" type="string" />
		<option name="caption_style" value="normal" type="string" />
		<option name="caption_decoration" value="none" type="string" />
		<option name="caption_color" value="ffffff" type="string" />
		<option name="caption_width" value="200" type="int" />
		<option name="caption_height" value="32" type="int" />
		<option name="caption_textalign" value="center" type="string" />
		
		<option name="play_displayed" value="false" type="bool" />
		<option name="play_position" value="bottomleft" type="string" />
		<option name="play_text" value="gallery1play_text" type="string" />




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




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




		<option name="fullscreen_displayed" value="false" type="bool" />
		<option name="fullscreen_position" value="topleft" type="string" />
		<option name="fullscreen_text" value="gallery1fullscreen_text" type="string" />




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

		<option name="close_callback" value="invokeKrFunction('closeKolorBoxCallback_gallery1')" type="string" />
		<option name="zorder" value="2" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
	<internaldata>
		<item name="item_1" title="gallerypicture_title0" caption="gallerypicture_caption0" value="Bentleydata/graphics/gallery1/interior_2.jpg"/>
		<item name="item_2" title="gallerypicture_title1" caption="gallerypicture_caption1" value="Bentleydata/graphics/gallery1/interior_3.jpg"/>
		<item name="item_3" title="gallery1picture_title2" caption="gallery1picture_caption2" value="Bentleydata/graphics/gallery1/interior_1.jpg"/>
	</internaldata>
</ptplugin>

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

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

		js(invokePluginFunction(gallery1, openKolorBox, %1));
		events.dispatch(onremovedisplayedobject);
	,
		if(%1 !== null AND %1 != gallery1_boxurl,
			closeKolorBox_gallery1();
			delayedcall(0.3,showGallery_gallery1(%1););
		);
	);
</action>

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


<action name="closeKolorBox_gallery1">
	js(invokePluginFunction(gallery1, closeKolorBox));
</action>

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

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

<action name="changeLanguage_gallery1">
	if(ptplugin[gallery1].jsready,
		js(invokePluginFunction(gallery1, changeLanguage));
	,
		delayedcall(delay_gallery1, 0.1, changeLanguage_gallery1(););
	);
</action>

<events name="kolorBoxEvents_gallery1" 
	keep="true"
	changetourlanguage="changeLanguage_gallery1();"
	/>

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


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

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

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

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

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

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

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

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

<!-- ********** -->
<!-- Double Click -->
<!-- id : doubleclick -->
<!-- ********** -->
  <events name="doubleclick_events" keep="true" ondoubleclick="doubleclick_ondoubleclick"/>
  <action name="doubleclick_ondoubleclick">switchFullscreen();


  </action>
<!-- ********** -->
<!-- Gyro Button -->
<!-- id : gyroButton -->
<!-- ********** -->


  <layer name="gyroButton"
         keep="true"
         url="%FIRSTXML%/graphics/gyrobutton/disable_gyro2.png" 
         align="bottomright"
         x="155"
         y="30"
         zorder="5"
         tooltip=""
         onhover="gyroButtonOnHover"
         state="true"
         onclick="gyroButtonOnClick"
         onout="hideTooltip();"
         height="30"
         width="30"
         visible="false"
         />

  <action name="gyroButtonOnHover">
    if (state,
      set(tooltip, gyroButtonfirsttooltip);
     ,
      set(tooltip, gyroButtonsecondtooltip);
    );
    if (tooltip != "", showTooltip(bottomright,''););
  </action>
  <action name="gyroButtonOnClick">
    if (state,disableGyroscope();

     ,enableGyroscope();

    );
  </action>

  <events name="gyroButtonevents" 
    onTourStart="gyroButtonShowGyroscopeButtons();"
    hidetourcontrols="hidegyroButton();" 
    showtourcontrols="gyroButtonShowGyroscopeButtons();" 
	ongyroscopeavailable="gyroButtonupdateGyroscopeButtonsAvailability();"
	ongyroscopeunavailable="gyroButtonupdateGyroscopeButtonsAvailability();"
	ongyroscopeon="gyroButtonenableGyroscopeButtons(true);"
	ongyroscopeoff="gyroButtonenableGyroscopeButtons(false);"
    keep="true" device="html5" />

  <events name="gyroButtonDesktopEvents" onTourStart="delayedcall(gyroButton_desktopdelay,3.0,ifnot(plugin[gyroscope],gyroButtonHideGyroscopeButtons(true);););" keep="true" device="desktop" />

  <action name="hidegyroButton">if(layer[gyroButton],set(layer[gyroButton].visible, false););</action>
  <action name="showgyroButton">if(layer[gyroButton],set(layer[gyroButton].visible, true););</action>


  <krpano gyroButtongyroscopeavailable="false" gyroButtongyroscopeenabled="false"/>
  <action name="gyroButtonupdateGyroscopeButtonsAvailability">
    stopdelayedcall(gyroButton_desktopdelay);
	if (tour_gyroscopedevices,
      set(gyroButtongyroscopeavailable, true);
      gyroButtonupdateGyroscopeButtons();
    ,
      set(gyroButtongyroscopeavailable, false);
      gyroButtonHideGyroscopeButtons(true);
    );
  </action>
  <action name="gyroButtonenableGyroscopeButtons">
    if (tour_gyroscopedevices,
      set(gyroButtongyroscopeenabled, %1);
      gyroButtonupdateGyroscopeButtons();
    );
  </action>
  
  <action name="gyroButtonHideGyroscopeButtons">
		hidegyroButton();
		if('%1' == 'true',
			removelayer(gyroButton);
			set(events[gyroButtonevents].name, null);
			set(events[gyroButtonDesktopEvents].name, null);
		);
	</action>
	<action name="gyroButtonShowGyroscopeButtons">
		if (gyroButtongyroscopeavailable,
			if (gyroButtongyroscopeenabled,

				set(layer[gyroButton].state, true);
				set(layer[gyroButton].url,%FIRSTXML%/graphics/gyrobutton/enable_gyro2.png);
			,
				set(layer[gyroButton].state, false);

				set(layer[gyroButton].url,%FIRSTXML%/graphics/gyrobutton/disable_gyro2.png);
			);
			showgyroButton();
		,
			set(layer[gyroButton].state, false);
			gyroButtonHideGyroscopeButtons();
		);
	</action>
	<action name="gyroButtonupdateGyroscopeButtons">
	if (tour_gyroscopedevices,
		if (tour_displaycontrols,
			gyroButtonShowGyroscopeButtons();
		,
			gyroButtonHideGyroscopeButtons();
		);
	,
		gyroButtonHideGyroscopeButtons();
	);
	</action>

  <include url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/sidebar.xml"/><sidebar name="settings"  groupCount="2"     isRealGroup_0="false" totalPanos0="1"  groupName0="get:data[en_pano10_title].content" group0Contents="pano10|" group0MainPano="pano10" SceneName0="pano10" groupMessage0="pano10_title"      isRealGroup_1="false" totalPanos1="1"  groupName1="get:data[en_pano45_title].content" group1Contents="pano45|" group1MainPano="pano45" SceneName1="pano45" groupMessage1="pano45_title"    sbColor="030303" sbColorAlpha="0.70" sbWidth="280" sbAlign="left" startOpened="true" startOpenedMob="true" sbCloseIfnew="true" sbCloseIfnewMob="false" sbIconPosition="center" sbIconAlpha="80" sbIconAlphaSep="false" sbIconAlphaSepVal="90" sbIconOverState="false" sbIconOpenedState="false" sbIconOpenedOverState="false" sbIconPositionX="0" sbIconPositionY="0" sbIconPositionOpenUse="false" sbIconPositionOpen="top" sbIconPositionOpenX="0" sbIconPositionOpenY="0" sbIconHideShowDelay="false" sbIconDelay="6" sbOpenActions="0" sbCloseActions="0" sbMenuType="thumbscont"  sbIconUrl="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/sidebar_open_black.png"     textFieldUrl="%FIRSTXML%/graphics/textfield.swf"  scrollUrl="%FIRSTXML%/graphics/scrollarea.swf"   scrollAltUrl="%FIRSTXML%/graphics/scrollarea.js"  sbcurrent_PanoTxt="alpo_sidebar_fullsbcurrent_PanoTxt" sbcurrent_PanoTxtFont="trebuchet ms" sbcurrent_PanoTxtFontSize="18" sbcurrent_PanoTxtColor="ffffff" sbcurrent_PanoTxtAlpha="1.00" sbcurrent_PanoTxtAlign="left"  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="false" 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();     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="10"  /><layer name="sbBlock1" style="sbBlocks|sbBlock1ST"/><action name="calcBlock1H">calc(layer[sbBlock1].height, 15 * 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 + 10);</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, 50 * 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, 30 * 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="sbLogoST" keep="true" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/bentley.png" align="top" alpha="0" width="100%" height="prop" handcursor="true" accuracy="1" parent="sbBlock1" onclick="sbOnClickLogo()"/>                         <style name="current_PanoNameUseST" url="" keep="false"/>                        <layer name="sbInsDescr" style="sbBlocks" bgcapture="true" parent="sbBlock2" align="top" width="100%" height="100%" x="0" y="0" padding="10" background="false" backgroundcolor="ffffff" backgroundalpha="1.00" textalign="left" maxwidth="get:layer[sb].width"/>                        <style name="sbButtonsContST" parent="sbBlock3" 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),100)"/><style name="sbButtonsCommonST" width="35" height="35" width.tablet="32" height.tablet="28" width.mobile="32" height.mobile="28" bgcolor="0x0cffa2" bgalpha="0.00" bgroundedge="5" bgroundedge.tablet="5" bgroundedge.mobile="5" bgborder="1 0xffffff 0.00" 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="sbButton1" style="sbButtonsST|sbButtonsCommonST" onclick="sbButton1ClickFirst()"  x="1" y="1"  x.tablet="1" y.tablet="1"   x.mobile="1" y.mobile="1"        /> <layer name="sbButton1icon" style="sbButtonIconST" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/facebook_white.png" parent="sbButton1" urlState1="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/facebook_white.png" urlState2="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/"  />  <action name="sbButton1ClickFirst"> getmessage(urltoopen,alpo_sidebar_fullsbButton1Action101101101101101102101101101102101101101102101101101102780openurlwebsiteurl);openurl(get(urltoopen),_blank);

  </action>                     <layer name="sbButton2" style="sbButtonsST|sbButtonsCommonST" onclick="sbButton2ClickFirst()"  x="47" y="1"  x.tablet="46" y.tablet="1"   x.mobile="40" y.mobile="1"        /> <layer name="sbButton2icon" style="sbButtonIconST" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/twitter_white.png" urlState1="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/twitter_white.png" urlState2="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/" parent="sbButton2"  />  <action name="sbButton2ClickFirst"> getmessage(urltoopen,alpo_sidebar_fullsbButton2Action101101101101101102101101101102101101101102101101101102424openurlwebsiteurl);openurl(get(urltoopen),_blank);

 </action>                          <layer name="sbButton3" style="sbButtonsST|sbButtonsCommonST" onclick="sbButton3ClickFirst()"  x="93" y="1"  x.tablet="91" y.tablet="1"   x.mobile="79" y.mobile="1"        /> <layer name="sbButton3icon" style="sbButtonIconST" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/instigram_white.png" parent="sbButton3" urlState1="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/instigram_white.png" urlState2="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/"  />  <action name="sbButton3ClickFirst"> getmessage(urltoopen,alpo_sidebar_fullsbButton3Action101101101101101102101101101102101101101102101101101102313openurlwebsiteurl);openurl(get(urltoopen),_blank);

  </action>                          <layer name="sbButton4" style="sbButtonsST|sbButtonsCommonST" onclick="sbButton4ClickFirst()"  x="139" y="1"  x.tablet="136" y.tablet="1"   x.mobile="118" y.mobile="1"       /> <layer name="sbButton4icon" style="sbButtonIconST" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/pintrest_white.png" parent="sbButton4" urlState1="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/pintrest_white.png" urlState2="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/" />  <action name="sbButton4ClickFirst"> getmessage(urltoopen,alpo_sidebar_fullsbButton4Action101101101101101102101101101102101101101102101101101102840openurlwebsiteurl);openurl(get(urltoopen),_blank);

 </action>                        <layer name="sbButton5" style="sbButtonsST|sbButtonsCommonST" onclick="sbButtonToggle(5)"  x="185" y="1"  x.tablet="181" y.tablet="1"   x.mobile="157" y.mobile="1"        /> <layer name="sbButton5icon" style="sbButtonIconST" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/audio_white_block.png" parent="sbButton5" urlState1="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/audio_white_block.png" urlState2="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/audio_off_white_block.png"  />  <action name="sbButton5ClickFirst"> stopTourSounds();

  </action>   <action name="sbButton5ToggleClick">playTourSounds();

</action>                                  <layer name="sbButtonsCont" style="sbButtonsContST" width="1" height="1" onloaded="if(device.desktop,sbButtonsContgetW( 231 ,1 ,9 ,1 ,0 ,35  ,1  ); );  if(device.tablet,sbButtonsContgetW_TAB( 226 ,1 ,11 ,1 ,0 ,28  ,1  ); );   if(device.mobile,sbButtonsContgetW_MOB( 196 ,1 ,5 ,1 ,0 ,28  ,1  ); );  sbButtonsContSetOffset(); sbButtondContSetMinHeight(sbBlock3); "/><action name="sbButtonsContgetW">if(%1 GE %2, sub(layer[sbButtonsCont].width, %1, %3);  sub(layer[sbButtonsCont].width, %7);  , sub(layer[sbButtonsCont].width, %2, %3);  sub(layer[sbButtonsCont].width, %7);  ); if(%5 GT 0, add(layer[sbButtonsCont].height, %5, %6);  add(layer[sbButtonsCont].height, %7);  , add(layer[sbButtonsCont].height, %4, %6);  add(layer[sbButtonsCont].height, %7);  );</action><action name="sbButtonsContgetW_TAB">if(%1 GE %2, sub(layer[sbButtonsCont].width, %1, %3);  sub(layer[sbButtonsCont].width, %7);  , sub(layer[sbButtonsCont].width, %2, %3);  sub(layer[sbButtonsCont].width, %7);  ); if(%5 GT 0, add(layer[sbButtonsCont].height, %5, %6);  add(layer[sbButtonsCont].height, %7);  , add(layer[sbButtonsCont].height, %4, %6);  add(layer[sbButtonsCont].height, %7);  );</action><action name="sbButtonsContgetW_MOB">if(%1 GE %2, sub(layer[sbButtonsCont].width, %1, %3);  sub(layer[sbButtonsCont].width, %7);  , sub(layer[sbButtonsCont].width, %2, %3);  sub(layer[sbButtonsCont].width, %7);  ); if(%5 GT 0, add(layer[sbButtonsCont].height, %5, %6);  add(layer[sbButtonsCont].height, %7);  , add(layer[sbButtonsCont].height, %4, %6);  add(layer[sbButtonsCont].height, %7);  );</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="false"/><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 : 'Bentleydata/graphics/alpo.sidebar-v1.0.72', flags : {}, font : '', jsonData : '{ "project" : { "data" : { "dataDir" : "Bentleydata", "bgClr" : "#ffffff", "fgClr" : "#000000", "groupsCount" : 2 }, "groups" : [  { "id" : "panogroup11", "title" : "panogroup11_title", "description" : "panogroup11_description", "url" : "%FIRSTXML%/carinbt360_10/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup11.png", "color" : "#808080", "real" : false, "panoCount" : 1, "mainPano" : "pano10", "panoramas" : [  { "id" : "pano10", "parentID" : "panogroup11", "title" : "pano10_title", "description" : "pano10_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano10.png", "url" : "%FIRSTXML%/carinbt360_10/thumbnail.jpg" }  ] },  { "id" : "panogroup114", "title" : "panogroup114_title", "description" : "panogroup114_description", "url" : "%FIRSTXML%/pic_2017_11_04_17_02_45/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/panogroup114.png", "color" : "#808080", "real" : false, "panoCount" : 1, "mainPano" : "pano45", "panoramas" : [  { "id" : "pano45", "parentID" : "panogroup114", "title" : "pano45_title", "description" : "pano45_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/assets/--/pano45.png", "url" : "%FIRSTXML%/pic_2017_11_04_17_02_45/thumbnail.jpg" }  ] }  ] }, "plugin" : { "includes" : { "textfield" : "%FIRSTXML%/graphics/textfield.swf", "scrollarea" : "%FIRSTXML%/graphics/scrollarea.js" }, "settings" : { "sb" : { "width" : 280, "specifyWidth" : true,  "tabWidth" : 0, "mobWidth" : 280,  "color" : "030303", "alpha" : 0.00, "align" : "left", "zorder" : 98, "startOpened" : true, "startOpenedMob" : true, "closeIfnew" : true, "closeIfnewMob" : false, "menuType" : "thumbscont", "openerUse" : false, "contextMenuUse" : false }, "btn" : { "use" : true, "position" : "center", "alpha" : 80, "alphaOpenUse" : false, "alphaOpen" : 90, "overStateUse" : false, "openStateUse" : false, "openOverStateUse": false, "posX" : "0", "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/sidebar_open_black.png" , "urlOver" : "", "urlOpen" : "", "urlOpenOver" : "" }, "currentPano" : { "text" : "alpo_sidebar_fullsbcurrent_PanoTxt", "font" : "trebuchet ms", "fontSize" : 18, "color" : "ffffff", "alpha" : "1.00", "align" : "left", "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" : false, "width" : 203, "height" : 50, "vSpace" : 5, "xOffset" : 20,   "loadMainPano" : false, "loadMainOpen" : false, "bgrColor" : "0x111111", "bgrAlpha" : 0.60, "txtOffsetL" : 10, "txtOffsetR" : 0, "txtAlign" : "left", "font" : "arial", "fontSize" : 13, "color" : "eeeeee", "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" : "dflt", "ignoreRest" : true } }, "customSet" : [  { "title" : "alpo_sidebar_fullitemName", "image" : "", "elemIndex" : 0, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  ""  }  ] } } ' }; krpano.set('events[alpoSBinitEV].onxmlcomplete', null); ]]></action> <sidebar name="settings" loadGroupMainPano="false" sbThumbsContMargin="5" sbThumbsCloseIfnew="false" sbPanoContDescrUse="false" sbPanoContNameUse="false" sbPanoContNameSingleUse="false" sbPanoNameFontAlign="left"  sbPanoChooseContCloseUrl="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/graphics/sb_close_w.png"  sbPanoContCloseAlpha="90" sbPanoContCloseScale="80" overAnimUse="true"  overAnimColor="true" overColor="000000" overColorAlpha="0.50"   overAnimLineColor="true" overLineColor="ffffff" overLineColorAlpha="1.00" overLineWidth="3"  sbScrollAreaHeight="56" sbScrollAreaVSpace="5" sbScrollAreaNameWidth="243" sbScrollNameTxtBgrColor="111111" sbScrollNameTxtBgrAlpha="0.30" sbPanoNameTxtLeftPadding="0" sbPanoNameTxtRightPadding="0" sbScrollAreaXOffset="0" sbPanoNameFont="trebuchet ms" sbPanoNameFontSize="16" sbPanoContNumOfTotalTxtSize="12" sbPrefixTotal="alpo_sidebar_fullsbPrefixTotal"  sbPanoContNumOfTotalColor="ffffff"  sbPanoContNameUseFontSize="16" sbPanoNameFontColor="ffffff" sbPanoContNameUsePosition="center"    sbPanoContNameUseAlign="top"  sbPanoContNameUseOffset="0" sbDisplayPanoTotalInGr=""  sbPanoNameFontItalic="font-style&#58;normal&#59;"   sbPanoNameFontBold="font-weight&#58;normal&#59;"   sbPanoNameFontTD="text-decoration&#58;none&#59;"   sbPanoContNumOfTotal="false" sbPanoContOverlay="true" sbPanoContEye="true" sbPanoContThumbsBottomMargin="3" sbSinglePanoClick="false" sbMarkCurrentGroup="false" sbSyncExternalLoad="false" sbThumbsCloseIfnewIfClosed="false" delayOfSyncExternal="0.5" sbScrlBtnsUse="false"  sbTcMenuItemBorder="false"  sbTcMenuItemBorderSet="0"  itemTcBorderContW="243" itemTcBorderContH="55" itemTcBorderContXoff="0" itemTcBorderContYoff="0"/> <krpano devices="mobile"><sidebar name="settings" sbLightBoxed="true" sbCloseSBinLBStyle="false" sbOpenSBinLBStyle="false"/></krpano>  <style name="sbPanoDisplay_closeST" align="righttop"/><style name="sbPanoDisplayST" align="lefttop" bgcolor="0x030303" bgalpha="0.70"/><style name="sbPanoThumbInner" margin="3"/><style name="sbPanoThumbInnerInner" bgcolor="0x000000" bgalpha="0.6"/><style name="sboneOfTotalST" keep="false"/>  <style name="sbEyeMark" keep="true" url="%FIRSTXML%/graphics/alpo.sidebar-v1.0.72/graphics/sb_eye.png"/>   <action name="sbThumbsCloseIfnewCallAct"> sbThumbsCloseIfnewAct();</action>    <action name="appendTHname"> set(thName_pano10, sbPanoThumbInner_0_0); set(thName_pano45, sbPanoThumbInner_1_0);</action><layer name="sbPanoDispLboxOverlay" keep="true" type="container" width="100%" height="100%" align="center" visible="false" alpha="0" autoalpha="true" bgcolor="0x030303" bgalpha="0.80" bgcapture="true" zorder="99" onclick="hidePD()"/>
<!-- ********** -->
<!-- Web video Box -->
<!-- id : webVideoViewer -->
<!-- ********** -->

<ptplugin name="webVideoViewer" engine="kolorBox">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="external_padding" value="15" type="int" />
		<option name="draggable_box" value="false" type="bool" />
		<option name="container_auto_size" value="true" type="bool" />
		<option name="container_width" value="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="000000" 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="false" 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="000000" type="string" />
		<option name="caption_displayed" value="false" type="bool" />
		<option name="video_autoplay" 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="webVideoViewerfullscreen_text" type="string" />




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

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

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

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

		stopTourSounds();

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

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


<action name="closeKolorBox_webVideoViewer">
	js(invokePluginFunction(webVideoViewer, closeKolorBox));
</action>

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

	playTourSounds();

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

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

<events name="kolorBoxEvents_webVideoViewer" 
	keep="true" 
	changetourlanguage="changeLanguage_webVideoViewer();"
	/>

<!-- ********** -->
<!-- Context menu -->
<!-- id : contextmenu -->
<!-- ********** -->
  <contextmenu fullscreen="false" versioninfo="false" touch="true">
    <item name="website1" onclick="getmessage(urltoopen,contextmenuwebsiteurl1);openurl(get(urltoopen),_blank);" />
    <item name="normal"        onclick="setViewNormal();
" separator="true"/>
    <item name="littleplanet"  onclick="setViewLittlePlanet();
"/>
    <item name="fullscreenentry" onclick="enterFullscreen();
" separator="true"/>
  </contextmenu>

  <events name="contextmenuevents" keep="true" 
    onenterfullscreen="updateContextMenu" onexitfullscreen="updateContextMenu" 
    onxmlcomplete="updateContextMenu" 
    changetourlanguage="updateContextMenu" 
    />
  <events name="contextmenuvrevents" keep="true" 
    onvravailable="updateContextMenu();" onvrunavailable="updateContextMenu();"
    devices="html5"
    />
  <action name="updateContextMenu">
    getmessage(contextmenu.item[website1].caption, contextmenuopenwebsitelabel1);
    getmessage(contextmenu.item[normal].caption, contextmenunormallabel);
    set(sceneisfull360, false);
    if(scene[get(xml.scene)].full360,
      sub(viewhfov, panoview.hmax, panoview.hmin);
      if (viewhfov == 360,
        sub(viewvfov, panoview.vmax, panoview.vmin);
        if (viewvfov == 180,
          set(sceneisfull360, true);
        );
      );
    );
    if (sceneisfull360 AND (device.webgl OR device.flash),
      set(contextmenu.item[littleplanet].visible, true);
      getmessage(contextmenu.item[littleplanet].caption, contextmenulittleplanetlabel);
    ,
      set(contextmenu.item[littleplanet].visible, false);
    );
    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>

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

  <!-- Sounds Management -->

  <action name="play3DLocalSounds">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, playpanolocalsounds();););
  </action>
  <action name="stop3DLocalSounds">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, stoppanolocalsounds();););
  </action>
  <action name="resume3DLocalSounds">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, 
      set(kill3dSoundOnResume, true);
      if(layer[displayedStandardVideo],
      if(layer[displayedStandardVideo].pausebgsound,
      if(tour_current_played_video,
        set(kill3dSoundOnResume, false);
      );););
      if(layer[webvideodisplay_player],
      if(layer[webvideodisplay_player].pausebgsound,
      if(tour_current_played_web_video,
        set(kill3dSoundOnResume, false);
      );););
      if(tour_current_played_sound_pausesound,
      if(tour_current_played_sound,
        set(kill3dSoundOnResume, false);
      ););
      if(kill3dSoundOnResume,
        resumepanolocalsounds();
      );
    ););
  </action>
  <action name="pause3DLocalSounds">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, pausepanolocalsounds();););
  </action>
  <action name="set3DLocalSoundsVolume">
    if (xml.scene, if (scene[get(xml.scene)].haslocalsounds, setpanolocalsoundsvolume();););
  </action>
  <action name="playTourSounds">
    set(tour_soundson, true);events.dispatch(playtoursoundsevent);
    resumeTourSoundsActions(true,true,true,true,true);
  </action>
  <action name="stopTourSounds">
    set(tour_soundson, false);events.dispatch(stoptoursoundsevent);
    pauseTourSoundsActions(true,true,true,true,true);
  </action>
  <action name="setTourSoundsVolume">
    set(tour_soundsvolume, %1);events.dispatch(changetoursoundsevent);
    set3DLocalSoundsVolume();
  </action>
  <action name="playTourSoundsActions">
    if(%1,
        play3DLocalSounds();
    );
  </action>
  <action name="stopTourSoundsActions">
    if(%1,
      stop3DLocalSounds();
    );
    if(%3,
      stopVideoActionsSounds();
    );
  </action>
  <action name="resumeTourSoundsActions">
    if(%1,
        resume3DLocalSounds();
    );
    if(%3,
      resumeVideoActionsSounds();
    );
  </action>
  <action name="pauseTourSoundsActions">
    if(%1,
      pause3DLocalSounds();
    );
    if(%3,
      pauseVideoActionsSounds();
    );
  </action>
  <action name="stopVideoActionsSounds">
    if(tour_current_played_video,
      if(layer[displayedStandardVideo],
        layer[displayedStandardVideo].stop();
        removelayer(displayedStandardVideo);
        if(layer[displayedStandardVideoOverlayButton], removelayer(displayedStandardVideoOverlayButton); );
        if(layer[displayedStandardVideoOverlay], removelayer(displayedStandardVideoOverlay); );
        delete(tour_current_played_video);
        set(tour_current_played_video_state, 0);
      );
    );
    if(tour_current_played_web_video,
      displayWebVideoObjectClose();
    );
  </action>
  <action name="resumeVideoActionsSounds">
    if(tour_current_played_video,
      set(resumeVideoActionsVerification, true);
      if(tour_current_played_sound,
        if(tour_current_played_video_state LT tour_current_played_sound_state,
          set(resumeVideoActionsVerification, false);
        );
      );
      if(resumeVideoActionsVerification,
        if (tour_soundson,
          if(device.flash OR (device.webgl AND !device.ios),
            div(volume, tour_soundsvolume, 100);
            set(layer[displayedStandardVideo].volume, get(volume));
          ,
            ifnot(device.ios,
              js(kpanotour.Sounds.startVideosSounds(get(volume)));
            ,
              if(tour_soundsvolume GT 0,
                set(layer[displayedStandardVideo].muted, false);
              ,
                set(layer[displayedStandardVideo].muted, true);
              );
            );
          );
        ,
          if(device.flash OR (device.webgl AND !device.ios),
            set(layer[displayedStandardVideo].volume, 0);
          ,
            ifnot(device.ios,
              js(kpanotour.Sounds.stopVideosSounds());
            ,
              set(layer[displayedStandardVideo].muted, true);
            );
          );
        );
      );
    );
  </action>
  <action name="pauseVideoActionsSounds">
    if(tour_current_played_video,
      if(device.flash OR (device.webgl AND !device.ios),
        set(layer[displayedStandardVideo].volume, 0);
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds());
        ,
          set(layer[displayedStandardVideo].muted, true);
        );
      );
    );
  </action>

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


<action name="setViewLittlePlanet">
	set(sceneisfull360, false);
	if(scene[get(xml.scene)].full360,
		sub(viewhfov, panoview.hmax, panoview.hmin);
		if (viewhfov == 360,
			sub(viewvfov, panoview.vmax, panoview.vmin);
			if (viewvfov == 180,
				set(sceneisfull360, true);
			);
		);
	);
	if (sceneisfull360 AND (device.webgl OR device.flash),
		if(normalViewActivated,stopSetViewTweens(););
		if(current_view_isflat === true,
			setViewNonFlat(VFOV);
		);
		setViewLittlePlanetComplete();
	);
</action>

<action name="setViewLittlePlanetComplete">
	set(backtonormalfirst,false);
	if(view.pannini GE 1.0, set(backtonormalfirst,true));
	if(view.stereographic == false, set(backtonormalfirst,true));
	if(backtonormalfirst, hideTooltip();tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeOutQuad, WAIT); );
	set(view.stereographic, true);
	set(view.fisheyefovlink, 1.5);
	tween(view.architectural, 0.0, 0.25);
	tween(view.vlookat, 90, distance(179, 1.50));
	tween(view.pannini, 0.0, distance(1.0, 0.75), easeOutQuad, if(panniniViewActivated,restoreViewFromPannini();););
	if(panoview.fovmax LE 150, set(view.fovmax, 150); , set(view.fovmax, get(panoview.fovmax)); );
	tween(view.fisheye, 1.0, distance(1.0, 0.75));
	tween(view.fov, 150, distance(179, 0.75));
</action>

<action name="setViewNormal">
	stopSetViewTweens();
	if(current_view_isflat === true,
		setViewNonFlat(VFOV);
	);
	setViewNormalComplete();
</action>

<action name="setViewNormalComplete">
	set(view.fisheyefovlink, 0.5);
	set(view.fovmax, get(panoview.fovmax));
	tween(view.architectural, 0.0, distance(1.0, 0.45));
	tween(view.pannini, 0.0, distance(1.0, 0.45), easeOutQuad, if(panniniViewActivated,restoreViewFromPannini();););
	tween(view.vlookat, get(panoview.v), distance(90, 0.45));
	tween(view.fov, get(panoview.fov), distance(50, 0.45));
	tween(view.fisheye, 0.0, distance(1.0, 0.45),
		set(view.stereographic,false);
	);
</action>

<krpano normalViewActivated="true" />
<action name="stopSetViewTweens">
	stoptween(view.fov);
	stoptween(view.vlookat);
	stoptween(view.fisheye);
	stoptween(view.architectural);
	stoptween(view.pannini);
</action>

</krpano>