<krpano version="1.0.8" logkey="false" onstart="action(openintro); action(startup); wait(blend);">

<action name="openintro">
      set(plugin[intro].visible,true);
                set(plugin[intro].onhover,showtext(Fermer l'intro););
</action>

<action name="closeintro">
      set(plugin[intro].visible,false);
</action>

<plugin name="intro"
   url="introimage2.png"
   alpha="50"       
   zorder="4"   
   origin="mid"
   visible="false"
   align="center"
   keep="true"
   onhover="showtext(Cliquer pour fermer l'intro);"               
   onclick="action(closeintro)"
   onloadcomplete="action(hide_intro);"/>
	
	<action name="hide_intro">
    set(plugin[intro].visible,false);
    </action>
   
	<!-- vtour.xml template krpano tools version 1.0.8.12 -->	

	<!-- text styles for startup info -->
	
	<action name="startup">
		<!-- load the first scene -->
		loadscene(get(scene[0].name), null, MERGE); 
		
		<!-- build the thumbnails (remove the next line to remove the thumbnails) -->
		buildthumbs(); 
	</action>
	
	<!-- disable the default progress bar -->
	<progress showload="false" showwait="false" />
	
	<!-- hotspot styles (for Flash and HTML5) -->
	<style name="hotspot_ani_black"
	       url="hotspots/hotspot_ani_black_64x64x20.png"
	       crop="0|0|64|64"
	       frames="20" framewidth="64" frameheight="64" frame="0"
	       onloaded="hotspot_animate();"
	       altonloaded="if(isphone, mul(scale,2)); onloaded();"
	       />

	<style name="hotspot_ani_white"
	       url="hotspots/hotspot_ani_white_64x64x20.png"
	       crop="0|0|64|64"
	       frames="20" framewidth="64" frameheight="64" frame="0"
	       onloaded="hotspot_animate();"
	       altonloaded="if(isphone, mul(scale,2)); onloaded();"
	       />	       

	<action name="hotspot_animate">
		inc(frame,1,get(frames),0);
		mul(ypos,frame,frameheight);
		txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight));
		delayedcall(0.03, hotspot_animate() );
	</action>	       

	<plugin name="map" url="planexemplereduit.gif" keep="true" align="righttop" x="10" y="10" width="80" height="62" alpha="0.85" handcursor="false" onloaded="action(hidemapspot);" onclick="action(openmap);"/>
	<plugin name="scene1bis" url="mappointspngrevisite/mappointentreerevisite.png" keep="true"  blingCounter="0" parent="map" align="lefttop" edge="center" x="500"  y="355"  onhover="showtext(Visiter l'entrée);"         onclick="action(closeglobalobjects);wait(0.5);loadscene(scene_panoentree, null, MERGE, BLEND(2));" />
	<plugin name="scene2bis" url="mappointspngrevisite/mappointexterieurrevisite.png" keep="true"  blingCounter="0" parent="map" align="lefttop" edge="center" x="600"  y="270"  onhover="showtext(Visiter l'extérieur);"         onclick="action(closeglobalobjects);wait(0.5);loadscene(scene_exterieur1, null, MERGE, BLEND(2));" />
	<plugin name="scene3bis" url="mappointspngrevisite/mappointjardin1revisite.png" keep="true"  blingCounter="0" parent="map" align="lefttop" edge="center" x="515"  y="500"  onhover="showtext(Visiter le jardin);"         onclick="action(closeglobalobjects);wait(0.5);loadscene(scene_jardin1, null, MERGE, BLEND(2));" />
	<plugin name="scene4bis" url="mappointspngrevisite/mappointcabanerevisite.png" keep="true"  blingCounter="0" parent="map" align="lefttop" edge="center" x="650"  y="500"  onhover="showtext(Visiter la cabane);"         onclick="action(closeglobalobjects);wait(0.5);loadscene(scene_cabane, null, MERGE, BLEND(2));" />
	<plugin name="scene5bis" url="mappointspngrevisite/mappointterrasse1revisite.png" keep="true"  blingCounter="0" parent="map" align="lefttop" edge="center" x="340"  y="290"  onhover="showtext(Visiter la terrasse haute);"         onclick="action(closeglobalobjects);wait(0.5); loadscene(scene_terrassehaute, null, MERGE, BLEND(2));" />
	<plugin name="scene6bis" url="mappointspngrevisite/mappointsalon1revisite.png" keep="true"  blingCounter="0" parent="map" align="lefttop" edge="center" x="485"  y="270"  onhover="showtext(Visiter la terrasse haute);"         onclick="action(closeglobalobjects);wait(0.5);loadscene(scene_salon1, null, MERGE, BLEND(2));" />
	
	<action name="showmapspot">
	set(plugin[scene1bis].alpha,0);
	set(plugin[scene1bis].visible,true);
	tween(plugin[scene1bis].alpha,1);
	set(plugin[scene2bis].alpha,0);
	set(plugin[scene2bis].visible,true);
	tween(plugin[scene2bis].alpha,1);
	set(plugin[scene3bis].alpha,0);
	set(plugin[scene3bis].visible,true);
	tween(plugin[scene3bis].alpha,1);
	set(plugin[scene4bis].alpha,0);
	set(plugin[scene4bis].visible,true);
	tween(plugin[scene4bis].alpha,1);
	set(plugin[scene5bis].alpha,0);
	set(plugin[scene5bis].visible,true);
	tween(plugin[scene5bis].alpha,1);
	set(plugin[scene6bis].alpha,0);
	set(plugin[scene6bis].visible,true);
	tween(plugin[scene6bis].alpha,1);
	</action>
	<action name="loadpanorama">
	loadpano(%1,%2,%3,%4);
</action>
    <action name="closeglobalobjects">closemap();</action>
    <action name="interruptAnimation">
        <!--Raise sequence stopper and wait sequence time to break the delayed calls-->
	ifnot (stopSequence === undefined,
		set(stopSequence,true);
		wait(0);
	);
