<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19-pr16">

    
  <!-- Spot Style - media museum -->


  <style name="Iconmediamuseum"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint1.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - college -->


  <style name="Iconcollege"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint2.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - ice -->


  <style name="Iconice"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint3.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - little germany -->


  <style name="Iconlittlegermany"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint4.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - godwin -->


  <style name="Icongodwin"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint5.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - city park -->


  <style name="Iconcitypark"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint6.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - town hall -->


  <style name="Icontownhall"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint7.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - manor row -->


  <style name="Iconmanorrow"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint8.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - foster square -->


  <style name="Iconfostersquare"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint9.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - great vic -->


  <style name="Icongreatvic"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint10.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - broadway -->


  <style name="Iconbroadway"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint11.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - interchange 2 -->


  <style name="Iconinterchange2"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint14.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - alhambra -->


  <style name="Iconalhambra"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint15.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - hall ings -->


  <style name="Iconhallings"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint16.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - interchange  -->


  <style name="Iconinterchange"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint17.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - foster square passage -->


  <style name="Iconfostersquarepassage"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint18.png"
         visible="false"
         edge="center"
         onloaded="showPermanentTooltip(std);"


         />



    
  <!-- Spot Style - police info -->


  <style name="Iconpoliceinfo"
         url="%FIRSTXML%/spots/hotspot_neutral_user_defaultpoint0.png"
         visible="false"
         edge="center"
         onhover="onhoverIconpoliceinfo"
         onout="onoutIconpoliceinfo"


         />
  <action name="onhoverIconpoliceinfo">
    showtooltip('hotspot');
  </action>
  <action name="onoutIconpoliceinfo">
    hideTooltip();



  </action>


 <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots --> <!-- id : cool_hotspot --> <!-- ********** -->    <include url="%FIRSTXML%/graphics/coolhotspots.xml"/>        <style 	cooltype="customicon"  	name="media museum" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspotcustomicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspotcustomicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspotcustomicon"  	           url="%FIRSTXML%/graphics/360imageshotspots/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspotcustomicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots/_5.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots1 --> <!-- id : cool_hotspot1 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="ice" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot1customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot1customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot1customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots1/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot1customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots1/_6.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots2 --> <!-- id : cool_hotspot2 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="college" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot2customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot2customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot2customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots2/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot2customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots2/_7.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots3 --> <!-- id : cool_hotspot3 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="alhambra" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot3customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot3customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot3customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots3/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot3customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots3/_8.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots4 --> <!-- id : cool_hotspot4 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="godwin" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot4customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot4customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot4customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots4/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot4customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots4/_9.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots5 --> <!-- id : cool_hotspot5 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="city park" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot5customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot5customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot5customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots5/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot5customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots5/_10.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots6 --> <!-- id : cool_hotspot6 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="town hall" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot6customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot6customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot6customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots6/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot6customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots6/_11.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots7 --> <!-- id : cool_hotspot7 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="manor row" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot7customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot7customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot7customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots7/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot7customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots7/_12.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots8 --> <!-- id : cool_hotspot8 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="foster square" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot8customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot8customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot8customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots8/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot8customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots8/_13.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots9 --> <!-- id : cool_hotspot9 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="little germany" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot9customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot9customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot9customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots9/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot9customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots9/_14.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots10 --> <!-- id : cool_hotspot10 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="broadway" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot10customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot10customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot10customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots10/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot10customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots10/_15.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots11 --> <!-- id : cool_hotspot11 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="great vic" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot11customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot11customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot11customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots11/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot11customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots11/_16.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots12 --> <!-- id : cool_hotspot12 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="interchange" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot12customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot12customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot12customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots12/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot12customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots12/_17.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots13 --> <!-- id : cool_hotspot13 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="interchange 1" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot13customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot13customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot13customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots13/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot13customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots13/_3.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots14 --> <!-- id : cool_hotspot14 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="interchange 2" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot14customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot14customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot14customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots14/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot14customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots14/_4.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots15 --> <!-- id : cool_hotspot15 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="hall ings" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot15customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot15customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot15customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots15/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot15customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots15/_2.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots16 --> <!-- id : cool_hotspot16 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="interchange" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot16customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot16customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot16customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots16/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot16customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots16/_17.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />   <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- CoOL Hotspots17 --> <!-- id : cool_hotspot17 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="foster square passage" 	type="container"  	width="0"  	height="80"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="center" 	ttedge="top" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot17customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot17customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot17customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots17/baloon.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot17customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots17/_18.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />  
