<krpano version="1.0.5" onstart="action(load1);">

	<view hlookat="0" 
	      vlookat="0" 
	      fov="120" fovmin="60" fovmax="109" 
	      fisheye="0.44" fisheyefovlink="2.40" limitfov="true" 
	      />

	<!-- change the default textstyle for showtext: -->
	<textstyle name="DEFAULT" 
	           font="Arial" fontsize="14" 
	           border="false" background="false"
	           textcolor="0xFFFFFF"
	           effect="glow(0x000000,0.7,4,2);dropshadow(4,45,0x000000,4,1);"
	           />

	<textstyle name="smalltext" 
	           font="Arial" fontsize="10" 
	           border="false" background="false"
	           textcolor="0xFFFFFF"
	           effect="glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);"
	           />	           

<display fps="60" details="48" />

<display details="48" 
         movequality="HIGH" 
         stillquality="HIGHSHARP" 
         />

	<autorotate enabled="true" waittime="1.0" accel="1.5" speed="5" />

<contextmenu fullscreen="true">
   <item name="item2" 
         caption="Created by Photint" 
         onclick="openurl(http://photint.com);" 
         />
   <item name="item7" 
         separator="true" 
         caption="KRPANO" 
         />
</contextmenu>


<plugin name="background" url="background.png" zorder="4"origin="leftbottom" edge="center" x="650" y="50" alpha="0.5" />


<plugin name="spot9" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="240" onhover="showtext(click here);" onclick="action(load1);" />

<!--<plugin name="spot1" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="220" onhover="showtext(click here);" onclick="action(load9);" />-->

<plugin name="spot2" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="220" onhover="showtext(click here);" onclick="action(load2);" />

<plugin name="spot8" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="200" onhover="showtext(click here);" onclick="action(load8);" />

<plugin name="spot4" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="180" onhover="showtext(click here);" onclick="action(load4);" />

<plugin name="spot3" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="160" onhover="showtext(click here);" onclick="action(load3);" />

<plugin name="spot5" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="140" onhover="showtext(click here);" onclick="action(load5);"/>
	 
<!--<plugin name="spot6" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="120" onhover="showtext(click here);" onclick="action(load6);" />-->

<plugin name="spot7" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="120" onhover="showtext(click here);" onclick="action(load7);" />