</action>
	<action name="hidemapspot">
	set(plugin[scene1bis].visible,false);
	set(plugin[scene2bis].visible,false);
	set(plugin[scene3bis].visible,false);
	set(plugin[scene4bis].visible,false);
	set(plugin[scene5bis].visible,false);
	set(plugin[scene6bis].visible,false);
    </action>
	<!-- fermer le plan -->
    <action name="closemap">
	action(hidemapspot);
	set(plugin[map].onclick,action(openmap););
	tween(plugin[map].width,80);
	tween(plugin[map].height,62);
    </action>
    <!-- ouvrir le plan -->
    <action name="openmap">
	set(plugin[map].onclick,action(closemap););
	tween(plugin[map].height, 557, 0.5, easeoutquad);
	tween(plugin[map].width, 700, 0.5, easeoutquad, action(showmapspot););
    </action>
	
	<action name="unselectmapspotsbutpassed">
	if (%1 != scene1bis,
		if(plugin[scene1bis].animated,
			set(plugin[scene1bis].frame,0);
			set(plugin[scene1bis].ypos,0);
			txtadd(plugin[scene1bis].crop,'0|0|',get(plugin[scene1bis].framewidth),'|',get(plugin[scene1bis].frameheight));
			set(plugin[scene1bis].animationCounter, 0)
		,
			set(plugin[scene1bis].blingCounter,0)
		)
	);
	action(reset,scene1bis);
	if (%1 != scene2bis,
		if(plugin[scene2bis].animated,
			set(plugin[scene2bis].frame,0);
			set(plugin[scene2bis].ypos,0);
			txtadd(plugin[scene2bis].crop,'0|0|',get(plugin[scene2bis].framewidth),'|',get(plugin[scene2bis].frameheight));
			set(plugin[scene2bis].animationCounter, 0)
		,
			set(plugin[scene2bis].blingCounter,0)
		)
	);
	action(reset,scene2bis);
	if (%1 != scene3bis,
		if(plugin[scene3bis].animated,
			set(plugin[scene3bis].frame,0);
			set(plugin[scene3bis].ypos,0);
			txtadd(plugin[scene3bis].crop,'0|0|',get(plugin[scene3bis].framewidth),'|',get(plugin[scene3bis].frameheight));
			set(plugin[scene3bis].animationCounter, 0)
		,
			set(plugin[scene3bis].blingCounter,0)
		)
	);
	action(reset,scene3bis);
	if (%1 != scene4bis,
		if(plugin[scene4bis].animated,
			set(plugin[scene4bis].frame,0);
			set(plugin[scene4bis].ypos,0);
			txtadd(plugin[scene4bis].crop,'0|0|',get(plugin[scene4bis].framewidth),'|',get(plugin[scene4bis].frameheight));
			set(plugin[scene4bis].animationCounter, 0)
		,
			set(plugin[scene4bis].blingCounter,0)
		)
	);
	action(reset,scene4bis);
	if (%1 != scene5bis,
		if(plugin[scene5bis].animated,
			set(plugin[scene5bis].frame,0);
			set(plugin[scene5bis].ypos,0);
			txtadd(plugin[scene5bis].crop,'0|0|',get(plugin[scene5bis].framewidth),'|',get(plugin[scene5bis].frameheight));
			set(plugin[scene5bis].animationCounter, 0)
		,
			set(plugin[scene5bis].blingCounter,0)
		)
	);
	action(reset,scene5bis);
	if (%1 != scene6bis,
		if(plugin[scene6bis].animated,
			set(plugin[scene6bis].frame,0);
			set(plugin[scene6bis].ypos,0);
			txtadd(plugin[scene6bis].crop,'0|0|',get(plugin[scene6bis].framewidth),'|',get(plugin[scene6bis].frameheight));
			set(plugin[scene6bis].animationCounter, 0)
		,
			set(plugin[scene6bis].blingCounter,0)
		)
	);
	action(reset,scene6bis);
    </action>
	<action name="selectmapspot">
	action(unselectmapspotsbutpassed, %1);
	if(plugin[%1].animated,
		inc(plugin[%1].animationCounter, 1);
		if(plugin[%1].animationCounter == 1,
			action(animatemapspot, %1, 0.1);
		);
	,
		inc(plugin[%1].blingCounter,1);
		if(plugin[%1].blingCounter == 1,
			action(bling, %1);
		);
	);
    </action>
	
	<!-- faire clignoter les hotspots du plan sélectionné (récursif) -->
    <action name="bling">
	tween(plugin[%1].alpha, 0, 0.8, quadratic);
	tween(plugin[%1].scale, 1.5, 0.8, quadratic);
	tween(, , 0.8, , action(reset, %1);
	if(plugin[%1].blingCounter &gt; 0, action(bling, %1);););
    </action>
    <action name="reset">
	set(plugin[%1].scale,1);
	set(plugin[%1].alpha,1);
    </action>
	
	<scene name="scene_exterieur1" title="exterieur1" onstart="" thumburl="exterieur1.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="90" fovmax="120" />
        <events onloadcomplete="unselectmapspotsbutpassed(); selectmapspot(scene2bis);"/>
		<progress showwait="loopings()"/>
		<preview url="accescave.tiles/preview.jpg" />
		<preview url="exterieur1.tiles/preview.jpg" />

		<image>
			<left  url="exterieur1.tiles/pano_l.jpg" />
			<front url="exterieur1.tiles/pano_f.jpg" />
			<right url="exterieur1.tiles/pano_r.jpg" />
			<back  url="exterieur1.tiles/pano_b.jpg" />
			<up    url="exterieur1.tiles/pano_u.jpg" />
			<down  url="exterieur1.tiles/pano_d.jpg" />
			<mobile>
				<left  url="exterieur1.tiles/mobile_l.jpg" />
				<front url="exterieur1.tiles/mobile_f.jpg" />
				<right url="exterieur1.tiles/mobile_r.jpg" />
				<back  url="exterieur1.tiles/mobile_b.jpg" />
				<up    url="exterieur1.tiles/mobile_u.jpg" />
				<down  url="exterieur1.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="exterieur1.tiles/tablet_l.jpg" />
				<front url="exterieur1.tiles/tablet_f.jpg" />
				<right url="exterieur1.tiles/tablet_r.jpg" />
				<back  url="exterieur1.tiles/tablet_b.jpg" />
				<up    url="exterieur1.tiles/tablet_u.jpg" />
				<down  url="exterieur1.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->
		<hotspot name="spot1" style="hotspot_ani_white" 
		         ath="-31"
		         atv="-12"
		         zoom="false"
		         onclick="looktohotspot(get(name),30,smooth(150,25,100)); loadscene('scene_salon1',null,MERGE,BLEND(4));"
		         />
				 
		<hotspot name="spot2" 
		         url="salon1.png"
				 alpha="0.8"
				 ath="-31"
		         atv="-14"
		         zoom="false"
				 distorted="false"
				 scale="0.5"
				 altscale="0.6"
				 keep="false"
		         onclick="looktohotspot(get(name),30,smooth(150,25,100)); loadscene('scene_salon1',null,MERGE,BLEND(2));"
		         />
		<hotspot name="spot3" style="hotspot_ani_white" 
		         ath="-146"
		         atv="-3"
		         zoom="false"
		         onclick="looktohotspot(get(name),30,smooth(150,25,100)); loadscene('scene_cabane',null,MERGE,BLEND(1));"
				 />
		<hotspot name="spot4" 
		         url="terrasse.png"
				 alpha="0.9"
				 ath="-83"
		         atv="-34"
		         zoom="true"
				 scale="0.5"
				 altscale="0.6"
				 keep="false"
				 align="lefttop"
		         onclick="looktohotspot(get(name),30,smooth(150,25,100)); loadscene('scene_terrassehaute',null,MERGE,BLEND(1));"
				 />
				 <hotspot name="spot5" 
		         url="jardin.png"
				 alpha="0.9"
				 ath="-111"
		         atv="-5"
		         zoom="false"
				 scale="0.5"
				 altscale="0.6"
				 keep="false"
				 align="lefttop"
		         onclick="looktohotspot(get(name),30,smooth(150,25,100)); loadscene('scene_jardin1',null,MERGE,BLEND(1));"
				 />
				 <hotspot name="spot6" 
		         url="cabane.png"
				 distorted="false"
				 alpha="0.9"
				 ath="-146"
		         atv="-6"
		         zoom="false"
				 scale="0.5"
				 altscale="0.6"
				 keep="false"
				 align="lefttop"
		         onclick="looktohotspot(get(name),30,smooth(150,25,100)); loadscene('scene_cabane',null,MERGE,BLEND(1));"
				 />
				 <hotspot name="spot7" style="hotspot_ani_white" 
		         ath="-82"
		         atv="-32"
		         zoom="false"
		         onclick="looktohotspot(get(name),30,smooth(150,25,100)); loadscene('scene_trrassehaute',null,MERGE,BLEND(1));"
				 />
				 <hotspot name="spot8" style="hotspot_ani_white" 
		         ath="-111"
		         atv="-2"
		         zoom="false"
		         onclick="looktohotspot(get(name),30,smooth(150,25,100)); loadscene('scene_jardin1',null,MERGE,BLEND(1));"
				 />
		-->

	</scene>
	
	<scene name="scene_accescave" title="accescave"  thumburl="accescave.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />
		<progress showwait="none"/>
		<preview url="accescave.tiles/preview.jpg" />

		<image>
			<left  url="accescave.tiles/pano_l.jpg" />
			<front url="accescave.tiles/pano_f.jpg" />
			<right url="accescave.tiles/pano_r.jpg" />
			<back  url="accescave.tiles/pano_b.jpg" />
			<up    url="accescave.tiles/pano_u.jpg" />
			<down  url="accescave.tiles/pano_d.jpg" />
			<mobile>
				<left  url="accescave.tiles/mobile_l.jpg" />
				<front url="accescave.tiles/mobile_f.jpg" />
				<right url="accescave.tiles/mobile_r.jpg" />
				<back  url="accescave.tiles/mobile_b.jpg" />
				<up    url="accescave.tiles/mobile_u.jpg" />
				<down  url="accescave.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="accescave.tiles/tablet_l.jpg" />
				<front url="accescave.tiles/tablet_f.jpg" />
				<right url="accescave.tiles/tablet_r.jpg" />
				<back  url="accescave.tiles/tablet_b.jpg" />
				<up    url="accescave.tiles/tablet_u.jpg" />
				<down  url="accescave.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>

	<scene name="scene_panoentree" title="panoentree"  thumburl="panoentree.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.5" fovmin="60" fovmax="120" />
        <events onloadcomplete="unselectmapspotsbutpassed();selectmapspot(scene1bis);"/>
		<progress showwait="none"/>
		<preview url="panoentree.tiles/preview.jpg" />

		<image>
			<left  url="panoentree.tiles/pano_l.jpg" />
			<front url="panoentree.tiles/pano_f.jpg" />
			<right url="panoentree.tiles/pano_r.jpg" />
			<back  url="panoentree.tiles/pano_b.jpg" />
			<up    url="panoentree.tiles/pano_u.jpg" />
			<down  url="panoentree.tiles/pano_d.jpg" />
			<mobile>
				<left  url="panoentree.tiles/mobile_l.jpg" />
				<front url="panoentree.tiles/mobile_f.jpg" />
				<right url="panoentree.tiles/mobile_r.jpg" />
				<back  url="panoentree.tiles/mobile_b.jpg" />
				<up    url="panoentree.tiles/mobile_u.jpg" />
				<down  url="panoentree.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="panoentree.tiles/tablet_l.jpg" />
				<front url="panoentree.tiles/tablet_f.jpg" />
				<right url="panoentree.tiles/tablet_r.jpg" />
				<back  url="panoentree.tiles/tablet_b.jpg" />
				<up    url="panoentree.tiles/tablet_u.jpg" />
				<down  url="panoentree.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
	<scene name="scene_accespetitsalonchambre" title="accespetitsalonchambre" onstart="" thumburl="accespetitsalonchambre.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="accespetitsalonchambre.tiles/preview.jpg" />

		<image>
			<left  url="accespetitsalonchambre.tiles/pano_l.jpg" />
			<front url="accespetitsalonchambre.tiles/pano_f.jpg" />
			<right url="accespetitsalonchambre.tiles/pano_r.jpg" />
			<back  url="accespetitsalonchambre.tiles/pano_b.jpg" />
			<up    url="accespetitsalonchambre.tiles/pano_u.jpg" />
			<down  url="accespetitsalonchambre.tiles/pano_d.jpg" />
			<mobile>
				<left  url="accespetitsalonchambre.tiles/mobile_l.jpg" />
				<front url="accespetitsalonchambre.tiles/mobile_f.jpg" />
				<right url="accespetitsalonchambre.tiles/mobile_r.jpg" />
				<back  url="accespetitsalonchambre.tiles/mobile_b.jpg" />
				<up    url="accespetitsalonchambre.tiles/mobile_u.jpg" />
				<down  url="accespetitsalonchambre.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="accespetitsalonchambre.tiles/tablet_l.jpg" />
				<front url="accespetitsalonchambre.tiles/tablet_f.jpg" />
				<right url="accespetitsalonchambre.tiles/tablet_r.jpg" />
				<back  url="accespetitsalonchambre.tiles/tablet_b.jpg" />
				<up    url="accespetitsalonchambre.tiles/tablet_u.jpg" />
				<down  url="accespetitsalonchambre.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>


	<scene name="scene_boitedenuit" title="boitedenuit" onstart="" thumburl="boitedenuit.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="boitedenuit.tiles/preview.jpg" />

		<image>
			<left  url="boitedenuit.tiles/pano_l.jpg" />
			<front url="boitedenuit.tiles/pano_f.jpg" />
			<right url="boitedenuit.tiles/pano_r.jpg" />
			<back  url="boitedenuit.tiles/pano_b.jpg" />
			<up    url="boitedenuit.tiles/pano_u.jpg" />
			<down  url="boitedenuit.tiles/pano_d.jpg" />
			<mobile>
				<left  url="boitedenuit.tiles/mobile_l.jpg" />
				<front url="boitedenuit.tiles/mobile_f.jpg" />
				<right url="boitedenuit.tiles/mobile_r.jpg" />
				<back  url="boitedenuit.tiles/mobile_b.jpg" />
				<up    url="boitedenuit.tiles/mobile_u.jpg" />
				<down  url="boitedenuit.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="boitedenuit.tiles/tablet_l.jpg" />
				<front url="boitedenuit.tiles/tablet_f.jpg" />
				<right url="boitedenuit.tiles/tablet_r.jpg" />
				<back  url="boitedenuit.tiles/tablet_b.jpg" />
				<up    url="boitedenuit.tiles/tablet_u.jpg" />
				<down  url="boitedenuit.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>


	<scene name="scene_cabane" title="cabane" onstart="" thumburl="cabane.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />
        <events onloadcomplete="unselectmapspotsbutpassed(); selectmapspot(scene4bis);"/>
		<preview url="cabane.tiles/preview.jpg" />

		<image>
			<left  url="cabane.tiles/pano_l.jpg" />
			<front url="cabane.tiles/pano_f.jpg" />
			<right url="cabane.tiles/pano_r.jpg" />
			<back  url="cabane.tiles/pano_b.jpg" />
			<up    url="cabane.tiles/pano_u.jpg" />
			<down  url="cabane.tiles/pano_d.jpg" />
			<mobile>
				<left  url="cabane.tiles/mobile_l.jpg" />
				<front url="cabane.tiles/mobile_f.jpg" />
				<right url="cabane.tiles/mobile_r.jpg" />
				<back  url="cabane.tiles/mobile_b.jpg" />
				<up    url="cabane.tiles/mobile_u.jpg" />
				<down  url="cabane.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="cabane.tiles/tablet_l.jpg" />
				<front url="cabane.tiles/tablet_f.jpg" />
				<right url="cabane.tiles/tablet_r.jpg" />
				<back  url="cabane.tiles/tablet_b.jpg" />
				<up    url="cabane.tiles/tablet_u.jpg" />
				<down  url="cabane.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>


	<scene name="scene_cave" title="cave" onstart="" thumburl="cave.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="cave.tiles/preview.jpg" />

		<image>
			<left  url="cave.tiles/pano_l.jpg" />
			<front url="cave.tiles/pano_f.jpg" />
			<right url="cave.tiles/pano_r.jpg" />
			<back  url="cave.tiles/pano_b.jpg" />
			<up    url="cave.tiles/pano_u.jpg" />
			<down  url="cave.tiles/pano_d.jpg" />
			<mobile>
				<left  url="cave.tiles/mobile_l.jpg" />
				<front url="cave.tiles/mobile_f.jpg" />
				<right url="cave.tiles/mobile_r.jpg" />
				<back  url="cave.tiles/mobile_b.jpg" />
				<up    url="cave.tiles/mobile_u.jpg" />
				<down  url="cave.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="cave.tiles/tablet_l.jpg" />
				<front url="cave.tiles/tablet_f.jpg" />
				<right url="cave.tiles/tablet_r.jpg" />
				<back  url="cave.tiles/tablet_b.jpg" />
				<up    url="cave.tiles/tablet_u.jpg" />
				<down  url="cave.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>


	<scene name="scene_chambreetage1" title="chambreetage1" onstart="" thumburl="chambreetage1.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="chambreetage1.tiles/preview.jpg" />

		<image>
			<left  url="chambreetage1.tiles/pano_l.jpg" />
			<front url="chambreetage1.tiles/pano_f.jpg" />
			<right url="chambreetage1.tiles/pano_r.jpg" />
			<back  url="chambreetage1.tiles/pano_b.jpg" />
			<up    url="chambreetage1.tiles/pano_u.jpg" />
			<down  url="chambreetage1.tiles/pano_d.jpg" />
			<mobile>
				<left  url="chambreetage1.tiles/mobile_l.jpg" />
				<front url="chambreetage1.tiles/mobile_f.jpg" />
				<right url="chambreetage1.tiles/mobile_r.jpg" />
				<back  url="chambreetage1.tiles/mobile_b.jpg" />
				<up    url="chambreetage1.tiles/mobile_u.jpg" />
				<down  url="chambreetage1.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="chambreetage1.tiles/tablet_l.jpg" />
				<front url="chambreetage1.tiles/tablet_f.jpg" />
				<right url="chambreetage1.tiles/tablet_r.jpg" />
				<back  url="chambreetage1.tiles/tablet_b.jpg" />
				<up    url="chambreetage1.tiles/tablet_u.jpg" />
				<down  url="chambreetage1.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>


	<scene name="scene_couloir1" title="couloir1" onstart="" thumburl="couloir1.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="couloir1.tiles/preview.jpg" />

		<image>
			<left  url="couloir1.tiles/pano_l.jpg" />
			<front url="couloir1.tiles/pano_f.jpg" />
			<right url="couloir1.tiles/pano_r.jpg" />
			<back  url="couloir1.tiles/pano_b.jpg" />
			<up    url="couloir1.tiles/pano_u.jpg" />
			<down  url="couloir1.tiles/pano_d.jpg" />
			<mobile>
				<left  url="couloir1.tiles/mobile_l.jpg" />
				<front url="couloir1.tiles/mobile_f.jpg" />
				<right url="couloir1.tiles/mobile_r.jpg" />
				<back  url="couloir1.tiles/mobile_b.jpg" />
				<up    url="couloir1.tiles/mobile_u.jpg" />
				<down  url="couloir1.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="couloir1.tiles/tablet_l.jpg" />
				<front url="couloir1.tiles/tablet_f.jpg" />
				<right url="couloir1.tiles/tablet_r.jpg" />
				<back  url="couloir1.tiles/tablet_b.jpg" />
				<up    url="couloir1.tiles/tablet_u.jpg" />
				<down  url="couloir1.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>


	<scene name="scene_cuisine" title="cuisine" onstart="" thumburl="cuisine.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="cuisine.tiles/preview.jpg" />

		<image>
			<left  url="cuisine.tiles/pano_l.jpg" />
			<front url="cuisine.tiles/pano_f.jpg" />
			<right url="cuisine.tiles/pano_r.jpg" />
			<back  url="cuisine.tiles/pano_b.jpg" />
			<up    url="cuisine.tiles/pano_u.jpg" />
			<down  url="cuisine.tiles/pano_d.jpg" />
			<mobile>
				<left  url="cuisine.tiles/mobile_l.jpg" />
				<front url="cuisine.tiles/mobile_f.jpg" />
				<right url="cuisine.tiles/mobile_r.jpg" />
				<back  url="cuisine.tiles/mobile_b.jpg" />
				<up    url="cuisine.tiles/mobile_u.jpg" />
				<down  url="cuisine.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="cuisine.tiles/tablet_l.jpg" />
				<front url="cuisine.tiles/tablet_f.jpg" />
				<right url="cuisine.tiles/tablet_r.jpg" />
				<back  url="cuisine.tiles/tablet_b.jpg" />
				<up    url="cuisine.tiles/tablet_u.jpg" />
				<down  url="cuisine.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
		<scene name="scene_grandsalon1" title="grandsalon1" onstart="" thumburl="grandsalon1.tiles/thumb.jpg">

		<view hlookat="-167" vlookat="5" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="grandsalon1.tiles/preview.jpg" />

		<image>
			<left  url="grandsalon1.tiles/pano_l.jpg" />
			<front url="grandsalon1.tiles/pano_f.jpg" />
			<right url="grandsalon1.tiles/pano_r.jpg" />
			<back  url="grandsalon1.tiles/pano_b.jpg" />
			<up    url="grandsalon1.tiles/pano_u.jpg" />
			<down  url="grandsalon1.tiles/pano_d.jpg" />
			<mobile>
				<left  url="grandsalon1.tiles/mobile_l.jpg" />
				<front url="grandsalon1.tiles/mobile_f.jpg" />
				<right url="grandsalon1.tiles/mobile_r.jpg" />
				<back  url="grandsalon1.tiles/mobile_b.jpg" />
				<up    url="grandsalon1.tiles/mobile_u.jpg" />
				<down  url="grandsalon1.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="grandsalon1.tiles/tablet_l.jpg" />
				<front url="grandsalon1.tiles/tablet_f.jpg" />
				<right url="grandsalon1.tiles/tablet_r.jpg" />
				<back  url="grandsalon1.tiles/tablet_b.jpg" />
				<up    url="grandsalon1.tiles/tablet_u.jpg" />
				<down  url="grandsalon1.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
		<scene name="scene_grandsalon2" title="grandsalon2" onstart="" thumburl="grandsalon2.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="grandsalon2.tiles/preview.jpg" />

		<image>
			<left  url="grandsalon2.tiles/pano_l.jpg" />
			<front url="grandsalon2.tiles/pano_f.jpg" />
			<right url="grandsalon2.tiles/pano_r.jpg" />
			<back  url="grandsalon2.tiles/pano_b.jpg" />
			<up    url="grandsalon2.tiles/pano_u.jpg" />
			<down  url="grandsalon2.tiles/pano_d.jpg" />
			<mobile>
				<left  url="grandsalon2.tiles/mobile_l.jpg" />
				<front url="grandsalon2.tiles/mobile_f.jpg" />
				<right url="grandsalon2.tiles/mobile_r.jpg" />
				<back  url="grandsalon2.tiles/mobile_b.jpg" />
				<up    url="grandsalon2.tiles/mobile_u.jpg" />
				<down  url="grandsalon2.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="grandsalon2.tiles/tablet_l.jpg" />
				<front url="grandsalon2.tiles/tablet_f.jpg" />
				<right url="grandsalon2.tiles/tablet_r.jpg" />
				<back  url="grandsalon2.tiles/tablet_b.jpg" />
				<up    url="grandsalon2.tiles/tablet_u.jpg" />
				<down  url="grandsalon2.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
		<scene name="scene_jardin1" title="jardin1" onstart="" thumburl="jardin1.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="90" fovmax="120" />
		<events onloadcomplete="unselectmapspotsbutpassed(); selectmapspot(scene3bis);"/>
		<preview url="jardin1.tiles/preview.jpg" />

		<image>
			<left  url="jardin1.tiles/pano_l.jpg" />
			<front url="jardin1.tiles/pano_f.jpg" />
			<right url="jardin1.tiles/pano_r.jpg" />
			<back  url="jardin1.tiles/pano_b.jpg" />
			<up    url="jardin1.tiles/pano_u.jpg" />
			<down  url="jardin1.tiles/pano_d.jpg" />
			<mobile>
				<left  url="jardin1.tiles/mobile_l.jpg" />
				<front url="jardin1.tiles/mobile_f.jpg" />
				<right url="jardin1.tiles/mobile_r.jpg" />
				<back  url="jardin1.tiles/mobile_b.jpg" />
				<up    url="jardin1.tiles/mobile_u.jpg" />
				<down  url="jardin1.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="jardin1.tiles/tablet_l.jpg" />
				<front url="jardin1.tiles/tablet_f.jpg" />
				<right url="jardin1.tiles/tablet_r.jpg" />
				<back  url="jardin1.tiles/tablet_b.jpg" />
				<up    url="jardin1.tiles/tablet_u.jpg" />
				<down  url="jardin1.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
		<scene name="scene_jardin2" title="jardin2" onstart="" thumburl="jardin2.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="jardin2.tiles/preview.jpg" />

		<image>
			<left  url="jardin2.tiles/pano_l.jpg" />
			<front url="jardin2.tiles/pano_f.jpg" />
			<right url="jardin2.tiles/pano_r.jpg" />
			<back  url="jardin2.tiles/pano_b.jpg" />
			<up    url="jardin2.tiles/pano_u.jpg" />
			<down  url="jardin2.tiles/pano_d.jpg" />
			<mobile>
				<left  url="jardin2.tiles/mobile_l.jpg" />
				<front url="jardin2.tiles/mobile_f.jpg" />
				<right url="jardin2.tiles/mobile_r.jpg" />
				<back  url="jardin2.tiles/mobile_b.jpg" />
				<up    url="jardin2.tiles/mobile_u.jpg" />
				<down  url="jardin2.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="jardin2.tiles/tablet_l.jpg" />
				<front url="jardin2.tiles/tablet_f.jpg" />
				<right url="jardin2.tiles/tablet_r.jpg" />
				<back  url="jardin2.tiles/tablet_b.jpg" />
				<up    url="jardin2.tiles/tablet_u.jpg" />
				<down  url="jardin2.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
	<scene name="scene_palier1eretage" title="palier1eretage" onstart="" thumburl="palier1eretage.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="palier1eretage.tiles/preview.jpg" />

		<image>
			<left  url="palier1eretage.tiles/pano_l.jpg" />
			<front url="palier1eretage.tiles/pano_f.jpg" />
			<right url="palier1eretage.tiles/pano_r.jpg" />
			<back  url="palier1eretage.tiles/pano_b.jpg" />
			<up    url="palier1eretage.tiles/pano_u.jpg" />
			<down  url="palier1eretage.tiles/pano_d.jpg" />
			<mobile>
				<left  url="palier1eretage.tiles/mobile_l.jpg" />
				<front url="palier1eretage.tiles/mobile_f.jpg" />
				<right url="palier1eretage.tiles/mobile_r.jpg" />
				<back  url="palier1eretage.tiles/mobile_b.jpg" />
				<up    url="palier1eretage.tiles/mobile_u.jpg" />
				<down  url="palier1eretage.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="palier1eretage.tiles/tablet_l.jpg" />
				<front url="palier1eretage.tiles/tablet_f.jpg" />
				<right url="palier1eretage.tiles/tablet_r.jpg" />
				<back  url="palier1eretage.tiles/tablet_b.jpg" />
				<up    url="palier1eretage.tiles/tablet_u.jpg" />
				<down  url="palier1eretage.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
		<scene name="scene_salledebain1" title="salledebain1" onstart="" thumburl="salledebain1.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="salledebain1.tiles/preview.jpg" />

		<image>
			<left  url="salledebain1.tiles/pano_l.jpg" />
			<front url="salledebain1.tiles/pano_f.jpg" />
			<right url="salledebain1.tiles/pano_r.jpg" />
			<back  url="salledebain1.tiles/pano_b.jpg" />
			<up    url="salledebain1.tiles/pano_u.jpg" />
			<down  url="salledebain1.tiles/pano_d.jpg" />
			<mobile>
				<left  url="salledebain1.tiles/mobile_l.jpg" />
				<front url="salledebain1.tiles/mobile_f.jpg" />
				<right url="salledebain1.tiles/mobile_r.jpg" />
				<back  url="salledebain1.tiles/mobile_b.jpg" />
				<up    url="salledebain1.tiles/mobile_u.jpg" />
				<down  url="salledebain1.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="salledebain1.tiles/tablet_l.jpg" />
				<front url="salledebain1.tiles/tablet_f.jpg" />
				<right url="salledebain1.tiles/tablet_r.jpg" />
				<back  url="salledebain1.tiles/tablet_b.jpg" />
				<up    url="salledebain1.tiles/tablet_u.jpg" />
				<down  url="salledebain1.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
	<scene name="scene_salledebain2" title="salledebain2" onstart="" thumburl="salledebain2.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="salledebain2.tiles/preview.jpg" />

		<image>
			<left  url="salledebain2.tiles/pano_l.jpg" />
			<front url="salledebain2.tiles/pano_f.jpg" />
			<right url="salledebain2.tiles/pano_r.jpg" />
			<back  url="salledebain2.tiles/pano_b.jpg" />
			<up    url="salledebain2.tiles/pano_u.jpg" />
			<down  url="salledebain2.tiles/pano_d.jpg" />
			<mobile>
				<left  url="salledebain2.tiles/mobile_l.jpg" />
				<front url="salledebain2.tiles/mobile_f.jpg" />
				<right url="salledebain2.tiles/mobile_r.jpg" />
				<back  url="salledebain2.tiles/mobile_b.jpg" />
				<up    url="salledebain2.tiles/mobile_u.jpg" />
				<down  url="salledebain2.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="salledebain2.tiles/tablet_l.jpg" />
				<front url="salledebain2.tiles/tablet_f.jpg" />
				<right url="salledebain2.tiles/tablet_r.jpg" />
				<back  url="salledebain2.tiles/tablet_b.jpg" />
				<up    url="salledebain2.tiles/tablet_u.jpg" />
				<down  url="salledebain2.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
		<scene name="scene_salledesport" title="salledesport" onstart="" thumburl="salledesport.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="salledesport.tiles/preview.jpg" />

		<image>
			<left  url="salledesport.tiles/pano_l.jpg" />
			<front url="salledesport.tiles/pano_f.jpg" />
			<right url="salledesport.tiles/pano_r.jpg" />
			<back  url="salledesport.tiles/pano_b.jpg" />
			<up    url="salledesport.tiles/pano_u.jpg" />
			<down  url="salledesport.tiles/pano_d.jpg" />
			<mobile>
				<left  url="salledesport.tiles/mobile_l.jpg" />
				<front url="salledesport.tiles/mobile_f.jpg" />
				<right url="salledesport.tiles/mobile_r.jpg" />
				<back  url="salledesport.tiles/mobile_b.jpg" />
				<up    url="salledesport.tiles/mobile_u.jpg" />
				<down  url="salledesport.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="salledesport.tiles/tablet_l.jpg" />
				<front url="salledesport.tiles/tablet_f.jpg" />
				<right url="salledesport.tiles/tablet_r.jpg" />
				<back  url="salledesport.tiles/tablet_b.jpg" />
				<up    url="salledesport.tiles/tablet_u.jpg" />
				<down  url="salledesport.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
		<scene name="scene_salleentreeprincipale" title="salleentreeprincipale" onstart="" thumburl="salleentreeprincipale.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="salleentreeprincipale.tiles/preview.jpg" />

		<image>
			<left  url="salleentreeprincipale.tiles/pano_l.jpg" />
			<front url="salleentreeprincipale.tiles/pano_f.jpg" />
			<right url="salleentreeprincipale.tiles/pano_r.jpg" />
			<back  url="salleentreeprincipale.tiles/pano_b.jpg" />
			<up    url="salleentreeprincipale.tiles/pano_u.jpg" />
			<down  url="salleentreeprincipale.tiles/pano_d.jpg" />
			<mobile>
				<left  url="salleentreeprincipale.tiles/mobile_l.jpg" />
				<front url="salleentreeprincipale.tiles/mobile_f.jpg" />
				<right url="salleentreeprincipale.tiles/mobile_r.jpg" />
				<back  url="salleentreeprincipale.tiles/mobile_b.jpg" />
				<up    url="salleentreeprincipale.tiles/mobile_u.jpg" />
				<down  url="salleentreeprincipale.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="salleentreeprincipale.tiles/tablet_l.jpg" />
				<front url="salleentreeprincipale.tiles/tablet_f.jpg" />
				<right url="salleentreeprincipale.tiles/tablet_r.jpg" />
				<back  url="salleentreeprincipale.tiles/tablet_b.jpg" />
				<up    url="salleentreeprincipale.tiles/tablet_u.jpg" />
				<down  url="salleentreeprincipale.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
	<scene name="scene_salon1" title="salon1" onstart="" thumburl="salon1.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="60" fovmax="120" />
		<events onloadcomplete="unselectmapspotsbutpassed(); selectmapspot(scene6bis);"/>
		<preview url="salon1.tiles/preview.jpg" />

		<image>
			<left  url="salon1.tiles/pano_l.jpg" />
			<front url="salon1.tiles/pano_f.jpg" />
			<right url="salon1.tiles/pano_r.jpg" />
			<back  url="salon1.tiles/pano_b.jpg" />
			<up    url="salon1.tiles/pano_u.jpg" />
			<down  url="salon1.tiles/pano_d.jpg" />
			<mobile>
				<left  url="salon1.tiles/mobile_l.jpg" />
				<front url="salon1.tiles/mobile_f.jpg" />
				<right url="salon1.tiles/mobile_r.jpg" />
				<back  url="salon1.tiles/mobile_b.jpg" />
				<up    url="salon1.tiles/mobile_u.jpg" />
				<down  url="salon1.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="salon1.tiles/tablet_l.jpg" />
				<front url="salon1.tiles/tablet_f.jpg" />
				<right url="salon1.tiles/tablet_r.jpg" />
				<back  url="salon1.tiles/tablet_b.jpg" />
				<up    url="salon1.tiles/tablet_u.jpg" />
				<down  url="salon1.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
	<scene name="scene_salon2" title="salon2" onstart="" thumburl="salon2.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="salon2.tiles/preview.jpg" />

		<image>
			<left  url="salon2.tiles/pano_l.jpg" />
			<front url="salon2.tiles/pano_f.jpg" />
			<right url="salon2.tiles/pano_r.jpg" />
			<back  url="salon2.tiles/pano_b.jpg" />
			<up    url="salon2.tiles/pano_u.jpg" />
			<down  url="salon2.tiles/pano_d.jpg" />
			<mobile>
				<left  url="salon2.tiles/mobile_l.jpg" />
				<front url="salon2.tiles/mobile_f.jpg" />
				<right url="salon2.tiles/mobile_r.jpg" />
				<back  url="salon2.tiles/mobile_b.jpg" />
				<up    url="salon2.tiles/mobile_u.jpg" />
				<down  url="salon2.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="salon2.tiles/tablet_l.jpg" />
				<front url="salon2.tiles/tablet_f.jpg" />
				<right url="salon2.tiles/tablet_r.jpg" />
				<back  url="salon2.tiles/tablet_b.jpg" />
				<up    url="salon2.tiles/tablet_u.jpg" />
				<down  url="salon2.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
	<scene name="scene_sas" title="sas" onstart="" thumburl="sas.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="sas.tiles/preview.jpg" />

		<image>
			<left  url="sas.tiles/pano_l.jpg" />
			<front url="sas.tiles/pano_f.jpg" />
			<right url="sas.tiles/pano_r.jpg" />
			<back  url="sas.tiles/pano_b.jpg" />
			<up    url="sas.tiles/pano_u.jpg" />
			<down  url="sas.tiles/pano_d.jpg" />
			<mobile>
				<left  url="sas.tiles/mobile_l.jpg" />
				<front url="sas.tiles/mobile_f.jpg" />
				<right url="sas.tiles/mobile_r.jpg" />
				<back  url="sas.tiles/mobile_b.jpg" />
				<up    url="sas.tiles/mobile_u.jpg" />
				<down  url="sas.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="sas.tiles/tablet_l.jpg" />
				<front url="sas.tiles/tablet_f.jpg" />
				<right url="sas.tiles/tablet_r.jpg" />
				<back  url="sas.tiles/tablet_b.jpg" />
				<up    url="sas.tiles/tablet_u.jpg" />
				<down  url="sas.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
		<scene name="scene_terrasse" title="terrasse" onstart="" thumburl="terrasse.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="60" fovmax="120" />

		<preview url="terrasse.tiles/preview.jpg" />

		<image>
			<left  url="terrasse.tiles/pano_l.jpg" />
			<front url="terrasse.tiles/pano_f.jpg" />
			<right url="terrasse.tiles/pano_r.jpg" />
			<back  url="terrasse.tiles/pano_b.jpg" />
			<up    url="terrasse.tiles/pano_u.jpg" />
			<down  url="terrasse.tiles/pano_d.jpg" />
			<mobile>
				<left  url="terrasse.tiles/mobile_l.jpg" />
				<front url="terrasse.tiles/mobile_f.jpg" />
				<right url="terrasse.tiles/mobile_r.jpg" />
				<back  url="terrasse.tiles/mobile_b.jpg" />
				<up    url="terrasse.tiles/mobile_u.jpg" />
				<down  url="terrasse.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="terrasse.tiles/tablet_l.jpg" />
				<front url="terrasse.tiles/tablet_f.jpg" />
				<right url="terrasse.tiles/tablet_r.jpg" />
				<back  url="terrasse.tiles/tablet_b.jpg" />
				<up    url="terrasse.tiles/tablet_u.jpg" />
				<down  url="terrasse.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<hotspot name="spot2" style="hotspot_ani_black" 
		         ath="10"
		         atv="10"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('scene_terrasehaute',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>
	
	<scene name="scene_terrassehaute" title="terrassehaute" onstart="" thumburl="terrassehaute.tiles/thumb.jpg">

		<view hlookat="-233" vlookat="1" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="90" fovmax="120" />
		<events onloadcomplete="unselectmapspotsbutpassed(); selectmapspot(scene5bis);"/>
		<preview url="terrassehaute.tiles/preview.jpg" />

		<image>
			<left  url="terrassehaute.tiles/pano_l.jpg" />
			<front url="terrassehaute.tiles/pano_f.jpg" />
			<right url="terrassehaute.tiles/pano_r.jpg" />
			<back  url="terrassehaute.tiles/pano_b.jpg" />
			<up    url="terrassehaute.tiles/pano_u.jpg" />
			<down  url="terrassehaute.tiles/pano_d.jpg" />
			<mobile>
				<left  url="terrassehaute.tiles/mobile_l.jpg" />
				<front url="terrassehaute.tiles/mobile_f.jpg" />
				<right url="terrassehaute.tiles/mobile_r.jpg" />
				<back  url="terrassehaute.tiles/mobile_b.jpg" />
				<up    url="terrassehaute.tiles/mobile_u.jpg" />
				<down  url="terrassehaute.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="terrassehaute.tiles/tablet_l.jpg" />
				<front url="terrassehaute.tiles/tablet_f.jpg" />
				<right url="terrassehaute.tiles/tablet_r.jpg" />
				<back  url="terrassehaute.tiles/tablet_b.jpg" />
				<up    url="terrassehaute.tiles/tablet_u.jpg" />
				<down  url="terrassehaute.tiles/tablet_d.jpg" />
			</tablet>
		</image>

		<!-- place hotspots here -->

		<!-- example hotspot:
		<hotspot name="spot1" style="hotspot_ani_black" 
		         ath="0"
		         atv="0"
		         zoom="false"
		         onclick="looktohotspot(get(name)); loadscene('insert-scene-name',null,MERGE,BLEND(1));"
		         />
		-->

	</scene>




	<!-- thumbnail actions begin (remove the 'buildthumbs()' call in the onstart event to remove the thumbs) -->
	<action name="buildthumbs">
		if(%1 != NEXT, set(i,0));
		if(i LT scene.count,
			copy(thumb, scene[get(i)].thumburl);
			txtadd(thumbname,'thumb_',get(i));
			addplugin(get(thumbname));
			set(plugin[get(thumbname)].url, get(thumb));
			set(plugin[get(thumbname)].keep, true);
			set(plugin[get(thumbname)].align, leftbottom);
			set(plugin[get(thumbname)].width,  40);
			set(plugin[get(thumbname)].height, 40);
			set(plugin[get(thumbname)].x, 10);
			set(plugin[get(thumbname)].y, 10);
			mul(plugin[get(thumbname)].x, i,3);
			mul(plugin[get(thumbname)].y, i,3);
			add(plugin[get(thumbname)].x, 5);
			add(plugin[get(thumbname)].y, 5);
			copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x);
			copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y);
			add(plugin[get(thumbname)].zorder, 100, i);
			set(plugin[get(thumbname)].effect,glow(0xFFFFFF,1.0,2,10000));
			set(plugin[get(thumbname)].jsborder,'1px solid #FFFFFF');
			copy(plugin[get(thumbname)].thumbpos, i);
			set(plugin[get(thumbname)].linkedscene, get(scene[get(i)].name) );
			set(plugin[get(thumbname)].onclick, openthumbs() );
			inc(i);
			buildthumbs(NEXT);
		  );
	</action>

	<action name="openthumb">
		if(%2 != NEXT,
			set(pos,0);
			copy(curpos, plugin[%1].thumbpos);
			set(xdst, 0);
			set(ydst, 0);
		  );

		if(pos LT curpos,
			inc(pos);
			inc(ydst,90);
			sub(ymax, stageheight, 100);
			if(ydst GT ymax, inc(xdst,90);set(ydst,0); );
			openthumb(%1,NEXT);
		  ,
			add(xdst,10);
			add(ydst,10);
			tween(plugin[%1].x, get(xdst) );
			tween(plugin[%1].y, get(ydst) );
			tween(plugin[%1].width, 80);
			tween(plugin[%1].height, 80);
		  );
	</action>

	<action name="closethumb">
		tween(plugin[%1].x, get(plugin[%1].xsmall));
		tween(plugin[%1].y, get(plugin[%1].ysmall));
		tween(plugin[%1].width, 40);
		tween(plugin[%1].height, 40);
	</action>

	<action name="openthumbs">
		if(%1 != NEXT,
			set(i,0);
			set(events.onclick, set(events.onclick,null); delayedcall(0.1, closethumbs() ); );
		  );

		if(i LT scene.count,
			txtadd(thumbname,'thumb_',get(i));
			openthumb(get(thumbname));
			set(plugin[get(thumbname)].onclick, set(events.onclick,null); closethumbs(); loadscene(get(linkedscene),null,MERGE,BLEND(1)); );
			inc(i);
			openthumbs(NEXT);
		  );
	</action>

	<action name="closethumbs">
		if(%1 != NEXT, set(i,0));
		if(i LT scene.count,
			txtadd(thumbname,'thumb_',get(i));
			closethumb(get(thumbname));
			set(plugin[get(thumbname)].onclick, openthumbs() );
			inc(i);
			closethumbs(NEXT);
		  );
	</action>
	<!-- thumbnail actions end -->
</krpano>