<!-- ********** -->
<!-- Double Click -->
<!-- id : doubleclick -->
<!-- ********** -->
  <events name="doubleclick_events" keep="true" ondoubleclick="doubleclick_ondoubleclick"/>
  <action name="doubleclick_ondoubleclick">switchFullscreen();


  </action>
<!-- ********* -->
<!-- Gyroscope -->
<!-- ********* -->


<plugin name="gyroscope"
        url="%FIRSTXML%/graphics/gyro2.js"
        keep="true"
        devices="no-desktop.and.html5"

        onunavailable="checkGyroUnavailable();"
        sensor_mode="1"
        friction="auto"
        autocalibration="true"
        touch_mode="full"
        onavailable="delayedcall(1, checkGyroAvailability(););"
        enabled="false"
        activated="false"
        />

<events name="gyroscopeEvents" onnewpano="planarGyroscopeTest();" keep="true" />

<action name="planarGyroscopeTest">
  if(plugin[gyroscope],
    if(scene[get(xml.scene)].full360,
      set(sceneisfull360, false);
      sub(viewhfov, panoview.hmax, panoview.hmin);
      if (viewhfov == 360,
        sub(viewvfov, panoview.vmax, panoview.vmin);
        if (viewvfov == 180,
          set(sceneisfull360, true);
        );
      );
      if (sceneisfull360,
        set(plugin[gyroscope].camroll, true);
      ,
        set(plugin[gyroscope].camroll, false);
      );
    ,
      set(plugin[gyroscope].camroll, false);
    );
  );
</action>

<action name="changeGyroscopeState">
  if(plugin[gyroscope],
    if (plugin[gyroscope].isavailable,
      if(%1,
        set(plugin[gyroscope].activated,true);
      ,
        set(plugin[gyroscope].activated,false);
      );
      if (%1 != plugin[gyroscope].enabled,
        if(plugin[gyroscope].activated,
          switch(plugin[gyroscope].enabled);
        ,
          set(plugin[gyroscope].enabled, false);
        );
        if (plugin[gyroscope].enabled, events.dispatch(ongyroscopeon);, events.dispatch(ongyroscopeoff););
      );
    );
  );
</action>

<action name="checkGyroAvailability">
  if(plugin[gyroscope],
    if (plugin[gyroscope].isavailable,
      
      set(sceneisfull360, false);
      if (scene[get(xml.scene)].full360,
        sub(viewhfov, panoview.hmax, panoview.hmin);
        if (viewhfov == 360,
          sub(viewvfov, panoview.vmax, panoview.vmin);
          if (viewvfov == 180,
            set(sceneisfull360, true);
          );
        );
      );
      set(delaythegyrocheck, false);
      if (sceneisfull360 AND tour_firstlittleplanet, set(delaythegyrocheck, true));

      ifnot(delaythegyrocheck,
        switch(plugin[gyroscope].enabled);
        set(plugin[gyroscope].activated,true);
        set(tour_gyroscopedevices, true);
        events.dispatch(ongyroscopeavailable);
      ,
        delayedcall(1, checkGyroAvailability(););
      );
    ,
      set(tour_gyroscopedevices, false);
    );
    if (plugin[gyroscope].enabled, events.dispatch(ongyroscopeon);, events.dispatch(ongyroscopeoff););
  ,
    checkGyroUnavailable();
  );
</action>

<action name="checkGyroUnavailable">
  set(plugin[gyroscope].activated, false);
  set(plugin[gyroscope].enabled, false);
  set(tour_gyroscopedevices, false);
  events.dispatch(ongyroscopeunavailable);
</action>

<!-- ********** -->
<!-- Website Box -->
<!-- id : websiteViewer -->
<!-- ********** -->

