<?xml version="1.0" encoding="UTF-8"?>
<!-- for xml compliance -->
<!-- Generated By Kolor Panotour 1.8.0 -->
<krpano version="1.0.8.14" logkey="false">
    <action name="mainloadpano">
		closepanoobjects();
		ifnot(stopSequence === undefined,interruptAnimation(););
		loadpano(%1,NULL,NULL,BLEND(1));
	</action>
    <!--************** Plugins et données KrPano **************************************************-->
    <plugin name="data" keep="true"/>
    <!--************** Ouvre le premier pano ******************************************************-->
    <include url="vm0.xml"/>
    <autorotate enabled="true"/>
    <!--************** Polices ********************************************************************-->
    <textstyle name="DEFAULT" bold="false" font="Century Gothic" fontsize="24" italic="false" textcolor="0xffffffff"/>
    <!--************** Logos **********************************************************************-->
    <plugin name="logo4" url="vmdata/graphics/logo4.png" keep="true" align="rightbottom" x="10" y="10" width="150" height="59" onclick="openurl(http://www.zooomez.fr,_blank)"/>
    <!--************** Menu ***********************************************************************-->
    <events onnewpano="newPanoIsLoadedAction"/>
    <action name="newPanoIsLoadedAction">
      setMouseType(get(plugin[menudata].mousetype));
    </action>
    <plugin name="menudata" keep="true" mousetype="drag2d" playsounds="true"/>
    <textstyle name="INDICE" background="false" bold="false" border="false" effect="dropshadow(0,45,0x000000,4,2);" font="Century Gothic" fontsize="18" italic="false" textcolor="0xffc8c8c8" yoffset="-20"/>
    <plugin name="in" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,-1);" onhover="showtext(Zooom avant,INDICE)" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="vmdata/graphics/menu/menu0.png" width="40" x="-220" y="10"/>
    <plugin name="out" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,+1);" onhover="showtext(Zooom arrière,INDICE)" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="vmdata/graphics/menu/menu1.png" width="40" x="-180" y="10"/>
    <plugin name="left" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,-1);" onhover="showtext(Gauche,INDICE)" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="vmdata/graphics/menu/menu2.png" width="40" x="-120" y="10"/>
    <plugin name="right" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,+1);" onhover="showtext(Droite,INDICE)" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="vmdata/graphics/menu/menu3.png" width="40" x="-80" y="10"/>
    <plugin name="up" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,-1);" onhover="showtext(Haut,INDICE)" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="vmdata/graphics/menu/menu4.png" width="40" x="-40" y="10"/>
    <plugin name="down" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,+1);" onhover="showtext(Bas,INDICE)" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="vmdata/graphics/menu/menu5.png" width="40" x="0" y="10"/>
    <plugin name="home" align="bottom" crop="0|0|65|65" height="prop" keep="true" onclick="lookto(get(panoview.h),get(panoview.v),get(panoview.fov),smooth(100,20,50));" onhover="showtext(Vue par défaut,INDICE)" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu6.png" width="40" x="40" y="10"/>
    <plugin name="openfs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,true);" onhover="showtext(Plein écran,INDICE)" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu7.png" width="40" x="100" y="10"/>
    <plugin name="closefs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,false);" onhover="showtext(Quitter le plein écran,INDICE)" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu8.png" visible="false" width="40" x="100" y="10"/>
    <plugin name="autorotationON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationON].visible,false); set(plugin[autorotationOFF].visible,true);" onhover="showtext(Autorotation,INDICE)" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu9.png" visible="" width="40" x="140" y="10"/>
    <plugin name="autorotationOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationOFF].visible,false); set(plugin[autorotationON].visible,true);" onhover="showtext(Autorotation,INDICE)" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu10.png" visible="" width="40" x="140" y="10"/>
    <plugin name="dragON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="changemousetype();set(plugin[dragON].visible,false); set(plugin[dragOFF].visible,true);" onhover="showtext(Mode de déplacement,INDICE)" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu11.png" visible="true" width="40" x="180" y="10"/>
    <plugin name="dragOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="changemousetype();set(plugin[dragOFF].visible,false); set(plugin[dragON].visible,true);" onhover="showtext(Mode de déplacement,INDICE)" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu12.png" visible="false" width="40" x="180" y="10"/>
    <plugin name="info" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="displayHelp();" onhover="showtext(Aide à la navigation,INDICE)" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu13.png" width="40" x="220" y="10"/>
    <plugin name="helpScreen" align="center" customColor="true" keep="true" onclick="closeHelp();" url="vmdata/graphics/menu/help.png" visible="false"/>
