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

  
  <!-- Spot Style - Default Polygon Spot Style -->
  <style name="PolygonDefaultPolygonSpotStyle"
           subdiv="true"
           visible="false"
           bordercolor="0xffffff"
           fillcolor="0xffffff"
           borderwidth="1"
           borderalpha="1"
           fillalpha="0"
           capture="false"
           onhover="onhoverPolygonDefaultPolygonSpotStyle"
           onover="onoverPolygonDefaultPolygonSpotStyle"
           onout="onoutPolygonDefaultPolygonSpotStyle"
           />
  <action name="onhoverPolygonDefaultPolygonSpotStyle">
    showTooltip('hotspot');
  </action>

  <action name="onoverPolygonDefaultPolygonSpotStyle">
    set(bordercolor, 0xce1632);
    set(fillcolor, 0xce1632);
    set(borderalpha, 1);
    set(fillalpha, 0.20000000000000001);
    set(borderwidth, 4);
  </action>

  <action name="onoutPolygonDefaultPolygonSpotStyle">

    set(bordercolor, 0xffffff);
    set(fillcolor, 0xffffff);
    set(borderalpha, 1);
    set(fillalpha, 0);

    set(borderwidth, 1);
    hideTooltip();
  </action>


<krpano  > 
<!-- ******************************************* -->
<!-- ALPO Sidebar Plugin -->
<!-- ******************************************* -->
 <include url="%FIRSTXML%/graphics/alpo.sidebar-v1.1.1/sidebar.xml" /> <sidebar name="settings"  groupCount="1"     isRealGroup_0="false" totalPanos0="1"  groupName0="get:data[fr_pano148_title].content" group0Contents="pano148|" group0MainPano="pano148" SceneName0="pano148" groupMessage0="pano148_title"    sbColor="ffffff" sbColorAlpha="1.00" sbWidth="245" sbAlign="left" startOpened="true" startOpenedMob="true" sbCloseIfnew="false" sbCloseIfnewMob="true" sbIconPosition="bottom" 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.1.1/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="false" 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="false" /> <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();      setBlockAutoHeight( 2, 2 );  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="3"  /> <layer name="sbBlock1" style="sbBlocks|sbBlock1ST" /> <action name="calcBlock1H"> calc(layer[sbBlock1].height, 10 * 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 + 3); </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, 40 * 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="sbLogoST" keep="true" url="%FIRSTXML%/graphics/alpo.sidebar-v1.1.1/logo_transparence.png" 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.1.1/menutype/hierarchical.xml" /> <style name="scrolLayerST" keep="true" type="container" align="top" parent="sbBlock2" accuracy="1" width="0" height="100%"/>                                      <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="false" />  <events devices="html5" name="alpoSBinitEV" keep="true" onxmlcomplete="alpoSBinit" /> <plugin devices="html5" name="alpoSB" keep="true" url="%FIRSTXML%/graphics/alpo.sidebar-v1.1.1/js/alpo.sidebar.js" /> <action devices="html5" name="alpoSBinit" type="Javascript"><![CDATA[ window.alpoSB = { plugID : 'alpo_sidebar_full', plugDir : 'Gedimat-Labenne-Rougierdata/graphics/alpo.sidebar-v1.1.1', flags : {}, font : '', jsonData : '{ "project" : { "data" : { "dataDir" : "Gedimat-Labenne-Rougierdata", "bgClr" : "#ffffff", "fgClr" : "#000000", "groupsCount" : 1 }, "groups" : [  { "id" : "panogroup149", "title" : "panogroup149_title", "description" : "panogroup149_description", "url" : "%FIRSTXML%/plan_gedimat_labenne_148/thumbnail.jpg", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.1.1/assets/--/panogroup149.png", "color" : "#787878", "real" : false, "panoCount" : 1, "mainPano" : "pano148", "panoramas" : [  { "id" : "pano148", "parentID" : "panogroup149", "title" : "pano148_title", "description" : "pano148_description", "urlAlt" : "%FIRSTXML%/graphics/alpo.sidebar-v1.1.1/assets/--/pano148.png", "url" : "%FIRSTXML%/plan_gedimat_labenne_148/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" : false, "closeIfnewMob" : true, "menuType" : "hierarchical", "openerUse" : false, "sbCloseOnClick" : false, "contextMenuUse" : true }, "btn" : { "use" : false, "position" : "bottom", "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.1.1/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" : "", "orderItems" : " ", "groupAsText" : false, "panoAsText" : false, "custAsText" : true, "width" : 203, "height" : 25, "vSpace" : 15, "xOffset" : 20,   "loadMainPano" : false, "loadMainOpen" : false, "bgrColor" : "0xce1632", "bgrAlpha" : 1.00, "txtOffsetL" : 10, "txtOffsetR" : 0, "txtAlign" : "left", "font" : "arial black", "fontSize" : 13, "color" : "eeeeee", "italic" : " font-style:normal; ", "bold" : " font-weight:bold; ", "underline" : " text-decoration:none; ", "overStateUse" : false, "overColorUse" : true, "overColor" : "0x000000", "overAlpha" : 0.30, "itemIconUse" : false, "itemIconDflt" : true, "itemIcon" : "", "itemIconOffsetX" : "0", "itemIconOffsetY" : "0", "itemIconScale" : 100, "itemIconAlign" : "right", "itemIconSpecify" : false,  "itemBorderUse" : true, "itemBorder" : "0,0,1,0 0xce1632 1.00", "itemBorderT" : 0, "itemBorderR" : 0, "itemBorderB" : 1, "itemBorderL" : 0, "hrBgroundedge" : "0 0 0 0", "thumbPos" : "top", "thumbTxtPadT" : 0, "thumbTxtPadB" : 0, "thumbHeight" : 0, "thumbVStxtMarg" : 5, "thumbAlign" : "left", "thumbHorizOff" : 10,   "backBtn" : { "height" : 0, "width" : 0,   "bottomMarg" : 0, "align" : "lefttop", "bgrUse" : false, "bgrColor" : "0x0b0b0b", "bgrAlpha" : 0.40, "bgrChange" : true, "bgrChangeColor" : "0x0cffa2", "bgrChangeAlpha" : 0.50, "txtUse" : false, "txtSrc" : "group", "font" : "arial black", "fontSize" : 14, "fontColor" : "eeeeee", "txtAlign" : "left", "txtVcenter" : true, "paddingT" :  0 , "paddingB" :  0 , "paddingR" : 8, "paddingL" : 30, "iconUse" : false, "iconWidth" : 24, "iconHeight" : 24, "iconUrl" : "  %FIRSTXML%/graphics/alpo.sidebar-v1.1.1/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, "panoAttachedByAct" : false } }, "customSet" : [  { "title" : "alpo_sidebar_fullitemName0", "image" : "", "elemIndex" : 0, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "b00620", "subPanoIDs" : "", "itemActions" :  "itemClick0();"  },  { "title" : "alpo_sidebar_fullitemName19", "image" : "", "elemIndex" : 1, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick1();"  },  { "title" : "alpo_sidebar_fullitemName1", "image" : "", "elemIndex" : 2, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick2();"  },  { "title" : "alpo_sidebar_fullitemName2", "image" : "", "elemIndex" : 3, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick3();"  },  { "title" : "alpo_sidebar_fullitemName3", "image" : "", "elemIndex" : 4, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick4();"  },  { "title" : "alpo_sidebar_fullitemName4", "image" : "", "elemIndex" : 5, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick5();"  },  { "title" : "alpo_sidebar_fullitemName5", "image" : "", "elemIndex" : 6, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick6();"  },  { "title" : "alpo_sidebar_fullitemName6", "image" : "", "elemIndex" : 7, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick7();"  },  { "title" : "alpo_sidebar_fullitemName8", "image" : "", "elemIndex" : 8, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick8();"  },  { "title" : "alpo_sidebar_fullitemName7", "image" : "", "elemIndex" : 9, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick9();"  },  { "title" : "alpo_sidebar_fullitemName9", "image" : "", "elemIndex" : 10, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick10();"  },  { "title" : "alpo_sidebar_fullitemName10", "image" : "", "elemIndex" : 11, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick11();"  },  { "title" : "alpo_sidebar_fullitemName11", "image" : "", "elemIndex" : 12, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick12();"  },  { "title" : "alpo_sidebar_fullitemName12", "image" : "", "elemIndex" : 13, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick13();"  },  { "title" : "alpo_sidebar_fullitemName13", "image" : "", "elemIndex" : 14, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick14();"  },  { "title" : "alpo_sidebar_fullitemName14", "image" : "", "elemIndex" : 15, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick15();"  },  { "title" : "alpo_sidebar_fullitemName15", "image" : "", "elemIndex" : 16, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick16();"  },  { "title" : "alpo_sidebar_fullitemName16", "image" : "", "elemIndex" : 17, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick17();"  },  { "title" : "alpo_sidebar_fullitemName17", "image" : "", "elemIndex" : 18, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick18();"  },  { "title" : "alpo_sidebar_fullitemName18", "image" : "", "elemIndex" : 19, "custom" : true, "isChild" : false, "subItemsInd" : "", "subGroupsColor" : "808080", "subPanoIDs" : "", "itemActions" :  "itemClick19();"  }  ] } } ' }; krpano.set('events[alpoSBinitEV].onxmlcomplete', null); ]]></action>   <action name="itemClick0">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(get(panoview.h), get(panoview.v), get(panoview.fov), smooth(400,20,100));
    

  </action>    <action name="itemClick1">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.136558, 0.007824, 0.142247,smooth(400,20,100));
    

  </action>    <action name="itemClick2">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(-0.010694, -0.160164, 0.156472,smooth(400,20,100));
    

  </action>    <action name="itemClick3">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.028508, -0.161939, 0.117560,smooth(400,20,100));
    

  </action>    <action name="itemClick4">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.091355, -0.155970, 0.142247,smooth(400,20,100));
    

  </action>    <action name="itemClick5">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.193922, -0.157284, 0.142247,smooth(400,20,100));
    

  </action>    <action name="itemClick6">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.307645, -0.163050, 0.106873,smooth(400,20,100));
    

  </action>    <action name="itemClick7">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.306558, -0.091514, 0.129316,smooth(400,20,100));
    

  </action>    <action name="itemClick8">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.288707, -0.031728, 0.106873,smooth(400,20,100));
    

  </action>    <action name="itemClick9">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.253876, 0.077454, 0.129316,smooth(400,20,100));
    

  </action>    <action name="itemClick10">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(-0.018848, 0.124016, 0.117560,smooth(400,20,100));
    

  </action>    <action name="itemClick11">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(-0.030251, 0.065014, 0.106873,smooth(400,20,100));
    

  </action>    <action name="itemClick12">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(-0.013225, -0.040558, 0.117560,smooth(400,20,100));
    

  </action>    <action name="itemClick13">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.131641, 0.106415, 0.117560,smooth(400,20,100));
    

  </action>    <action name="itemClick14">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.203833, 0.034022, 0.106873,smooth(400,20,100));
    

  </action>    <action name="itemClick15">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.214953, -0.080211, 0.097157,smooth(400,20,100));
    

  </action>    <action name="itemClick16">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.149027, -0.066827, 0.088325,smooth(400,20,100));
    

  </action>    <action name="itemClick17">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.050184, -0.068451, 0.080295,smooth(400,20,100));
    

  </action>    <action name="itemClick18">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(0.047200, 0.041058, 0.129316,smooth(400,20,100));
    

  </action>    <action name="itemClick19">  
          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(-0.038943, 0.169422, 0.080295,smooth(400,20,100));
    

  </action>      </krpano> 