<ptplugin name="websiteViewer" engine="kolorBox">
	<settings>
		<option name="position" value="center" type="string" />
		<option name="margin_x" value="0" type="int" />
		<option name="margin_y" value="0" type="int" />
		<option name="external_padding" value="15" type="int" />
		<option name="draggable_box" value="false" type="bool" />
		<option name="container_auto_size" value="true" type="bool" />
		<option name="container_width" value="100" type="int" />
		<option name="container_width_unit" value="percent" type="string" />
		<option name="container_height" value="100" type="int" />
		<option name="container_height_unit" value="percent" type="string" />
		<option name="container_color" value="ffffff" type="string" />
		<option name="container_alpha" value="0.80000000000000004" type="float" />
		<option name="container_topleft_border_radius" value="15" type="int" />
		<option name="container_topright_border_radius" value="15" type="int" />
		<option name="container_bottomleft_border_radius" value="15" type="int" />
		<option name="container_bottomright_border_radius" value="15" type="int" />
		<option name="container_border_width" value="0" type="int" />
		<option name="container_border_color" value="ffffff" type="string" />
		<option name="container_border_alpha" value="1" type="float" />
		<option name="overlay_displayed" value="false" type="bool" />
		<option name="overlay_color" value="000000" type="string" />
		<option name="overlay_alpha" value="0.50000762951094835" type="float" />

		<option name="title_displayed" value="false" type="bool" />
		<option name="title_position" value="top" type="string" />
		<option name="title_font" value="Verdana" type="string" />
		<option name="title_size" value="14" type="int" />
		<option name="title_weight" value="normal" type="string" />
		<option name="title_style" value="normal" type="string" />
		<option name="title_decoration" value="none" type="string" />
		<option name="title_color" value="000000" type="string" />
		<option name="caption_displayed" value="false" type="bool" />
		<option name="iframe_scrolling" value="auto" type="string" />
		<option name="iframe_default_width" value="1100" type="int" />
		<option name="iframe_default_height" value="800" type="int" />
		<option name="iframe_devices_width" value="1100" type="int" />
		<option name="iframe_devices_height" value="800" type="int" />
		<option name="force_ios_scrolling" value="true" type="bool" />
		<option name="fullscreen_displayed" value="true" type="bool" />
		<option name="fullscreen_position" value="topleft" type="string" />
		<option name="fullscreen_text" value="websiteViewerfullscreen_text" type="string" />




		<option name="close_displayed" value="true" type="bool" />
		<option name="close_position" value="topright" type="string" />
		<option name="close_text" value="websiteViewerclose_text" type="string" />

		<option name="close_callback" value="invokeKrFunction('closeKolorBoxCallback_websiteViewer')" type="string" />
		<option name="zorder" value="21" type="int" />
		<option name="use_i18n" value="true" type="bool" />
	</settings>
	<internaldata>
		
	</internaldata>
</ptplugin>

<action name="kolorBoxJsReady_websiteViewer">
	set(ptplugin[websiteViewer].jsready, true);
</action>

<action name="openWebsite_websiteViewer">
	ifnot(ptplugin[websiteViewer].isOpen,
		set(ptplugin[websiteViewer].isOpen, true);
		set(ptplugin[websiteViewer].doNotDeleteMe, false);
		getmessage(websiteViewer_boxurl, %1);
		txtadd(websiteViewer_boxurl, ?iframe=true);
		pauseautorotation(forceplugin);

		js(invokePluginFunction(websiteViewer, loadSingleArrayItem, get(websiteViewer_boxurl), %2));
		events.dispatch(onremovedisplayedobject);
	,
		if('%1' != websiteViewer_boxurl,
			closeKolorBox_websiteViewer();
			delayedcall(0.3,openWebsite_websiteViewer(%1,%2););
		);
	);
</action>

<action name="toggleWebsite_websiteViewer">
	js(invokePluginFunction(websiteViewer, toggleKolorBox, %1));
</action>


<action name="closeKolorBox_websiteViewer">
	js(invokePluginFunction(websiteViewer, closeKolorBox));
</action>

<action name="closeKolorBoxCallback_websiteViewer">
	resumeautorotation(forceplugin);

	set(ptplugin[websiteViewer].isOpen, false);
</action>

<action name="changeLanguage_websiteViewer">
	if(ptplugin[websiteViewer].jsready,
		stopdelayedcall(delay_websiteViewer);
		js(invokePluginFunction(websiteViewer, changeLanguage));
	,
		delayedcall(delay_websiteViewer, 0.1, changeLanguage_websiteViewer(););
	);
</action>