<plugin name="spot10" url="mappoint.png" zorder="3" origin="leftbottom" edge="center" x="50" y="100" onhover="showtext(click here);" onclick="action(load10);" />



    <!-- first hotpot -->


	<plugin name="load1" url="plugins/CMToutsideview.swf" children="false" keep="true" zorder="7" 
	        css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:12; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="0" glowcolor="0xFFFFFF" visible="false" onover="tween(alpha,0.7,distance(0.3,0.2));" onout="tween(alpha,1.0,distance(0.3,0.2));" onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        html="[p]Snow Cave[/p]" 
	        align="bottomleft" x="63" y="230" width="230" height="20"
	        onclick="action(load1, null, MERGE, BLEND(1));"
	        />

	<plugin name="load2" url="plugins/Movingtruckdocks.swf" children="false" keep="true" zorder="7" 
	        css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:12; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="0" glowcolor="0xFFFFFF" visible="false" onover="tween(alpha,0.7,distance(0.3,0.2));" onout="tween(alpha,1.0,distance(0.3,0.2));" onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        html="[p]Snow Cave[/p]"
	        align="bottomleft" x="62" y="210" width="250" height="20"
	        onclick="action(load2, null, MERGE, BLEND(1));"
	        />

	<plugin name="load3" url="plugins/Workfloors.swf" children="false" keep="true" zorder="7" 
	        css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:12; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="0" glowcolor="0xFFFFFF" visible="false" onover="tween(alpha,0.7,distance(0.3,0.2));" onout="tween(alpha,1.0,distance(0.3,0.2));" onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        html="[p]Snow Cave[/p]"
	        align="bottomleft" x="64" y="190" width="230" height="20"
	        onclick="action(load8, null, MERGE, BLEND(1));"
	        />

	<plugin name="load4" url="plugins/Perishablesarea.swf" children="false" keep="true" zorder="7" 
	        css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:12; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="0" glowcolor="0xFFFFFF" visible="false" onover="tween(alpha,0.7,distance(0.3,0.2));" onout="tween(alpha,1.0,distance(0.3,0.2));" onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        html="[p]Snow Cave[/p]"
	        align="bottomleft" x="63" y="170" width="250" height="20"
	        onclick="action(load4, null, MERGE, BLEND(1));"
	        />

	<plugin name="load5" url="plugins/AnimalHandlingarea.swf" children="false" keep="true" zorder="7" 
	        css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:12; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="0" glowcolor="0xFFFFFF" visible="false" onover="tween(alpha,0.7,distance(0.3,0.2));" onout="tween(alpha,1.0,distance(0.3,0.2));" onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        html="[p]Snow Cave[/p]"
	        align="bottomleft" x="64" y="150" width="250" height="20"
	        onclick="action(load3, null, MERGE, BLEND(1));"
	        />

	<plugin name="load6" url="plugins/PalletContainerHandlingSystem(PCHS).swf" children="false" keep="true" zorder="7" 
	        css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:12; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="0" glowcolor="0xFFFFFF" visible="false" onover="tween(alpha,0.7,distance(0.3,0.2));" onout="tween(alpha,1.0,distance(0.3,0.2));" onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        html="[p]Snow Cave[/p]"
	        align="bottomleft" x="64" y="130" width="250" height="20"
	        onclick="action(load5, null, MERGE, BLEND(1));"
	        />

	<plugin name="load7" url="plugins/AutomaticStorageRetrievalSystemASRS.swf" children="false" keep="true" zorder="7" 
	        css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:12; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="0" glowcolor="0xFFFFFF" visible="false" onover="tween(alpha,0.7,distance(0.3,0.2));" onout="tween(alpha,1.0,distance(0.3,0.2));" onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        html="[p]Snow Cave[/p]"
	        align="bottomleft" x="64" y="110" width="250" height="20"
	        onclick="action(load6, null, MERGE, BLEND(1));"
	        />

	<plugin name="load8" url="plugins/CustomerServiceArea.swf" children="false" keep="true" zorder="7" 
	        css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:12; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="0" glowcolor="0xFFFFFF" visible="false" onover="tween(alpha,0.7,distance(0.3,0.2));" onout="tween(alpha,1.0,distance(0.3,0.2));" onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        html="[p]Snow Cave[/p]"
	        align="bottomleft" x="64" y="91" width="250" height="20"
	        onclick="action(load10, null, MERGE, BLEND(1));"
	        />


   	 <plugin name="navinfo" url="plugins/Navinfo.swf" zorder="5" origin="leftbottom" edge="center" x="740"  y="50" handcursor="false" 
            width="1400" 
            height="90"
            onclick="action(load1);"
            />



   	 <plugin name="text10" url="plugins/textheading.swf" zorder="1" origin="leftbottom" edge="center" x="150"  y="270" alpha="0.85" handcursor="false" 
            width="211" 
            height="20"
            onclick="action(load1);"
            />


<!--
   	 <plugin name="text3" url="plugins/CoolCellsarea.swf" zorder="1" origin="leftbottom" edge="center" x="170"  y="110" alpha="0.85" handcursor="false" 
            width="250" 
            height="20"
            onclick="action(load1);"
            />