<!-- ********** -->
<!-- Call actions on user events -->
<!-- id : callActionsOnUserEvents -->
<!-- ********** -->
    <events name="callActionsOnUserEventsevents" keep="true"
            onclick="callActionsOnUserEventsonclick()"
     />



    <action name="callActionsOnUserEventsonclick">
if(SuperBoxisOpen,SuperBoxhide(););

          mainloadscene(pano148);
      zoomto(get(panoview.fov),smooth(400,20,100));wait(0.5);lookto(get(panoview.h), get(panoview.v), get(panoview.fov), smooth(400,20,100));
    



    </action>


<!-- ********** -->
<!-- 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"
         />
  <style name="SansControlBar_btn_style_off"
         keep="true"
         edge="right"
         align="right"
         x="0" y="0"
         width="40" height="40"
         />

  <layer name="SansControlBar_menu_bg"
         keep="true"
         type="container"
         zorder="3"
         width="40"
         height="40"
         align="bottomright"
         x="0" y="10"
         maskchildren="true"
         rotate="0"
         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"
            />
    <layer name="SansControlBarbtn_closefs"
            url="%FIRSTXML%/graphics/sans controlbar/btn_close_fs.png"
            onclick="exitFullscreen();
"
            style="SansControlBar_btn_style"
            visible="false"
            devices="fullscreensupport"
            />





 </layer>






  <action name="SansControlBarhideMenuControls">
    set(SansControlBarIsOpened, false);


	SansControlBarupdateFullscreenButtons();








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

	set(layer[SansControlBar_menu_bg].visible, true);
  </action>
  <action name="SansControlBarshowMenuControls">
    set(SansControlBarIsOpened, true);
	set(layer[SansControlBar_menu_bg].visible, true);


	SansControlBarupdateFullscreenButtons();







    set(layer[SansControlBar_menu_bg].width, get(SansControlBarbackgroundwidthwhenopened));
  </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>



  <action name="SansControlBarbuildMenu">
    
    set(SansControlBarbutton_pos, 0);



      if (device.fullscreensupport,
        set(layer[SansControlBarbtn_openfs].x , get(SansControlBarbutton_pos));
        set(layer[SansControlBarbtn_closefs].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>



<!-- ********** -->
<!-- Super Box -->
<!-- id : SuperBox Name :  Super Box -->
<!-- ********** -->

<!-- Superbox v.1.7 - Copyright Panotourplugin.com - 2021 -->
<!-- Code Maurizio Chiocchetti    -->
<include url="%FIRSTXML%/graphics/superbox/core.xml" />

<events name="SuperBoxremovescroll_event"
keep="true"
onxmlcomplete="SuperBoxremove_scroll();"
devices="desktop"
/>

<action name="SuperBoxremove_scroll"  type="javascript" >
<![CDATA[
        $('head').append('<style type="text/css">  * { scrollbar-width: none;  } body ::-webkit-scrollbar { width: 0 !important }    body { scrollbar-width: none; }    body { -ms-overflow-style: none; } ::-webkit-scrollbar {width: 0px;background: transparent;});</style>');
]]>
</action>

<action name="SuperBoxset_css_id" type="Javascript">
  caller.sprite.id = args[1];
</action>

<sb_settings
    nameu="06405706-077D447D-80E0519E-682F0AF4"
    emailu="xavier@lookin3d.fr"
/>


<events name="global_event"
keep="true"
onloadcomplete=""
changetourlanguage="if(SuperBoxisOpen,removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);SuperBoxshow();, removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null););"

/>





<events name="SuperBoxstartDescrition"
keep="true"
onremovepano="SuperBoxreset_contents_hide();"
/>




<action name="SuperBoxreset_contents" >
  SuperBoxhide();removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);delayedcall(0.1,SuperBoxshow(););
</action>
<action name="SuperBoxreset_contents_hide" >
  SuperBoxhide();removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);SuperBoxhide();
