<?xml version="1.0" encoding="UTF-8"?>
<!-- for xml compliance -->
<krpano version="1.0.8.14">
    <!-- Actions à exécuter au chargement -->
    <events onxmlcomplete="onxmlcompleteaction();"/>
    <action name="onxmlcompleteaction">
		unselectmapspotsbutpassed();
		if(autorotate.enabled==false,set(plugin[autorotationOFF].visible,false); set(plugin[autorotationON].visible,true);,set(plugin[autorotationOFF].visible,true); set(plugin[autorotationON].visible,false););
		selectmapspot(mapspot0,263);
		firstloadcompleteaction();
	</action>
    <action name="playpanosounds">
		playbackgroundsound(none);
	</action>
    <action name="stoppanosounds">
		stopbackgroundsound();
	</action>
    <action name="closepanoobjects">
	</action>
    <!--************** Panorama *******************************************************************-->
    <!-- @File="vm0.xml" @PanoName="Allée centrale - 1" @FilePath="D:/Desktop/Corum-Elan d'Art/Panos/29-10-2012-corum-elandart0001 Panorama_1_+-def.tif" -->
    <panoview h="8.26" v="0" fov="75"/>
    <!-- Paramêtres de la vue -->
    <view fisheye="0" limitview="range" hlookatmin="-180" hlookatmax="180" vlookatmin="-90" vlookatmax="90" maxpixelzoom="1.0" fovmax="112.5" fov="75" hlookat="8.26" vlookat="0"/>
    <progress showload="none" showwait="none"/>
    <autorotate horizon="0" tofov="75" waittime="5" speed="5"/>
    <!-- Miniature -->
    <preview url="vmdata/vm0/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" details="16"/>
    <!-- Le pano lui même -->
    <image type="CUBE" multires="true" tilesize="768" baseindex="0">
        <level tiledimagewidth="3072" tiledimageheight="3072">
            <left url="vmdata/vm0/3/2/%v_%u.jpg"/>
            <front url="vmdata/vm0/0/2/%v_%u.jpg"/>
            <right url="vmdata/vm0/1/2/%v_%u.jpg"/>
            <back url="vmdata/vm0/2/2/%v_%u.jpg"/>
            <up url="vmdata/vm0/4/2/%v_%u.jpg"/>
            <down url="vmdata/vm0/5/2/%v_%u.jpg"/>
        </level>
        <level tiledimagewidth="1536" tiledimageheight="1536">
            <left url="vmdata/vm0/3/1/%v_%u.jpg"/>
            <front url="vmdata/vm0/0/1/%v_%u.jpg"/>
            <right url="vmdata/vm0/1/1/%v_%u.jpg"/>
            <back url="vmdata/vm0/2/1/%v_%u.jpg"/>
            <up url="vmdata/vm0/4/1/%v_%u.jpg"/>
            <down url="vmdata/vm0/5/1/%v_%u.jpg"/>
        </level>
        <level tiledimagewidth="768" tiledimageheight="768">
            <left url="vmdata/vm0/3/0/%v_%u.jpg"/>
            <front url="vmdata/vm0/0/0/%v_%u.jpg"/>
            <right url="vmdata/vm0/1/0/%v_%u.jpg"/>
            <back url="vmdata/vm0/2/0/%v_%u.jpg"/>
            <up url="vmdata/vm0/4/0/%v_%u.jpg"/>
            <down url="vmdata/vm0/5/0/%v_%u.jpg"/>
        </level>
        <!-- mobile phone / iphone images -->
        <mobile>
            <left url="vmdata/vm0/3/mobile_face.jpg"/>
            <front url="vmdata/vm0/0/mobile_face.jpg"/>
            <right url="vmdata/vm0/1/mobile_face.jpg"/>
            <back url="vmdata/vm0/2/mobile_face.jpg"/>
            <up url="vmdata/vm0/4/mobile_face.jpg"/>
            <down url="vmdata/vm0/5/mobile_face.jpg"/>
        </mobile>
        <!-- tablet pc / ipad images -->
        <tablet>
            <left url="vmdata/vm0/3/tablet_face.jpg"/>
            <front url="vmdata/vm0/0/tablet_face.jpg"/>
            <right url="vmdata/vm0/1/tablet_face.jpg"/>
            <back url="vmdata/vm0/2/tablet_face.jpg"/>
            <up url="vmdata/vm0/4/tablet_face.jpg"/>
            <down url="vmdata/vm0/5/tablet_face.jpg"/>
        </tablet>
    </image>
    <!--************** Hotspots et reflets ********************************************************-->
    <hotspot name="spot0" hview="-5.13" vview="0" fovview="75" hcenter="8.80589" vcenter="16.8632" onclick="mainloadpano(vm1.xml);lookat(get(hview),get(vview),get(fovview));" url="vmdata/graphics/spots/spot2.png" crop="0|0|65|65" frame="0" lastframe="9" frameheight="65" framewidth="65" onloaded="set(stopSequence,false);animate(spot0,0.1);" onhover="showtext(Allée centrale - 2);" ath="8.80589" atv="16.8632" width="prop" height="4%"/>
    <hotspot name="spot1" hview="-90.44" vview="0" fovview="75" hcenter="86.828" vcenter="7.38947" onclick="mainloadpano(vm31.xml);lookat(get(hview),get(vview),get(fovview));" url="vmdata/graphics/spots/spot2.png" crop="0|0|65|65" frame="0" lastframe="9" frameheight="65" framewidth="65" onloaded="set(stopSequence,false);animate(spot1,0.1);" onhover="showtext(Allée droite - 1);" ath="86.828" atv="7.38947" width="prop" height="4%"/>
    <hotspot name="spot2" hview="143.6" vview="0" fovview="75" hcenter="-33.6139" vcenter="0.757895" onclick="mainloadpano(vm41.xml);lookat(get(hview),get(vview),get(fovview));" url="vmdata/graphics/spots/spot3.png" crop="0|0|65|65" frame="0" lastframe="9" frameheight="65" framewidth="65" onloaded="set(stopSequence,false);animate(spot2,0.1);" onhover="showtext(Allée gauche - 1);" ath="-33.6139" atv="0.757895" width="prop" height="4%"/>

    <action name="hidepanospotsaction">
		set(hotspot[spot0].visible, false);
		set(hotspot[spot1].visible, false);
		set(hotspot[spot2].visible, false);
		set(hotspot[spot3].visible, false);
	</action>
    <action name="showpanospotsaction">
		set(hotspot[spot0].visible, true);
		set(hotspot[spot1].visible, true);
		set(hotspot[spot2].visible, true);
		set(hotspot[spot3].visible, true);
	</action>
    <!-- Fermeture de tous les spots -->
    <action name="closeallobjects">
		closespot3object();
	</action>
	<plugin name="btn_qrcode" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(plugin[imageqrcode].visible,true);tween(plugin[imageqrcode].alpha, 1);" onout="" onover="" onovercrop="0|65|65|65" url="vmdata/graphics/menu/menu15.png" width="40" x="300" y="10"/>
	<plugin name="imageqrcode" align="center" alpha="0" height="340" onclick="fermeqrcode();" url="vmdata/graphics/menu/menu16.png" visible="false" width="280"/>
	<action name="fermeqrcode">
	if(plugin[imageqrcode].visible,
	tween(plugin[imageqrcode].alpha, 0);
	delayedcall(0.5,set(plugin[imageqrcode].visible,false));
	);
	</action>
</krpano>