<!--     <plugin name="soundON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="playsoundaction();set(plugin[soundON].visible,false); set(plugin[soundOFF].visible,true);" onhover="showtext(Audio,INDICE)" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu14.png" visible="false" width="40" x="260" y="10"/>
    <plugin name="soundOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="stopsoundaction();set(plugin[soundOFF].visible,false); set(plugin[soundON].visible,true);" onhover="showtext(Audio,INDICE)" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu15.png" visible="true" width="40" x="260" y="10"/>
    <plugin name="btn_qrcode" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="closeallobjects();set(plugin[imageqrcode].visible,true);tween(plugin[imageqrcode].alpha, 1);" onhover="showtext(QRCode,INDICE)" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu16.png" width="40" x="300" y="10"/>
    <plugin name="imageqrcode" align="center" alpha="0" height="340" onclick="fermeqrcode();" url="vmdata/graphics/menu/menu17.png" visible="false" width="280"/>
    <action name="fermeqrcode">
		if(plugin[imageqrcode].visible,
		tween(plugin[imageqrcode].alpha, 0);
		delayedcall(0,set(plugin[imageqrcode].visible,false));
		);
	</action> -->
    <action name="closeallobjects">
		closeecran_info();
		fermeqrcode();
	</action>
    <action name="changemousetype">
       if (plugin[menudata].mousetype == drag2d,
          set(plugin[menudata].mousetype, moveto);
          ,
          set(plugin[menudata].mousetype, drag2d);
       );
       setMouseType(get(plugin[menudata].mousetype));
    </action>
    <action name="setMouseType">
      set(control.mousetype, %1);
      if (%1 == moveto, setarrowcursors();, sethandcursors(););
    </action>
    <action name="setarrowcursors">

      set(cursors.url     , vmdata/graphics/menu/menu18.png);
      set(cursors.type    ,        8way);
	  set(cursors.move    ,   270|0|30|30);
	  set(cursors.drag    ,   0|0|30|30);
      set(cursors.arrow_l ,  30|0|30|30);
      set(cursors.arrow_lu,  60|0|30|30);
      set(cursors.arrow_u ,  90|0|30|30);
      set(cursors.arrow_ru,  120|0|30|30);
      set(cursors.arrow_r , 150|0|30|30);
      set(cursors.arrow_rd, 180|0|30|30);
      set(cursors.arrow_d , 210|0|30|30);
      set(cursors.arrow_ld, 240|0|30|30);
	  
	  
    </action>
    <action name="sethandcursors">
      set(cursors.url , vmdata/graphics/menu/menu19.png);
      set(cursors.type, 2way);
      set(cursors.move, 0|0|32|32);
      set(cursors.drag, 32|0|32|32);
    </action>
    <action name="displayHelp">
        set(plugin[helpScreen].visible,true);
        set(plugin[info].onclick,closeHelp();)
    </action>
    <action name="displayqrcode">
        set(plugin[qrcodeScreen].visible,true);
        set(plugin[info].onclick,closeqrcode();)
    </action>
    <action name="closeHelp">
        set(plugin[helpScreen].visible,false);
        set(plugin[info].onclick,displayHelp();)
    </action>
    <events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"/>
    <action name="show_html_field">
		set(plugin[htmltext].y,0); 
		tween(plugin[htmltext].alpha,1,0);
		tween(plugin[htmltext].textblur,0,0);
		tween(plugin[htmltext].blur,0,0);
		set(plugin[htmltext].visible,true);
		set(plugin[htmltext].enabled,true);
		tween(plugin[htmltext].y,0);
	</action>
    <!-- Raise sequence stopper and wait sequence time to break the delayed calls -->
    <action name="interruptAnimation">
		ifnot (stopSequence === undefined,
			set(stopSequence, true);
			wait(0);
		);
	</action>
</krpano>