<?xml version="1.0" encoding="UTF-8"?>
<!-- for xml compliance -->
<!-- Generated By Kolor Panotour 1.6.0 Beta 2 -->
<krpano version="1.0.8.14">
    <action name="mainloadpano">
		 closeglobalobjects();
		 ifnot(stopSequence === undefined,interruptAnimation(););
		 loadpano(%1,NULL,NULL,BLEND(1));</action>
    <plugin name="gyro" url="kevin_harrisondata/graphics/gyro.js" devices="ipad|iphone" keep="true" enabled="true"/> logkey="false"
    <!--************** KrPano plugins and datas ***************************************************-->
    <plugin name="data" firstPanoHasBeenPlayed="false" keep="true"/>
    <!--************** Open the first pano ********************************************************-->
    <include url="kevin_harrison0.xml"/>
    <autorotate enabled="false"/>
    <plugin name="soundinterface" preload="true" url="kevin_harrisondata/graphics/soundinterface.swf" alturl="kevin_harrisondata/graphics/soundinterface.js" keep="true"/>
    <!--************** Fonts **********************************************************************-->
    <textstyle name="DEFAULT" bold="false" font="Arial Narrow" fontsize="16" italic="false" textcolor="0xff000000"/>
    <!--************** Introduction ***************************************************************-->
    <action name="firstloadcompleteaction">
if(plugin[data].firstPanoHasBeenPlayed==false,
	setlittleplanet();
	wait(load);
	set(autorotate.enabled,true);
	delayedcall(1.0, tweennormalview());
	set(plugin[data].firstPanoHasBeenPlayed,true);
);
</action>
    <action name="setlittleplanet">
set(view.stereographic,true);
set(view.fisheye,1.0);
set(view.limitview, lookat);
set(view.vlookatmin,	-90);
set(view.vlookatmax,	90);
set(view.fov,150);
set(view.fovmax,150);
set(view.hlookat,0);
set(view.vlookat,90);
set(display.flash10,off);
set(display.details,14);
</action>
    <!--************** Lensflares *****************************************************************-->
    <lensflareset name="DEFAULT" url="kevin_harrisondata/graphics/flares.jpg"/>
    <!--************** Menu ***********************************************************************-->
    <plugin name="in" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="kevin_harrisondata/graphics/menu/menu0.png" width="40" x="-180" y="10"/>
    <plugin name="out" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="kevin_harrisondata/graphics/menu/menu1.png" width="40" x="-140" y="10"/>
    <plugin name="left" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="kevin_harrisondata/graphics/menu/menu2.png" width="40" x="-100" y="10"/>
    <plugin name="right" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="kevin_harrisondata/graphics/menu/menu3.png" width="40" x="-60" y="10"/>
    <plugin name="up" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="kevin_harrisondata/graphics/menu/menu4.png" width="40" x="-20" y="10"/>
    <plugin name="down" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="kevin_harrisondata/graphics/menu/menu5.png" width="40" x="20" 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));" onout="" onover="" onovercrop="0|65|65|65" url="kevin_harrisondata/graphics/menu/menu6.png" width="40" x="60" y="10"/>
    <plugin name="openfs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,true);" onout="" onover="" onovercrop="0|65|65|65" url="kevin_harrisondata/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);" onout="" onover="" onovercrop="0|65|65|65" url="kevin_harrisondata/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);" onout="" onover="" onovercrop="0|65|65|65" url="kevin_harrisondata/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);" onovercrop="0|65|65|65" url="kevin_harrisondata/graphics/menu/menu10.png" visible="" width="40" x="140" y="10"/>
    <plugin name="info" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="displayHelp();" onout="" onover="" onovercrop="0|65|65|65" url="kevin_harrisondata/graphics/menu/menu11.png" width="40" x="180" y="10"/>
    <plugin name="helpScreen" align="center" customColor="true" keep="true" onclick="closeHelp();" url="kevin_harrisondata/graphics/menu/help.png" visible="false"/>
    <action name="displayHelp">
        set(plugin[helpScreen].visible,true);
        set(plugin[info].onclick,closeHelp();)
    </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);"/>
    <!--************** Backgroud sound ************************************************************-->
    <action name="playbackgroundsound">if(%1 == none,stopallsounds();set(plugin[soundinterface].background,%1),if(plugin[soundinterface].background == %1,,stopallsounds();playsound(auto,%1,%2);set(plugin[soundinterface].background,%1)));</action>
    <action name="closeglobalobjects"/>
    <action name="interruptAnimation">
        <!-- Raise sequence stopper and wait sequence time to break the delayed calls -->
	ifnot (stopSequence === undefined,
		set(stopSequence,true);
		wait(0);
	);
</action>
</krpano>