<events name="kolorBoxEvents_websiteViewer" 
	keep="true"
	changetourlanguage="changeLanguage_websiteViewer();"
	/>
 <!-- ********** --> <!-- 360Images CoOL Hotspots Plugin --> <!-- police info --> <!-- id : cool_hotspot18 --> <!-- ********** -->          <style 	cooltype="customicon"  	name="police info" 	type="container"  	width="0"  	height="0"  	bgcolor="0xffffff" 	bgalpha="1"  	bgcapture="true"  	accuracy="1"  	edge="bottom"  	ttalign="top" 	ttedge="bottom" 	 	onover="hidebbhs();set(zorder,20);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 150)); 	); 	 	set(layer[get(mybubble_onover)].enabled,true); 	tween(layer[get(mybubble_onover)].alpha,1); 	set(layer[get(mybubble)].enabled,false); 	tween(layer[get(mybubble)].alpha,0); 	"  	  	onout="set(zorder,2);if(layer[get(permanentTooltipForSpot)].html, 	tween(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 	); 	 	set(layer[get(mybubble_onover)].enabled,false); 	tween(layer[get(mybubble_onover)].alpha,0); 	set(layer[get(mybubble)].enabled,true); 	tween(layer[get(mybubble)].alpha,1); 	 	"  	ondown.touch="onover();" 	 	onloaded=" 	txtadd(hotspot[get(name)].permanentTooltipForSpot, get(tooltip), '_permanent'); 	delayedcall(0.1, 	if(layer[get(permanentTooltipForSpot)].html, 		set(layer[get(permanentTooltipForSpot)].ox,0); 		set(layer[get(permanentTooltipForSpot)].oy,calc(-10 - 50)); 		); 	); 	 	txtadd(mybubble,'bubble',get(name)); 	addlayer(get(mybubble)); 	copy(hotspot[get(name)].mybubble,mybubble); 	layer[get(mybubble)].loadstyle(cool_hotspot18customicon); 	txtadd(parentlayer,'hotspot[',get(name),']'); 	copy(layer[get(mybubble)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble)].onclick,clickaction); 	 	 	txtadd(mybubble_onover,'bubble_onover',get(name)); 	addlayer(get(mybubble_onover)); 	copy(hotspot[get(name)].mybubble_onover,mybubble_onover); 	layer[get(mybubble_onover)].loadstyle(cool_hotspot18customicon_onover); 	copy(layer[get(mybubble_onover)].parent,parentlayer); 	 	txtadd(clickaction,'callwith(hotspot[',get(name),'],onclick)'); 	copy(layer[get(mybubble_onover)].onclick,clickaction); 	  " /> <style  	name="cool_hotspot18customicon"  	           url="%FIRSTXML%/graphics/360imageshotspots18/icon_info.png"                      	align="top" 	edge="bottom"  	ondown.touch="callwith(get(parent),onover);" /> <style  	name="cool_hotspot18customicon_onover"  	           url="%FIRSTXML%/graphics/360imageshotspots18/police_info.png"                      	align="top" 	edge="bottom"  	alpha="0" 	enabled="false" />  
<!--	Plugin: DeviceCheck V1.5
	Author: Michael Brüning | Web: http://dev.compunics.com.ni/ | Mail: <M.Bruening@compunics.com.ni>
	Tested with: V2.5.9 on Linux
-->


<!-- Set DevCheckVars according to the enabled plugin-feature-list -->
<krpano Picture_DevCheck_DeviceCheck="true" devices="|mobile" />



<action name="Init_DeviceCheck" autorun="preinit">
if(debug, showlog(); );
	if( true,
		set( pic_instance_DeviceCheck, 'pictureevents' );
		if( Picture_DevCheck_DeviceCheck,
			Hide_Pic_DeviceCheck( get(pic_instance_DeviceCheck) );
		);
	);
	if( '1' != '',
		txtsplit('1', ',', A_PicInstances );
		for( set(i,0), i LT A_PicInstances.count, inc(i),
			if( Picture_DevCheck_DeviceCheck,
				txtadd( pic_instance_DeviceCheck, 'picture', get(A_PicInstances[get(i)].value), 'events' );
				Hide_Pic_DeviceCheck( get(pic_instance_DeviceCheck ));
			);
		);
	);

</action>

<!-- Actions for multi-instance-plugins -->
<action name="Hide_Btn_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
</action>
<action name="Hide_ToggleBtn_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
</action>
<action name="Hide_PSpecBtn_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
	set( events[%1].onPanoStart, '' );
</action>
<action name="Hide_PSpecToggleBtn_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
	set( events[%1].onPanoStart, '' );
</action>
<action name="Hide_Desc_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].onshowtourinfo, '' );
	set( events[%1].showtourcontrols, '' );
	set( events[%1].changetourlanguage, '' );
</action>
<action name="Hide_Title_DeviceCheck">
	set( events[%1].onnewpano, '' );
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
	set( events[%1].changetourlanguage, '' );