-->

    
    <!-- actions -->
    
    <action name="startloading">
    	set(hotspot.visible,false);
    	push(view.fovmin);
    	set(view.fovmin,1);
    </action>
    
    <action name="loadingdone">
    	pop(view.fovmin);
    	set(hotspot.visible,true);
    </action>

    
    <action name="lookinterrupt">
    	action(loadingdone);
    	breakall();	
    </action>    
      
    <action name="load1">
    	set(plugin[spotx].x,293);
    	set(plugin[spotx].y,87);
    	set(plugin[radar].x,293);
    	set(plugin[radar].y,87);
	loadpano(9.xml,null,KEEPALL,BLEND(2));
	set(radar.heading,10);
    </action>
    
    <action name="load2">
    	set(plugin[spotx].x,165);
    	set(plugin[spotx].y,71);
    	set(plugin[radar].x,165);
    	set(plugin[radar].y,71);
    	loadpano(2.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,2);
    </action>
    
    <action name="load3">
    	set(plugin[spotx].x,135);
    	set(plugin[spotx].y,73);
    	set(plugin[radar].x,135);
    	set(plugin[radar].y,73);
    	loadpano(3.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,180);
    </action>
    
    <action name="load4">
    	set(plugin[spotx].x,96);
    	set(plugin[spotx].y,101);
    	set(plugin[radar].x,96);
    	set(plugin[radar].y,101);
    	set(radar.heading,270);
    	loadpano(4.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,98);
    </action>
     <action name="load5">
    	set(plugin[spotx].x,96);
    	set(plugin[spotx].y,101);
    	set(plugin[radar].x,96);
    	set(plugin[radar].y,101);
    	set(radar.heading,270);
    	loadpano(5.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,98);
    </action>
    <action name="load6">
    	set(plugin[spotx].x,96);
    	set(plugin[spotx].y,101);
    	set(plugin[radar].x,96);
    	set(plugin[radar].y,101);
    	set(radar.heading,270);
    	loadpano(6.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,98);
    </action>

     <action name="load7">
    	set(plugin[spotx].x,96);
    	set(plugin[spotx].y,101);
    	set(plugin[radar].x,96);
    	set(plugin[radar].y,101);
    	set(radar.heading,270);
    	loadpano(7.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,98);
    </action>
	
	<action name="load8">
    	set(plugin[spotx].x,0);
    	set(plugin[spotx].y,0);
    	set(plugin[radar].x,0);
    	set(plugin[radar].y,0);
    	set(radar.heading,0);
    	loadpano(8.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,98);
    </action>

     <action name="load9">
    	set(plugin[spotx].x,96);
    	set(plugin[spotx].y,101);
    	set(plugin[radar].x,96);
    	set(plugin[radar].y,101);
    	set(radar.heading,270);
    	loadpano(1.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,98);
    </action>
        
     <action name="load10">
    	set(plugin[spotx].x,96);
    	set(plugin[spotx].y,101);
    	set(plugin[radar].x,96);
    	set(plugin[radar].y,101);
    	set(radar.heading,270);
    	loadpano(10.xml,null,KEEPALL,BLEND(2));
    	set(radar.heading,98);
    </action>

  	<action name="showspots">
  		set(plugin[spot1].alpha,0);
    	set(plugin[spot2].alpha,0);
    	set(plugin[spot3].alpha,0);
    	set(plugin[spot4].alpha,0);
    	set(plugin[spotx].alpha,0);
    	set(plugin[radar].alpha,0);
	set(plugin[spot5].alpha,0);
    	set(plugin[spot6].alpha,0);
    	set(plugin[spot7].alpha,0);
	set(plugin[spot8].alpha,0);
    	set(plugin[spot9].alpha,0);
    	
  		
    	set(plugin[spot1].visible,true);
    	set(plugin[spot2].visible,true);
    	set(plugin[spot3].visible,true);
    	set(plugin[spot4].visible,true);
	set(plugin[spot5].alpha,0);
    	set(plugin[spot6].alpha,0);
    	set(plugin[spot7].alpha,0);
	set(plugin[spot8].alpha,0);
    	set(plugin[spot9].alpha,0);
    	set(plugin[spotx].visible,true);
    	set(plugin[radar].visible,true);
    	
    	tween(plugin[spot1].alpha,1);
    	tween(plugin[spot2].alpha,1);
    	tween(plugin[spot3].alpha,1);
    	tween(plugin[spot4].alpha,1);
	tween(plugin[spot5].alpha,1);
    	tween(plugin[spot6].alpha,1);
    	tween(plugin[spot7].alpha,1);
    	tween(plugin[spot8].alpha,1);
	tween(plugin[spot9].alpha,1);
    	tween(plugin[spotx].alpha,1);
    	tween(plugin[radar].alpha,1);
    </action>
    
    <action name="hidespots">
    	set(plugin[spot1].visible,false);
    	set(plugin[spot2].visible,false);
    	set(plugin[spot3].visible,false);
    	set(plugin[spot4].visible,false);
	set(plugin[spot5].visible,false);
    	set(plugin[spot6].visible,false);
    	set(plugin[spot7].visible,false);
    	set(plugin[spot8].visible,false);
	set(plugin[spot9].visible,false);
    	set(plugin[spotx].visible,false);
    	set(plugin[radar].visible,false);
    </action>
    
</krpano>