</action>


<action name="SuperBoxSetVarGlobal" autorun="onstart">

<!--


set(SuperBoxposition_box,right);
set(SuperBoxposition_box_y,bottom);




-->

</action>



<action name="SuperBoxvis_bar" >
  set(SuperBoxbar_var,0);
  inc(SuperBoxbar_var,1);
  inc(SuperBoxbar_var,1);
  inc(SuperBoxbar_var,1);
  if(SuperBoxbar_var LT 4,
      set(layer[SuperBoxcontainer_button].visible, true);
      ,
      set(layer[SuperBoxcontainer_button].visible, false);
  );
</action>


<action name="SuperBoxconvert" type="Javascript" >
<![CDATA[
var krpano = document.getElementById("krpanoSWFObject");
var decodeEntities = (function() {
  var element = document.createElement('div');
  function decodeHTMLEntities (str) {
    if(str && typeof str === 'string') {
      str = str.replace(/<script[^>]*>([\S\s]*?)<\/script>/gmi, '');
      str = str.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gmi, '');
      element.innerHTML = str;
      str = element.textContent;
      element.textContent = '';
    }
    return str;
  }
  return decodeHTMLEntities;
})();

var SuperBoxtext = decodeEntities(args[1]);

var SuperBoxtext = args[1];

krpano.set('SuperBoxhsho2', SuperBoxtext);

]]>

</action>




<action name="SuperBoxadd_html_code" type="Javascript">
        <![CDATA[

        var mmsiz = 40 + 5;
        var SuperBoxdiv = document.createElement("div");

        SuperBoxdiv.style.webkitUserSelect =
        SuperBoxdiv.style.MozUserSelect =
        SuperBoxdiv.style.msUserSelect =
        SuperBoxdiv.style.userSelect = "text";

        SuperBoxdiv.setAttribute("id","SuperBoxmydiv");
        if(args[2] == "desk"){
        SuperBoxdiv.setAttribute("style", ' -webkit-overflow-scrolling: touch;  height:100%;   text-transform:none; font-family:Arial; font-size:12px; box-sizing:border-box; text-align:left; font-weight:normal;font-style:normal;overflow-y:scroll;padding:5px;height:100%;');
        } else if(args[2] == "mobile"){

        SuperBoxdiv.setAttribute("style", ' -webkit-overflow-scrolling: touch;  height:100%;   text-transform:none; font-family:Arial; font-size:11px; box-sizing:border-box; text-align:left; font-weight:normal;font-style:normal;overflow:scroll;padding:5px;height:100%;');
        } else if(args[2] == "tablet"){

        SuperBoxdiv.setAttribute("style", ' -webkit-overflow-scrolling: touch;  height:100%;   text-transform:none; font-family:Arial; font-size:13px; box-sizing:border-box; text-align:left; font-weight:normal;font-style:normal;overflow:scroll;padding:5px;height:100%;');
        }

        function stopPropagation(e){ e.stopPropagation(); }
		function preventDefault(e){ e.preventDefault(); }

        SuperBoxdiv.addEventListener("wheel", stopPropagation, true);
		SuperBoxdiv.addEventListener("mousewheel", stopPropagation, true);
		SuperBoxdiv.addEventListener("DOMMouseScroll", stopPropagation, true);
        SuperBoxdiv.addEventListener("touchstart", function(event){
        krpano.control.preventTouchEvents = false; event.stopPropagation(); },
        true);

		SuperBoxdiv.addEventListener("touchend", function(event){ krpano.control.preventTouchEvents = true; event.stopPropagation(); }, true);
		SuperBoxdiv.addEventListener("gesturestart", preventDefault, true);

        SuperBoxdiv.innerHTML = args[1];

        caller.sprite.appendChild(SuperBoxdiv);
        $('#SuperBoxmydiv a').css("color","#");
        $('#SuperBoxmydiv a').css("text-decoration","none");

 ]]>

 </action>







 ######   ######## ######## ######## ######## ##     ## ########