</action>
<action name="Hide_pMenu_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].changetourlanguage, '' );
</action>
<action name="Hide_Pic_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
</action>
<action name="Hide_Logo_DeviceCheck">
	set( events[%1].onTourStart, '' );
</action>
<action name="Hide_CBox_DeviceCheck">
	set(events[%1_kr_xml_plugin_events].name, null);
	set(action[%1_kr_addComboboxLayer].content, '');
	set(action[%1_kr_removeComboboxLayer].content, '');
</action>
<action name="Hide_ColArea_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
</action>
<action name="Hide_header_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
</action>
<action name="Hide_footer_DeviceCheck">
	set( events[%1].onTourStart, '' );
	set( events[%1].showtourcontrols, '' );
</action>

<!-- ********** -->
<!-- Context menu -->
<!-- id : contextmenu -->
<!-- ********** -->
  <contextmenu fullscreen="false" versioninfo="false" touch="true">
    <item name="normal"        onclick="setViewNormal();
" separator="true"/>
    <item name="fullscreenentry" onclick="enterFullscreen();
" separator="true"/>
  </contextmenu>

  <events name="contextmenuevents" keep="true" 
    onenterfullscreen="updateContextMenu" onexitfullscreen="updateContextMenu" 
    onxmlcomplete="updateContextMenu" 
    changetourlanguage="updateContextMenu" 
    />
  <events name="contextmenuvrevents" keep="true" 
    onvravailable="updateContextMenu();" onvrunavailable="updateContextMenu();"
    devices="html5"
    />
  <action name="updateContextMenu">
    getmessage(contextmenu.item[normal].caption, contextmenunormallabel);
    set(sceneisfull360, false);
    if(scene[get(xml.scene)].full360,
      sub(viewhfov, panoview.hmax, panoview.hmin);
      if (viewhfov == 360,
        sub(viewvfov, panoview.vmax, panoview.vmin);
        if (viewvfov == 180,
          set(sceneisfull360, true);
        );
      );
    );
    if (sceneisfull360 AND (device.webgl OR device.flash),
    ,
    );
    if (device.fullscreensupport,
      if(tour_fullscreen,
        getmessage(contextmenu.item[fullscreenentry].caption, contextmenucloseFsLabel);
        set(contextmenu.item[fullscreenentry].onclick, exitFullscreen();
);
       ,
        getmessage(contextmenu.item[fullscreenentry].caption, contextmenuopenFsLabel);
        set(contextmenu.item[fullscreenentry].onclick, enterFullscreen();
);
      );
     ,
      set(contextmenu.item[fullscreenentry].visible, false);
    );
  </action>

<action name="setViewNormal">
	stopSetViewTweens();
	if(current_view_isflat === true,
		setViewNonFlat(VFOV);
	);
	setViewNormalComplete();
</action>

<action name="setViewNormalComplete">
	set(view.fisheyefovlink, 0.5);
	set(view.fovmax, get(panoview.fovmax));
	tween(view.architectural, 0.0, distance(1.0, 0.45));
	tween(view.pannini, 0.0, distance(1.0, 0.45), easeOutQuad, if(panniniViewActivated,restoreViewFromPannini();););
	tween(view.vlookat, get(panoview.v), distance(90, 0.45));
	tween(view.fov, get(panoview.fov), distance(50, 0.45));
	tween(view.fisheye, 0.0, distance(1.0, 0.45),
		set(view.stereographic,false);
	);
</action>

<krpano normalViewActivated="true" />
<action name="stopSetViewTweens">
	stoptween(view.fov);
	stoptween(view.vlookat);
	stoptween(view.fisheye);
	stoptween(view.architectural);
	stoptween(view.pannini);
</action>

  <!-- Fullscreen Management -->
  <action name="exitFullScreen" devices="fullscreensupport">set(tour_fullscreen,false);js(setFullscreen(false));</action>
  <action name="enterFullScreen" devices="fullscreensupport">set(tour_fullscreen,true);js(setFullscreen(true));</action>
  <action name="switchFullScreen">if(tour_fullscreen,exitFullScreen();,enterFullScreen(););</action>

  
  <events name="krpanoExitFullscreenEvent"
    onexitfullscreen="if(tour_fullscreen,exitFullScreenChangeEvent(););"
    keep="true" />

  <action name="exitFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,false);events.dispatch(onexitfullscreen);</action>
  <action name="enterFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,true);events.dispatch(onenterfullscreen);</action>
  <action name="exitFullScreenFallback">set(fullscreen,false);</action>
  <action name="enterFullScreenFallback">set(fullscreen,true);</action>
  
  <action name="resizeFullScreenEvent">delayedcall(0,updatescreen(););</action>

</krpano>