##    ##  ##          ##       ##    ##        ##   ##     ##
##        ##          ##       ##    ##         ## ##      ##
##   #### ######      ##       ##    ######      ###       ##
##    ##  ##          ##       ##    ##         ## ##      ##
##    ##  ##          ##       ##    ##        ##   ##     ##
 ######   ########    ##       ##    ######## ##     ##    ##


<action name="SuperBoxgettext">







 if(%1 !== null,
getmessage(SuperBoxhsho,get(%1));
if(device.desktop,
set(layer[SuperBoxcontents].onloaded,SuperBoxadd_html_code(get(SuperBoxhsho),desk));
);
if(device.mobile,
set(layer[SuperBoxcontents].onloaded,SuperBoxadd_html_code(get(SuperBoxhsho),mobile));
);
if(device.tablet,
set(layer[SuperBoxcontents].onloaded,SuperBoxadd_html_code(get(SuperBoxhsho),tablet));
);
,
 );








  </action>


 ######  ##     ##  #######  ##      ##
##    ## ##     ## ##     ## ##  ##  ##
##       ##     ## ##     ## ##  ##  ##
 ######  ######### ##     ## ##  ##  ##
      ## ##     ## ##     ## ##  ##  ##
##    ## ##     ## ##     ## ##  ##  ##
 ######  ##     ##  #######   ###  ###


<action name="SuperBoxshow">
if (device.desktop || device.tablet || device.mobile,
    set(SuperBoxautoplay,%3);

set(SuperBoxdatatr, %1);

set(layer[SuperBoxbox].visible, false);
set(layer[SuperBoxbox].alpha, 0);
set(SuperBoxisOpen, true);

SuperBoxCreatebox(SuperBoxdatatr,get(%2));
SuperBoxSlideOn();

SuperBoxback_to_position_container_button();
set(layer[SuperBoxopencloseButton].visible, false);
set(layer[SuperBoxfullscreen].visible, false);
);
</action>

##     ## #### ########  ########
##     ##  ##  ##     ## ##
##     ##  ##  ##     ## ##
#########  ##  ##     ## ######
##     ##  ##  ##     ## ##
##     ##  ##  ##     ## ##
##     ## #### ########  ########


<action name="SuperBoxhide">

if(SuperBoxisOpen, );

SuperBoxslideOff();

 set(SuperBoxhsho, null);set(SuperBoxhsho2, null);

if(SuperBoxFullOn,
SuperBoxfullscreen_run();
);
set(SuperBoxisOpen, false);
set(SuperBoxFullOn, false);
if(get(SuperBoxminize),
set(layer[SuperBoxbox].alpha,0);
delayedcall(1,SuperBoxresize();
););


<!--


-->

    set(SuperBoxbarhide,true);

    set(layer[SuperBoxopencloseButton].visible, false);

    if(SuperBoxFullOn,
 set(layer[SuperBoxfullscreen].visible,true);
     set(SuperBoxFullOn,false);

    removelayer(SuperBoxbox);
    removelayer(SuperBoxcontents);



</action>



<action name="SuperBoxremoveiframe" type="javascript" >
    <![CDATA[
    var el = document.getElementsByTagName("iframe")[0];
    if (el !== undefined){
    el.parentNode.removeChild(el);}
    ]]>
</action>


<action name="SuperBoxSlideOn">






    SuperBoxmove(true);






</action>



 ######  ##           #######  ######## ########
##    ## ##          ##     ## ##       ##
##       ##          ##     ## ##       ##
 ######  ##          ##     ## ######   ######
      ## ##          ##     ## ##       ##
##    ## ##          ##     ## ##       ##
 ######  ########     #######  ##       ##


 <action name="SuperBoxslideOff">



    SuperBoxmoveoff(true);



 </action>



##     ##  #######  ##     ## ########
###   ### ##     ## ##     ## ##
#### #### ##     ## ##     ## ##
## ### ## ##     ## ##     ## ######
##     ## ##     ##  ##   ##  ##
##     ## ##     ##   ## ##   ##
##     ##  #######     ###    ########


<action name="SuperBoxmoveonpercent" >
tween(layer[SuperBoxbox].alpha,1,0);
if(%1,

add(SuperBoxwidth_percent, get(layer[SuperBoxbox].width),0);
txtadd(SuperBoxres_w, get(SuperBoxwidth_percent),'%');


tween(layer[SuperBoxbox].x,get(SuperBoxres_w),0.5,linear,set(layer[SuperBoxbox].visible,true););

,

add(SuperBoxheight_percent, get(layer[SuperBoxbox].height), 0);
  txtadd(SuperBoxres_h, get(SuperBoxheight_percent),'%');


    tween(layer[SuperBoxbox].y,get(SuperBoxres_h),0.5,linear,set(layer[SuperBoxbox].visible,true););


);

</action>



<action name="SuperBoxmoveonnormal">
tween(layer[SuperBoxbox].alpha,1,0);

if(%1,

    add(SuperBoxrealpositionx, get(layer[SuperBoxbox].width), 0);
    tween(layer[SuperBoxbox].x, get(SuperBoxrealpositionx),0.5,linear,set(layer[SuperBoxbox].visible,true););
    ,
    add(SuperBoxrealpositiony, get(layer[SuperBoxbox].height), 0);
    tween(layer[SuperBoxbox].y, get(SuperBoxrealpositiony),0.5,linear,set(layer[SuperBoxbox].visible,true););
);


</action>

<action name="SuperBoxmove">

SuperBoxshow_control_button();

if(device.desktop,
SuperBoxmoveonpercent(%1);
);

if(device.mobile,
SuperBoxmoveonpercent(%1);
);

if(device.tablet,
SuperBoxmoveonpercent(%1);
);

</action>

<action name="SuperBoxmoveoffpercent" >
    if(%1,

    add(SuperBoxwidth_percent_b, get(layer[SuperBoxbox].width), 40);
    mul(SuperBoxres_w_b, get(SuperBoxwidth_percent_b),-1);
    txtadd(SuperBoxres_w_b, get(SuperBoxres_w_b),'%');

    tween(layer[SuperBoxbox].x,get(SuperBoxres_w_b),calc(0.5+1),linear,set(layer[SuperBoxbox].visible,false););


    ,

    add(SuperBoxwidth_percent_b, get(layer[SuperBoxbox].height), 40);
    mul(SuperBoxres_w_b, get(SuperBoxwidth_percent_b),-1);
    txtadd(SuperBoxres_w_b, get(SuperBoxres_w_b),'%');

    tween(layer[SuperBoxbox].y,get(SuperBoxres_w_b),calc(0.5+1),linear,set(layer[SuperBoxbox].visible,false););



    );

</action>

<action name="SuperBoxmoveoffnormal" >
if(%1,
    add(SuperBoxrealpositionx, get(layer[SuperBoxbox].width), 40);
    mul(SuperBoxback, get(SuperBoxrealpositionx),-1);

    tween(layer[SuperBoxbox].x, get(SuperBoxback),0.5,,set(layer[SuperBoxbox].visible,false););

    ,

    add(SuperBoxrealpositionx, get(layer[SuperBoxbox].height), 40);
    mul(SuperBoxback, get(SuperBoxrealpositionx),-1);

    tween(layer[SuperBoxbox].y, get(SuperBoxback),0.5,linear,set(layer[SuperBoxbox].visible,false););

    );
</action>

<action name="SuperBoxmoveoff">

if(device.desktop,
SuperBoxmoveoffpercent(%1);
);

if(device.mobile,
SuperBoxmoveoffpercent(%1);
);

if(device.tablet,
SuperBoxmoveoffpercent(%1);
);

</action>

<events name="SuperBoxrotateve"
keep="true"
onresize="SuperBoxcheck_portrait();SuperBoxhide();"
devices="mobile.or.tablet"
/>

<action name="SuperBoxcheck_portrait"  devices="mobile.or.tablet">
if(stagewidth GT stageheight,
set(SuperBoxportrait, false);
,
set(SuperBoxportrait, true);
);
</action>



 ######  ########  ########    ###    ######## ########    ########   #######  ##     ##
##    ## ##     ## ##         ## ##      ##    ##          ##     ## ##     ##  ##   ##
##       ##     ## ##        ##   ##     ##    ##          ##     ## ##     ##   ## ##
##       ########  ######   ##     ##    ##    ######      ########  ##     ##    ###
##       ##   ##   ##       #########    ##    ##          ##     ## ##     ##   ## ##
##    ## ##    ##  ##       ##     ##    ##    ##          ##     ## ##     ##  ##   ##
 ######  ##     ## ######## ##     ##    ##    ########    ########   #######  ##     ##


<events name="SuperBoxset_opt_type_event"
keep="true"
onxmlcomplete="SuperBoxset_opt_type_action();"
/>

<action name="SuperBoxset_opt_type_action" >
set(SuperBoxtypeofcall, "html");
</action>


<action name="SuperBoxCreatebox">
set(SuperBoxFullOn,false);

set(SuperBoxdatares, %1);
if(SuperBoxisOpen, set(layer[SuperBoxbox].bgshadow, 2 2 40 4 000000 0.7000076295109483););

SuperBoxgettext(get(SuperBoxdatares), get(%2));

if(frst,,
if (device.desktop || device.tablet || device.mobile,
addlayer(SuperBoxbox);
addlayer(SuperBoxcontents);
<!--set(layer[SuperBoxcontents].ondown, SuperBoxdraglayer(););
set(layer[SuperBoxcontents].bgcapture, true);-->
);
);
SuperBoxcheckboxpos();
set(layer[SuperBoxcontainer_button].parent, layer[SuperBoxbox]);
set(layer[SuperBoxbox].bgalpha,);
set(layer[SuperBoxbox].bgcolor, 0xffffff);
set(layer[SuperBoxbox].bgalpha, 1);

if(device.desktop,
set(layer[SuperBoxbox].width,30%);
set(layer[SuperBoxbox].height,50%);
);


if(device.mobile,
if(SuperBoxportrait,
set(layer[SuperBoxbox].width,33%);
set(layer[SuperBoxbox].height,33%);
,
set(layer[SuperBoxbox].width,33%);
set(layer[SuperBoxbox].height,33%);
);
);

if(device.tablet,
if(SuperBoxportrait,
set(layer[SuperBoxbox].width,33%);
set(layer[SuperBoxbox].height,33%);
,
set(layer[SuperBoxbox].width,33%);
set(layer[SuperBoxbox].height,33%);
);
);


set(layer[SuperBoxbox].visible, false);

set(layer[SuperBoxbox].safearea, false);
set(layer[SuperBoxopencloseButton].onclick,
if(SuperBoxisOpen,

SuperBoxhide();set(SuperBoxisOpen,false);););
set(layer[SuperBoxbox].align, bottomright);
set(layer[SuperBoxbox].bgcapture, true);
set(layer[SuperBoxbox].capture, true);
set(layer[SuperBoxbox].autoalpha, true);
set(layer[SuperBoxbox].handcursor, true);
set(layer[SuperBoxcontents].bgcapture,false);
set(layer[SuperBoxcontents].capture,false);
set(layer[SuperBoxbox].zorder,100);
set(layer[SuperBoxbox].enabled, true);
set(layer[SuperBoxbox].onloaded, SuperBoxset_css_id('SuperBoxBoox'););

set(layer[SuperBoxbox].keep, true);
set(layer[SuperBoxbox].type, container);
<!--set(layer[SuperBoxbox].onup, set(scale,1);set(alpha,1););-->
set(layer[SuperBoxcontents].bgalpha,0);
set(layer[SuperBoxcontents].bgcolor,0x555);
set(layer[SuperBoxbox].maskchildren, true);
set(layer[SuperBoxcontents].width,100%);


    set(layer[SuperBoxcontents].wordwrap, false);
    set(layer[SuperBoxcontents].height,100%);


set(layer[SuperBoxcontents].wordwrap, true);
set(layer[SuperBoxcontents].visible, true);
set(layer[SuperBoxcontents].align, left);
set(layer[SuperBoxcontents].edge, left);
set(layer[SuperBoxcontents].x, 0);
set(layer[SuperBoxcontents].y, 0);
set(layer[SuperBoxcontents].parent, layer[SuperBoxbox]);

set(layer[SuperBoxcontents].bgcapture, true);
set(layer[SuperBoxcontents].handcursor, false);
set(layer[SuperBoxcontents].enabled, true);
set(layer[SuperBoxcontents].keep, true);
set(layer[SuperBoxcontents].type, text);
<!--set(layer[SuperBoxcontents].zorder, 80);-->
set(layer[SuperBoxcontainer_button].visible,false);
set(layer[SuperBoxbox].bgroundedge,  1 1 1 5);
</action>


<action name="SuperBoxcheckboxpos" >






set(layer[SuperBoxbox].edge, bottomleft);
set(layer[SuperBoxbox].align, bottomright);
set(SuperBoxbox_pos, right);
set(layer[SuperBoxbox].y, 0%);
if(device.desktop,
set(layer[SuperBoxbox].x, -30%);
);
if(device.mobile,
if(SuperBoxportrait,

set(layer[SuperBoxbox].x, -33%);
,
set(layer[SuperBoxbox].x, -33%);
);
);


if(device.tablet,
if(SuperBoxportrait,
set(layer[SuperBoxbox].x, -33%);
,
set(layer[SuperBoxbox].x, -33%);
);
);


</action>


######## ##     ## ##       ##
##       ##     ## ##       ##
##       ##     ## ##       ##
######   ##     ## ##       ##
##       ##     ## ##       ##
##       ##     ## ##       ##
##        #######  ######## ########


<action name="SuperBoxfullscreen_run">
    if(SuperBoxFullOn,
    set(layer[SuperBoxbox].width,get(SuperBoxbase_w));


    set(layer[SuperBoxbox].height,get(SuperBoxbase_h));
    set(layer[SuperBoxbox].x,get(SuperBoxbase_x));
    set(layer[SuperBoxbox].y,get(SuperBoxbase_y));
    set(layer[SuperBoxbox].edge,get(SuperBoxbase_edge));
    set(layer[SuperBoxbox].align,get(SuperBoxbase_align));
    set(layer[SuperBoxfullscreen].visible,true);
    set(layer[SuperBoxfullscreen].tooltip,SuperBoxt_of);
    set(SuperBoxFullOn,false);
    set(layer[SuperBoxcontainer_button].x,-20);
    set(layer[SuperBoxcontainer_button].bgalpha, 1);
    SuperBoxback_to_position_container_button();
    <!--set(layer[SuperBoxbox].y, 0%);-->
    set(layer[SuperBoxbox].zorder,100);
    set(layer[SuperBoxbox].bgroundedge,  1 1 1 5);
    ,
    set(layer[SuperBoxbox].bgroundedge,  1 1 1 1);
    set(layer[SuperBoxfullscreen].tooltip,SuperBoxt_cf);
    set(layer[SuperBoxresize_layer].visible,false);
    copy(SuperBoxbase_w,layer[SuperBoxbox].width);
    copy(SuperBoxbase_h,layer[SuperBoxbox].height);
    copy(SuperBoxbase_x,layer[SuperBoxbox].x);
    copy(SuperBoxbase_y,layer[SuperBoxbox].y);
    copy(SuperBoxbase_edge,layer[SuperBoxbox].edge);
    copy(SuperBoxbase_align,layer[SuperBoxbox].align);
    set(layer[SuperBoxfullscreen].x,get(layer[SuperBoxresize_layer].x));
    set(layer[SuperBoxfullscreen].y,get(layer[SuperBoxresize_layer].y));
    set(layer[SuperBoxfullscreen].align,get(layer[SuperBoxresize_layer].align));
    set(layer[SuperBoxfullscreen].edge,get(layer[SuperBoxresize_layer].edge));
    set(layer[SuperBoxbox].width,100%);
    set(layer[SuperBoxbox].height,100%);
    set(layer[SuperBoxbox].align,center);
    set(layer[SuperBoxbox].edge,center);
    set(layer[SuperBoxbox].x,0);
    set(layer[SuperBoxbox].y,0);
    set(layer[SuperBoxbox].zorder,100);
    set(layer[SuperBoxfullscreen].visible, true);
    set(SuperBoxFullOn,true);
</action>


########  ########  ######  #### ######## ########
##     ## ##       ##    ##  ##       ##  ##
##     ## ##       ##        ##      ##   ##
########  ######    ######   ##     ##    ######
##   ##   ##             ##  ##    ##     ##
##    ##  ##       ##    ##  ##   ##      ##
##     ## ########  ######  #### ######## ########


<action name="SuperBoxresize">
if(%1,
    set(layer[SuperBoxbartitle].alpha,0);
    set(layer[SuperBoxresize_layer].tooltip,SuperBoxt_up);
    set(SuperBoxminize,true);
    set(layer[SuperBoxbox].x,0);
    set(layer[SuperBoxbox].y,0);
    set(layer[SuperBoxbox].edge,bottomright);
    set(layer[SuperBoxbox].align,bottomright);
    set(layer[SuperBoxbox].edge,bottomright);
    tween(layer[SuperBoxbox].width,20%,0.2);
    tween(layer[SuperBoxbox].height,10%,0.2);
    set(layer[SuperBoxresize_layer].onclick, SuperBoxresize(););
    set(layer[SuperBoxresize_layer].url, '%FIRSTXML%/graphics/superbox/icoup.png');
    set(layer[SuperBoxfullscreen].visible,false);
    set(layer[SuperBoxfullscreen].enabled,0);
    set(layer[SuperBoxopencloseButton].alpha,0);
    set(layer[SuperBoxopencloseButton].enabled,0);
    set(layer[SuperBoxbox].bgroundedge,  1 1 1 1);
,
    set(layer[SuperBoxbox].bgroundedge,  1 1 1 5);
    SuperBoxback_to_position_container_button();
    set(layer[SuperBoxbox].x, 0%);
    set(layer[SuperBoxbox].y, 0%);
    set(layer[SuperBoxfullscreen].visible,true);
    set(layer[SuperBoxfullscreen].enabled,1);
    set(layer[SuperBoxopencloseButton].alpha,1);
    set(layer[SuperBoxopencloseButton].enabled,1);
    delayedcall(1,set(layer[SuperBoxresize_layer].tooltip,SuperBoxt_dw););
    set(layer[SuperBoxbox].align, bottomright);
    set(layer[SuperBoxbox].edge, bottomright);

    if(device.desktop,
        set(layer[SuperBoxbox].width,30%);
        set(layer[SuperBoxbox].height,50%);
            );
        if(device.mobile,
            if(SuperBoxportrait,
            set(layer[SuperBoxbox].width,33%);
            set(layer[SuperBoxbox].height,33%);
        ,
            set(layer[SuperBoxbox].width,33%);
            set(layer[SuperBoxbox].height,33%);
            );
        );

    if(device.tablet,
        if(SuperBoxportrait,
        set(layer[SuperBoxbox].width,33%);
        set(layer[SuperBoxbox].height,33%);
        ,
        set(layer[SuperBoxbox].width,33%);
        set(layer[SuperBoxbox].height,33%);
        );
    );

    set(layer[SuperBoxresize_layer].onclick, SuperBoxresize(true););
    set(layer[SuperBoxresize_layer].url, '%FIRSTXML%/graphics/superbox/icodw.png');
    set(SuperBoxminize,false);

);
  </action>



<action name="SuperBoxshow_control_button">

</action>


<action name="SuperBoxmove_content" type="javascript" >
        <![CDATA[
        if(args[1] == 'true'){
            $("#SuperBoxmydiv").animate({'padding-top':"+=40px"},200);
        }
        if(args[1] == 'false'){
            $("#SuperBoxmydiv").animate({'padding-top':"-=40px"},500);
        }

        ]]>
        </action>


<action name="SuperBoxback_to_position_container_button">

    SuperBoxpos_bar(topleft,0,0,100%,40,left,left,20,20,8,0,right,right,20,20,8,0,left,left,20,20,0,20,8);






</action>


<action name="SuperBoxpos_bar" >
  set(layer[SuperBoxcontainer_button].align,%1);
  set(layer[SuperBoxcontainer_button].edge,%1);
  set(layer[SuperBoxcontainer_button].x,%2);
  set(layer[SuperBoxcontainer_button].y,%3);
  set(layer[SuperBoxcontainer_button].width,%4);
  set(layer[SuperBoxcontainer_button].height,%5);

  set(layer[SuperBoxopencloseButton].align,%12);
  set(layer[SuperBoxopencloseButton].edge,%13);
  set(layer[SuperBoxopencloseButton].width,%14);
  set(layer[SuperBoxopencloseButton].height,%15);
  set(layer[SuperBoxopencloseButton].x,%16);
  set(layer[SuperBoxopencloseButton].y,%17);

<!--  set(layer[SuperBoxresize_layer].align,%12);
  set(layer[SuperBoxresize_layer].edge,%13);
  set(layer[SuperBoxresize_layer].width,%14);
  set(layer[SuperBoxresize_layer].height,%15);
  set(layer[SuperBoxresize_layer].x,%16);
  set(layer[SuperBoxresize_layer].y,%17);
  -->
  set(layer[SuperBoxresize_layer].align,%6);
  set(layer[SuperBoxresize_layer].edge,%7);
  set(layer[SuperBoxresize_layer].width,%8);
  set(layer[SuperBoxresize_layer].height,%9);
  set(layer[SuperBoxresize_layer].x,%10);
  set(layer[SuperBoxresize_layer].y,%11);

  set(layer[SuperBoxfullscreen].align,%18);
  set(layer[SuperBoxfullscreen].edge,%19);
  set(layer[SuperBoxfullscreen].width,%20);
  set(layer[SuperBoxfullscreen].height,%21);
  set(layer[SuperBoxfullscreen].y,%22);
  set(layer[SuperBoxfullscreen].x,%24);
</action>

<action name="SuperBoxpos_bar_v" >

  set(layer[SuperBoxcontainer_button].align,%1);
  set(layer[SuperBoxcontainer_button].edge,%1);
  set(layer[SuperBoxcontainer_button].x,%2);
  set(layer[SuperBoxcontainer_button].y,%3);
  set(layer[SuperBoxcontainer_button].width,%4);
  set(layer[SuperBoxcontainer_button].height,%5);

  set(layer[SuperBoxopencloseButton].align,%12);
  set(layer[SuperBoxopencloseButton].edge,%13);
  set(layer[SuperBoxopencloseButton].width,%14);
  set(layer[SuperBoxopencloseButton].height,%15);
  set(layer[SuperBoxopencloseButton].x,%16);
  set(layer[SuperBoxopencloseButton].y,%17);

  set(layer[SuperBoxresize_layer].align,%6);
  set(layer[SuperBoxresize_layer].edge,%7);
  set(layer[SuperBoxresize_layer].width,%8);
  set(layer[SuperBoxresize_layer].height,%9);
  set(layer[SuperBoxresize_layer].x,%10);
  set(layer[SuperBoxresize_layer].y,%11);
  set(layer[SuperBoxfullscreen].align,%18);
  set(layer[SuperBoxfullscreen].edge,%19);
  set(layer[SuperBoxfullscreen].width,%20);
  set(layer[SuperBoxfullscreen].height,%21);
  set(layer[SuperBoxfullscreen].x,%22);
  set(layer[SuperBoxfullscreen].y,%24);
</action>



<layer name="SuperBoxcontainer_button"
         keep="true" tag=""  enabled="true" alpha="1" type="container"  bgalpha="1" bgcapture="false" capture="false" visible="true" bgcolor="0x999999" zorder="100" maskchildren="true" scalechildren="true"
          parent="SuperBoxbox"

/>

  <layer name="SuperBoxopencloseButton"
         keep="true" url="" tag="" align="top" edge="center"  visible="false"  enabled="true" handcursor="true" tooltip="SuperBoxt_ic" onhover="" onover="tween(alpha,0.5,0.3,easeinoutquad);" onout="tween(alpha,1,0.5,easeinoutquad);" parent="layer[SuperBoxcontainer_button]"
/>

  <layer name="SuperBoxresize_layer"
         keep="true"  url="%FIRSTXML%/graphics/superbox/icodw.png"  tag=""  visible="false"  alpha="1" enabled="true" tooltip="SuperBoxt_dw" handcursor="true" onhover=""  onclick="SuperBoxresize(true);" parent="layer[SuperBoxcontainer_button]" onover="tween(alpha,0.5,0.3,easeinoutquad);" onout="tween(alpha,1,0.5,easeinoutquad);"

/>

  <layer name="SuperBoxfullscreen"
         keep="true"  url=""  tag=""     visible="false"  enabled="true" tooltip="SuperBoxt_of" onhover="" onclick="SuperBoxfullscreen_run();" handcursor="true"  onover="tween(alpha,0.5,0.3,easeinoutquad);" onout="tween(alpha,1,0.5,easeinoutquad);" parent="layer[SuperBoxcontainer_button]"
         />



<!-- Sidebar Actions Helper : sb_itemClick0 -->
<layer name="sb-actions-helper" type="container" keep="true" recipient="sb_itemClick0" onloaded="sbhaction"/>
<action name="sb-actions-helperaction">if(SuperBoxisOpen,SuperBoxhide(););

</action>



<!-- Sidebar Actions Helper : sb_itemClick2 -->
<layer name="sb-actions-helper1" type="container" keep="true" recipient="sb_itemClick2" onloaded="sbhaction"/>
<action name="sb-actions-helper1action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper1onclick102588SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper1onclick102588SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick3 -->
<layer name="sb-actions-helper2" type="container" keep="true" recipient="sb_itemClick3" onloaded="sbhaction"/>
<action name="sb-actions-helper2action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper2onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper2onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick4 -->
<layer name="sb-actions-helper3" type="container" keep="true" recipient="sb_itemClick4" onloaded="sbhaction"/>
<action name="sb-actions-helper3action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper3onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper3onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick5 -->
<layer name="sb-actions-helper4" type="container" keep="true" recipient="sb_itemClick5" onloaded="sbhaction"/>
<action name="sb-actions-helper4action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper4onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper4onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick6 -->
<layer name="sb-actions-helper5" type="container" keep="true" recipient="sb_itemClick6" onloaded="sbhaction"/>
<action name="sb-actions-helper5action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper5onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper5onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick7 -->
<layer name="sb-actions-helper6" type="container" keep="true" recipient="sb_itemClick7" onloaded="sbhaction"/>
<action name="sb-actions-helper6action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper6onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper6onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick8 -->
<layer name="sb-actions-helper7" type="container" keep="true" recipient="sb_itemClick8" onloaded="sbhaction"/>
<action name="sb-actions-helper7action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper7onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper7onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick9 -->
<layer name="sb-actions-helper8" type="container" keep="true" recipient="sb_itemClick9" onloaded="sbhaction"/>
<action name="sb-actions-helper8action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper8onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper8onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick10 -->
<layer name="sb-actions-helper9" type="container" keep="true" recipient="sb_itemClick10" onloaded="sbhaction"/>
<action name="sb-actions-helper9action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper9onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper9onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick11 -->
<layer name="sb-actions-helper10" type="container" keep="true" recipient="sb_itemClick11" onloaded="sbhaction"/>
<action name="sb-actions-helper10action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper10onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper10onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick12 -->
<layer name="sb-actions-helper11" type="container" keep="true" recipient="sb_itemClick12" onloaded="sbhaction"/>
<action name="sb-actions-helper11action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper11onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper11onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick13 -->
<layer name="sb-actions-helper12" type="container" keep="true" recipient="sb_itemClick13" onloaded="sbhaction"/>
<action name="sb-actions-helper12action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper12onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper12onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick14 -->
<layer name="sb-actions-helper13" type="container" keep="true" recipient="sb_itemClick14" onloaded="sbhaction"/>
<action name="sb-actions-helper13action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper13onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper13onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick15 -->
<layer name="sb-actions-helper14" type="container" keep="true" recipient="sb_itemClick15" onloaded="sbhaction"/>
<action name="sb-actions-helper14action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper14onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper14onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick16 -->
<layer name="sb-actions-helper15" type="container" keep="true" recipient="sb_itemClick16" onloaded="sbhaction"/>
<action name="sb-actions-helper15action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper15onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper15onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick17 -->
<layer name="sb-actions-helper16" type="container" keep="true" recipient="sb_itemClick17" onloaded="sbhaction"/>
<action name="sb-actions-helper16action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper16onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper16onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick18 -->
<layer name="sb-actions-helper17" type="container" keep="true" recipient="sb_itemClick18" onloaded="sbhaction"/>
<action name="sb-actions-helper17action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper17onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper17onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick19 -->
<layer name="sb-actions-helper18" type="container" keep="true" recipient="sb_itemClick19" onloaded="sbhaction"/>
<action name="sb-actions-helper18action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper18onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper18onclick102363SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>



<!-- Sidebar Actions Helper : sb_itemClick1 -->
<layer name="sb-actions-helper19" type="container" keep="true" recipient="sb_itemClick1" onloaded="sbhaction"/>
<action name="sb-actions-helper19action">if(SuperBoxisOpen,SuperBoxhide(););
if (device.desktop || device.tablet || device.mobile,
if(SuperBoxisOpen,

removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
SuperBoxhide();
set(SuperBoxisOpen,false);
,
removelayer(SuperBoxcontents);removelayer(SuperBoxcontents);set(SuperBoxhsho, null);set(SuperBoxhsho2, null);set(SuperBoxmyiframe, null);
trace(sb-actions-helper19onclick104483SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
SuperBoxshow(sb-actions-helper19onclick104483SuperBox|SuperBox|superbox_show_yourtexttextme_yourtext);
set(SuperBoxisOpen,true);

);
);

</action>

<action name="sbhaction" type="Javascript"><![CDATA[
/* sbhaction | sb-actions-helper v0.1.2 (https://ptp.alexpopov.me) */
var sbhaction=function(){"use strict";return function(t,n){var c,o=0===(c=n.recipient).indexOf("sb_buttonClick")?"sbButton".concat(c.slice(14),"ClickFirst"):0===c.indexOf("sb_buttonToggle")?"sbButton".concat(c.slice(15),"ToggleClick"):0===c.indexOf("sb_itemClick")?"itemClick".concat(c.slice(12)):"";if(o){var e=t.action.getItem(o);if(e){var i,a,l=t.action.getItem("".concat(n.name,"action"));if(l)e.content="".concat(e.content).concat((i=e.content,a=i.trim().slice(-1),";"===a?"":")"===a?";":"();")).concat(l.content);else console.log("SB Actions Helper: source action ".concat(n.name,"action not found!"))}else console.log('SB Actions Helper: target action "'.concat(o,'" not found!'))}else console.log('SB Actions Helper: name "'.concat(n.recipient,'" is not valid!'))}}();sbhaction(krpano,caller)
]]></action>


  <!-- Fullscreen Management -->
  <action name="exitFullScreen" devices="fullscreensupport">set(tour_fullscreen,false);set(fullscreen,false);</action>
  <action name="enterFullScreen" devices="fullscreensupport">set(tour_fullscreen,true);set(fullscreen,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>

</krpano>