<?xml version="1.0"?>
<krpano version="1.0.8" onstart="action(start_tour); " showerrors="false">



	<action name="start_tour">
		set(sceneNo,0);
		set(autopre,0);
		loadscene(sc_101440_newlivingroom, null, MERGE); 
		loadscene(sc_101440_newlivingroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 90, 68, 0);
		set(glst_auto_rotate, true); 
		action(move_radar, 90, 68, 0);
		action(act_floor_plan_show);
	</action>

	<autorotate enabled="true" waittime="2.0" speed="2" horizon="0"/>
	<plugin name="pi_rotate" url="assets/resume-rotation2.png" align="leftbottom" x="510" y="10" width="120" height="30" keep="true" enabled="true" onhover="showtext(Autorotate on/off);" onclick="switch(autorotate.enabled);switch(glst_auto_rotate);"/>
	<plugin name="auto-button" url="assets/cycle_red.png" onclick="action(autospin)" align="rightbottom" x="170" y="15" width="40" height="40" keep="true" alpha="0.75" blendmode="normal" onhover="showtext(Auto-Transition OFF);"/>
                      <action name="nextautoscene">
                                if(sceneNo LE 2, inc(sceneNo), set(sceneNo, 0));
                                if(sceneNo == 0, set(sceneNo, 1));
                                oninterrupt(break);
                                if(sceneNo == 1, if(autopre == 1, action(loadnext,sc_101441_newbathroom)));
if(sceneNo == 2, if(autopre == 1, action(loadnext,sc_101442_newmasterbedroom)));
if(sceneNo == 3, if(autopre == 1, action(loadnext,sc_101440_newlivingroom)));

                     </action>
                     <action name="loadnext">
                              if(autopre == 1, loadscene(%1, null, MERGE, BLEND(1)));
                              moveto(10,0,smooth(10));
                              copy(cur_hlookat,view.hlookat);
                              if(autopre == 1, action(checkhlookat1))
                     </action>
                        <!--action that starts / stops autopresentation -->
                        <action name="autospin">
                            if(autopre == 0,
                                    set(autopre, 1);
                                    set(plugin[auto-button].url,http://www.vpix.net/assets/cycle_green.png);
                                    set(plugin[auto-button].onhover, showtext(Auto-Transition ON));
                                    action(checkhlookat1);
                            ,
                                    set(autopre,0);
                                    set(plugin[auto-button].url,http://www.vpix.net/assets/cycle_red.png);
                                    set(plugin[auto-button].onhover, showtext(Auto-Transition OFF));
                                    breakall();
                            );
                        </action>
                        <action name="checkhlookat1">
                                delayedcall(1,
                                copy(cur_hlookat,view.hlookat);
                                        if( cur_hlookat GE 360 ,
                                                set(cur_hlookat, 0);
                                                action(nextautoscene);
                                        ,
                                        if(autopre == 1, action(checkhlookat2));
                                        );
                                );
                        </action>
                        <action name="checkhlookat2">
                                delayedcall(1,
                                copy(cur_hlookat,view.hlookat);
                                        if( cur_hlookat GE 360 ,
                                                set(cur_hlookat, 0);
                                                action(nextautoscene);
                                        ,
                                        if(autopre == 1, action(checkhlookat1));
                                        );
                                );
                        </action>


	<textstyle name="fs_helvetica" font="Helvetica" fontsize="22" bold="true" italic="false" background="false" border="false" textcolor="0xFFFFFF" alpha="1" yoffset="25" edge="top" blendmode="normal" effect="glow(0xFFFFFF, 0.45, 1, 50);dropshadow(2, 45, 0x010101, 2, 55);"/>
	<textstyle name="default" font="Arial" fontsize="11" bold="true" italic="false" textcolor="0xFFFFFF" alpha="1" blendmode="normal" background="true" backgroundcolor="0x666666" border="true" bordercolor="0xFFFFFF"/>
	<scene name="sc_101440_newlivingroom" title="newlivingroom" thumburl="panos/cmreclubviewlane103815/101440_newlivingroom_thumb.jpg" onstart="" url="%CURRENTXML%panos/cmreclubviewlane103815/101440_newlivingroom_thumb.jpg">
	<view hlookat="-330.8941357066255" vlookat="4.121504015566849" fovtype="MFOV" fov="114" fovmin="45" fovmax="135" limitview="auto"/>
	<preview url="101440_newlivingroom.tiles/preview.jpg"/>
	<image type="CUBE" multires="true" tilesize="955" progressive="false">
		<level tiledimagewidth="1910" tiledimageheight="1910">
			<left url="101440_newlivingroom.tiles/l2_l_%0v_%0h.jpg"/>
			<front url="101440_newlivingroom.tiles/l2_f_%0v_%0h.jpg"/>
			<right url="101440_newlivingroom.tiles/l2_r_%0v_%0h.jpg"/>
			<back url="101440_newlivingroom.tiles/l2_b_%0v_%0h.jpg"/>
			<up url="101440_newlivingroom.tiles/l2_u_%0v_%0h.jpg"/>
			<down url="101440_newlivingroom.tiles/l2_d_%0v_%0h.jpg"/>
		</level>
		<level tiledimagewidth="955" tiledimageheight="955">
			<left url="101440_newlivingroom.tiles/l1_l_%0v_%0h.jpg"/>
			<front url="101440_newlivingroom.tiles/l1_f_%0v_%0h.jpg"/>
			<right url="101440_newlivingroom.tiles/l1_r_%0v_%0h.jpg"/>
			<back url="101440_newlivingroom.tiles/l1_b_%0v_%0h.jpg"/>
			<up url="101440_newlivingroom.tiles/l1_u_%0v_%0h.jpg"/>
			<down url="101440_newlivingroom.tiles/l1_d_%0v_%0h.jpg"/>
		</level>
		<mobile>
			<left url="101440_newlivingroom.tiles/mobile_l.jpg"/>
			<front url="101440_newlivingroom.tiles/mobile_f.jpg"/>
			<right url="101440_newlivingroom.tiles/mobile_r.jpg"/>
			<back url="101440_newlivingroom.tiles/mobile_b.jpg"/>
			<up url="101440_newlivingroom.tiles/mobile_u.jpg"/>
			<down url="101440_newlivingroom.tiles/mobile_d.jpg"/>
		</mobile>
		<tablet>
			<left url="101440_newlivingroom.tiles/tablet_l.jpg"/>
			<front url="101440_newlivingroom.tiles/tablet_f.jpg"/>
			<right url="101440_newlivingroom.tiles/tablet_r.jpg"/>
			<back url="101440_newlivingroom.tiles/tablet_b.jpg"/>
			<up url="101440_newlivingroom.tiles/tablet_u.jpg"/>
			<down url="101440_newlivingroom.tiles/tablet_d.jpg"/>
		</tablet>
	</image>
	<events onloadcomplete="js(on_load_complete(););"/>
		<hotspot name="hs_101441_newbathroom" url="hotspots/452_1350586164.png" ath="-35.35197516165874" atv="-1.3254916338918992" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" imagewidth="60" imageheight="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Master Bathroom, fs_helvetica)" onclick="lookto(-35.35197516165874, get(view.vlookat), get(view.fov));loadscene(sc_101441_newbathroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 206, 114, 0);plugin[combobox].selectitem(Master Bathroom);loadscene(sc_101441_newbathroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 206, 114, 0);"/>
		<hotspot name="hs_101442_newmasterbedroom" url="hotspots/452_1350586164.png" ath="-35.53992187656203" atv="5.517177295731814" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" imagewidth="60" imageheight="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Master Bedroom, fs_helvetica)" onclick="lookto(-35.53992187656203, get(view.vlookat), get(view.fov));loadscene(sc_101442_newmasterbedroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 198, 68, 88);plugin[combobox].selectitem(Master Bedroom);loadscene(sc_101442_newmasterbedroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 198, 68, 88);"/>
		<hotspot name="ihs_13544_1" url="hotspots/452_1350508548.png" ath="-61.15512065115797" atv="6.0157322159642455" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Back Porch, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13544_1 , 640, 246); "/>
		<hotspot name="ihs_13546_1" url="hotspots/452_1350508548.png" ath="-9.352058353249035" atv="5.000466763640772" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Cabinets, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13546_1 , 320, 480); "/>
		<hotspot name="ihs_13552_1" url="hotspots/452_1350508548.png" ath="42.40749160472504" atv="1.8760227085310965" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Kitchen Cabinets 2, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13552_1 , 640, 427); "/>
		<hotspot name="ihs_13548_1" url="hotspots/452_1350508548.png" ath="89.65135727431675" atv="5.306979972795375" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Full Foyer , fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13548_1 , 314, 480); "/>
		<hotspot name="ihs_13550_1" url="hotspots/452_1350508548.png" ath="68.27938241025231" atv="2.505061666162704" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Kitchen 1, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13550_1 , 640, 427); "/>
		<hotspot name="ihs_13551_1" url="hotspots/452_1350508548.png" ath="68.20198617643189" atv="9.909242832264617" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Kitchen 2, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13551_1 , 640, 427); "/>
	</scene>

	<scene name="sc_101441_newbathroom" title="newbathroom" thumburl="panos/cmreclubviewlane103815/101441_newbathroom_thumb.jpg" onstart="" url="%CURRENTXML%panos/cmreclubviewlane103815/101441_newbathroom_thumb.jpg">
	<view hlookat="-166.5535394704035" vlookat="9.771065191833044" fovtype="MFOV" fov="115" fovmin="45" fovmax="135" limitview="auto"/>
	<preview url="101441_newbathroom.tiles/preview.jpg"/>
	<image type="CUBE" multires="true" tilesize="955" progressive="false">
		<level tiledimagewidth="1910" tiledimageheight="1910">
			<left url="101441_newbathroom.tiles/l2_l_%0v_%0h.jpg"/>
			<front url="101441_newbathroom.tiles/l2_f_%0v_%0h.jpg"/>
			<right url="101441_newbathroom.tiles/l2_r_%0v_%0h.jpg"/>
			<back url="101441_newbathroom.tiles/l2_b_%0v_%0h.jpg"/>
			<up url="101441_newbathroom.tiles/l2_u_%0v_%0h.jpg"/>
			<down url="101441_newbathroom.tiles/l2_d_%0v_%0h.jpg"/>
		</level>
		<level tiledimagewidth="955" tiledimageheight="955">
			<left url="101441_newbathroom.tiles/l1_l_%0v_%0h.jpg"/>
			<front url="101441_newbathroom.tiles/l1_f_%0v_%0h.jpg"/>
			<right url="101441_newbathroom.tiles/l1_r_%0v_%0h.jpg"/>
			<back url="101441_newbathroom.tiles/l1_b_%0v_%0h.jpg"/>
			<up url="101441_newbathroom.tiles/l1_u_%0v_%0h.jpg"/>
			<down url="101441_newbathroom.tiles/l1_d_%0v_%0h.jpg"/>
		</level>
		<mobile>
			<left url="101441_newbathroom.tiles/mobile_l.jpg"/>
			<front url="101441_newbathroom.tiles/mobile_f.jpg"/>
			<right url="101441_newbathroom.tiles/mobile_r.jpg"/>
			<back url="101441_newbathroom.tiles/mobile_b.jpg"/>
			<up url="101441_newbathroom.tiles/mobile_u.jpg"/>
			<down url="101441_newbathroom.tiles/mobile_d.jpg"/>
		</mobile>
		<tablet>
			<left url="101441_newbathroom.tiles/tablet_l.jpg"/>
			<front url="101441_newbathroom.tiles/tablet_f.jpg"/>
			<right url="101441_newbathroom.tiles/tablet_r.jpg"/>
			<back url="101441_newbathroom.tiles/tablet_b.jpg"/>
			<up url="101441_newbathroom.tiles/tablet_u.jpg"/>
			<down url="101441_newbathroom.tiles/tablet_d.jpg"/>
		</tablet>
	</image>
	<events onloadcomplete="js(on_load_complete(););"/>
		<hotspot name="hs_101440_newlivingroom" url="hotspots/452_1350586164.png" ath="-88.60512469724705" atv="2.726912511422997" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" imagewidth="60" imageheight="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Living Room, fs_helvetica)" onclick="lookto(-88.60512469724705, get(view.vlookat), get(view.fov));loadscene(sc_101440_newlivingroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 90, 68, 0);plugin[combobox].selectitem(Living Room);loadscene(sc_101440_newlivingroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 90, 68, 0);"/>
		<hotspot name="hs_101442_newmasterbedroom" url="hotspots/452_1350586164.png" ath="-88.95767095721584" atv="9.962876047147228" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" imagewidth="60" imageheight="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Master Bedroom, fs_helvetica)" onclick="lookto(-88.95767095721584, get(view.vlookat), get(view.fov));loadscene(sc_101442_newmasterbedroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 198, 68, 88);plugin[combobox].selectitem(Master Bedroom);loadscene(sc_101442_newmasterbedroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 198, 68, 88);"/>
		<hotspot name="ihs_13548_1" url="hotspots/452_1350508548.png" ath="78.18602761091819" atv="7.986498502350157" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Full Foyer , fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13548_1 , 314, 480); "/>
	</scene>

	<scene name="sc_101442_newmasterbedroom" title="newmasterbedroom" thumburl="panos/cmreclubviewlane103815/101442_newmasterbedroom_thumb.jpg" onstart="" url="%CURRENTXML%panos/cmreclubviewlane103815/101442_newmasterbedroom_thumb.jpg">
	<view hlookat="-89.34207390993782" vlookat="15.761612078550305" fovtype="MFOV" fov="105" fovmin="45" fovmax="135" limitview="auto"/>
	<preview url="101442_newmasterbedroom.tiles/preview.jpg"/>
	<image type="CUBE" multires="true" tilesize="955" progressive="false">
		<level tiledimagewidth="1910" tiledimageheight="1910">
			<left url="101442_newmasterbedroom.tiles/l2_l_%0v_%0h.jpg"/>
			<front url="101442_newmasterbedroom.tiles/l2_f_%0v_%0h.jpg"/>
			<right url="101442_newmasterbedroom.tiles/l2_r_%0v_%0h.jpg"/>
			<back url="101442_newmasterbedroom.tiles/l2_b_%0v_%0h.jpg"/>
			<up url="101442_newmasterbedroom.tiles/l2_u_%0v_%0h.jpg"/>
			<down url="101442_newmasterbedroom.tiles/l2_d_%0v_%0h.jpg"/>
		</level>
		<level tiledimagewidth="955" tiledimageheight="955">
			<left url="101442_newmasterbedroom.tiles/l1_l_%0v_%0h.jpg"/>
			<front url="101442_newmasterbedroom.tiles/l1_f_%0v_%0h.jpg"/>
			<right url="101442_newmasterbedroom.tiles/l1_r_%0v_%0h.jpg"/>
			<back url="101442_newmasterbedroom.tiles/l1_b_%0v_%0h.jpg"/>
			<up url="101442_newmasterbedroom.tiles/l1_u_%0v_%0h.jpg"/>
			<down url="101442_newmasterbedroom.tiles/l1_d_%0v_%0h.jpg"/>
		</level>
		<mobile>
			<left url="101442_newmasterbedroom.tiles/mobile_l.jpg"/>
			<front url="101442_newmasterbedroom.tiles/mobile_f.jpg"/>
			<right url="101442_newmasterbedroom.tiles/mobile_r.jpg"/>
			<back url="101442_newmasterbedroom.tiles/mobile_b.jpg"/>
			<up url="101442_newmasterbedroom.tiles/mobile_u.jpg"/>
			<down url="101442_newmasterbedroom.tiles/mobile_d.jpg"/>
		</mobile>
		<tablet>
			<left url="101442_newmasterbedroom.tiles/tablet_l.jpg"/>
			<front url="101442_newmasterbedroom.tiles/tablet_f.jpg"/>
			<right url="101442_newmasterbedroom.tiles/tablet_r.jpg"/>
			<back url="101442_newmasterbedroom.tiles/tablet_b.jpg"/>
			<up url="101442_newmasterbedroom.tiles/tablet_u.jpg"/>
			<down url="101442_newmasterbedroom.tiles/tablet_d.jpg"/>
		</tablet>
	</image>
	<events onloadcomplete="js(on_load_complete(););"/>
		<hotspot name="hs_101440_newlivingroom" url="hotspots/452_1350586164.png" ath="138.59364357990344" atv="8.629632844755992" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" imagewidth="60" imageheight="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Living Room, fs_helvetica)" onclick="lookto(138.59364357990344, get(view.vlookat), get(view.fov));loadscene(sc_101440_newlivingroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 90, 68, 0);plugin[combobox].selectitem(Living Room);loadscene(sc_101440_newlivingroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 90, 68, 0);"/>
		<hotspot name="hs_101441_newbathroom" url="hotspots/452_1350586164.png" ath="-38.45034503626073" atv="6.169250587668762" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" imagewidth="60" imageheight="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Master Bathroom, fs_helvetica)" onclick="lookto(-38.45034503626073, get(view.vlookat), get(view.fov));loadscene(sc_101441_newbathroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 206, 114, 0);plugin[combobox].selectitem(Master Bathroom);loadscene(sc_101441_newbathroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 206, 114, 0);"/>
		<hotspot name="ihs_13544_1" url="hotspots/452_1350508548.png" ath="129.23197334307946" atv="8.08217921949114" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Back Porch, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13544_1 , 640, 246); "/>
		<hotspot name="ihs_13554_1" url="hotspots/452_1350508548.png" ath="-38.399481914103376" atv="19.535880330300895" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Master Bath 2, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13554_1 , 320, 480); "/>
		<hotspot name="ihs_13553_1" url="hotspots/452_1350508548.png" ath="-38.45587970979173" atv="13.279817324540826" scale="0.8" zoom="true" alpha="0.8" width="60" height="60" onover="tween(alpha,1);tween(scale,1);" onout="tween(alpha,0.8);tween(scale,0.8);" onhover="showtext(Master Bath, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_13553_1 , 640, 427); "/>
	</scene>

	<action name="act_show_hide_tools"> 
		switch(plugin[pi_up].visible); 
		switch(plugin[pi_down].visible); 
		switch(plugin[pi_left].visible); 
		switch(plugin[pi_right].visible); 
		switch(plugin[pi_zoomin].visible); 
		switch(plugin[pi_zoomout].visible); 
		switch(plugin[pi_getinfo].visible); 
		switch(plugin[pi_rotate].visible); 
		switch(plugin[pi_logo].visible); 
		switch(plugin[pi_floorplan].visible); 
		switch(plugin[pi_fp_radar].visible); 
		switch(plugin[pi_show_plan].visible); 
		switch(plugin[pi_hide_plan].visible); 
		switch(plugin[combobox].visible); 
		switch(plugin[pi_show_map].visible); 
		switch(plugin[pi_hide_gmap].visible); 
		switch(plugin[gmaps].visible); 
		switch(plugin[br_top].visible); 
		switch(plugin[br_bot].visible); 
		switch(plugin[br_right].visible); 
		switch(plugin[pi_tour_link_holder].visible); 
		switch(plugin[pi_show_tools].visible); 
              switch(plugin[pi_hide_tools].visible); 
      if(fullscreen, set(plugin[pi_embed_share].visible, false) , switch(plugin[pi_embed_share].visible)); 
      if(fullscreen, set(plugin[pi_audio_on].visible, false) , switch(plugin[pi_audio_on].visible)); 
      if(fullscreen, set(plugin[pi_audio_off].visible, false) , switch(plugin[pi_audio_off].visible)); 
      if(fullscreen, set(plugin[pi_slide_show].visible, false) , switch(plugin[pi_slide_show].visible)); 
      if(fullscreen, set(plugin[pi_hide_tools].visible, false)); 
      if(fullscreen, set(plugin[pi_show_tools].visible, false)); 
	</action>
	<plugin name="pi_full_screen" url="assets/full-screen2.png" align="leftbottom" x="135" y="10" width="120" height="30" enabled="true" keep="true" visible="true" onhover="showtext(Full screen);" onclick="switch(fullscreen); "/>

	<plugin name="pi_hide_tools" url="assets/hide-tools2.png" align="leftbottom" x="385" y="10" width="120" height="30" enabled="true" keep="true" visible="true" onhover="showtext(Hide controls);" onclick="action(act_show_hide_tools);"/>
	<plugin name="pi_show_tools" url="assets/show-tools2.png" align="leftbottom" x="385" y="10" width="120" height="30" enabled="true" keep="true" visible="false" onhover="showtext(Show controls);" onclick="action(act_show_hide_tools);"/>
	<events onenterfullscreen="action(fullscreen_plugin_disable)" onexitfullscreen="action(fullscreen_plugin_enable)"> 
	</events>
	<action name="fullscreen_plugin_disable"> 
           set(plugin[pi_embed_share].visible, false); 
           set(plugin[pi_audio_on].visible, false);
           set(plugin[pi_audio_off].visible, false);
           set(plugin[pi_slide_show].visible, false);
           set(plugin[pi_hide_tools].visible, false);
           set(plugin[pi_show_tools].visible, false);
	</action>
	<action name="fullscreen_plugin_enable"> 
           set(plugin[pi_embed_share].visible, true); 
           set(plugin[pi_audio_on].visible, true);
           set(plugin[pi_audio_off].visible, true);
           set(plugin[pi_slide_show].visible, true);
           set(plugin[pi_hide_tools].visible, true);
		set(plugin[pi_up].visible, true); 
		set(plugin[pi_down].visible, true); 
		set(plugin[pi_left].visible, true); 
		set(plugin[pi_right].visible, true); 
		set(plugin[pi_zoomin].visible, true); 
		set(plugin[pi_zoomout].visible, true); 
		set(plugin[pi_getinfo].visible, true); 
		set(plugin[pi_rotate].visible, true); 
		set(plugin[pi_logo].visible, true); 
		set(plugin[pi_floorplan].visible, true); 
		set(plugin[pi_fp_radar].visible, true); 
		set(plugin[pi_show_plan].visible, true); 
		set(plugin[pi_hide_plan].visible, true); 
		set(plugin[combobox].visible, true); 
		set(plugin[pi_show_map].visible, true); 
		set(plugin[pi_hide_gmap].visible, true); 
		set(plugin[gmaps].visible, true); 
		set(plugin[br_top].visible, true); 
		set(plugin[br_bot].visible, true); 
		set(plugin[br_right].visible, true); 
		set(plugin[pi_audio_on].visible, true); 
		set(plugin[pi_audio_off].visible, true); 
		set(plugin[pi_tour_link_holder].visible, true); 
	</action>
      <plugin name="gyro" url="plugins/gyro.js" alturl="plugins/gyro.js" keep="true" devices="html5" enabled="true" camroll="false" friction="0.5" velastic="0"/>

	<style name="style_button" keep="true" align="rightbottom" url="assets/directionals-red2.png" blendmode="normal" alpha="0.35" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.35);"/> 
	<plugin name="pi_up" style="style_button" x="90" y="70" crop="38|0|50|50" width="44" height="44" ondown="set(movevectory, -1);" onup="set(movevectory, 0);"/> 
	<plugin name="pi_down" style="style_button" x="90" y="10" crop="38|84|50|50" width="44" height="44" ondown="set(movevectory, +1);" onup="set(movevectory, 0);"/> 
	<plugin name="pi_left" style="style_button" x="120" y="45" crop="0|38|46|48" width="40" height="40" ondown="set(movevectorx, -1);" onup="set(movevectorx, 0);"/> 
	<plugin name="pi_right" style="style_button" x="60" y="45" crop="84|38|46|48" width="40" height="40" ondown="set(movevectorx, +1);" onup="set(movevectorx, 0);"/>
	<plugin name="pi_zoomin" keep="true" align="rightbottom" height="35" width="32" x="30" y="75" url="assets/zoom-in-red.png" blendmode="normal" alpha="0.55" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.55);" ondown="set(movevectorz, -1);" onup="set(movevectorz, 0);"/>
	<plugin name="pi_zoomout" keep="true" align="rightbottom" height="35" width="32" x="30" y="15" url="assets/zoom-out-red.png" blendmode="normal" alpha="0.55" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.55);" ondown="set(movevectorz, +1);" onup="set(movevectorz, 0);"/>
	<plugin name="combobox" url="plugins/combobox.swf" alturl="plugins/combobox.js" align="righttop" x="40" y="40" width="200" keep="true" alpha="1.0" rowcount="10" onloaded="action(setup_location_combo);"/>
	<action name="setup_location_combo">
		plugin[combobox].removeall(); 
		plugin[combobox].additem(Living Room, loadscene(sc_101440_newlivingroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 90, 68, 0);plugin[combobox].selectitem(Living Room);loadscene(sc_101440_newlivingroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 90, 68, 0););
		plugin[combobox].additem(Master Bathroom, loadscene(sc_101441_newbathroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 206, 114, 0);plugin[combobox].selectitem(Master Bathroom);loadscene(sc_101441_newbathroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 206, 114, 0); ); 
		plugin[combobox].additem(Master Bedroom, loadscene(sc_101442_newmasterbedroom, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 198, 68, 88);plugin[combobox].selectitem(Master Bedroom);loadscene(sc_101442_newmasterbedroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 198, 68, 88); ); 
	</action>

	<plugin name="fpi_510" url="multi_floor_plans/510_floorplan.png" zorder="8" align="left" children="true" width="450" height="300" keep="true" enabled="true" capture="true" visible="false" preload="true"/>
	<plugin name="rdr_510" url="plugins/radar.swf" align="lefttop" edge="center" zorder="10" visible="true" enabled="true" keep="true" capture="true" width="100" height="100" linewidth="1" fillcolor="0xFF9999" fillalpha="0.5" parent="plugin[fpi_510]" behindspots="true"/>
		<plugin name="fp_101440_newlivingroom" url="assets/dot-red.png" align="lefttop" edge="center" x="90" y="68" width="16" height="16" visible="true" keep="true" enabled="true" capture="true" zorder="15" parent="fpi_510" onhover="showtext(Living Room);" onclick="loadscene(sc_101440_newlivingroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 90, 68, 0);"/>
		<plugin name="fp_101441_newbathroom" url="assets/dot-red.png" align="lefttop" edge="center" x="206" y="114" width="16" height="16" visible="true" keep="true" enabled="true" capture="true" zorder="15" parent="fpi_510" onhover="showtext(Master Bathroom);" onclick="loadscene(sc_101441_newbathroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 206, 114, 0);"/>
		<plugin name="fp_101442_newmasterbedroom" url="assets/dot-red.png" align="lefttop" edge="center" x="198" y="68" width="16" height="16" visible="true" keep="true" enabled="true" capture="true" zorder="15" parent="fpi_510" onhover="showtext(Master Bedroom);" onclick="loadscene(sc_101442_newmasterbedroom, null, MERGE, ZOOMBLEND(1, 4)); act_floor_plan_change(510, 450, 300, The Kennedy Main Floor, 198, 68, 88);"/>
	<plugin name="pi_show_floor_plan" url="assets/show_plan.png" keep="true" visible="true" enabled="true" handcursor="true" capture="true" children="false" zorder="0" alpha="1.0" blendmode="normal" smoothing="true" align="left" edge="0" x="20" y="-180" width="32" height="144" scale="1" onhover="showtext(Show floor plan);" onclick="act_floor_plan_show();"/>
	<plugin name="pi_hide_floor_plan" url="assets/close-map.png" keep="true" visible="false" enabled="true" handcursor="true" capture="true" children="true" zorder="20" alpha="1.0" blendmode="normal" smoothing="true" align="left" edge="" x="0" y="0" width="24" height="24" onhover="showtext(Hide floor plan);" onclick="act_floor_plan_hide();"/>
	<action name="act_floor_plan_change">
		if (curr_fp_id == %1 
		, set(plugin[%curr_radar].x, %5); 
		  set(plugin[%curr_radar].y, %6); 
		  set(plugin[%curr_radar].heading, %7); 
		  act_floor_plan_hide_all(); 
		, set(fp_id, %1); 
		  set(curr_fp_id, %1); 
		  txtadd(curr_fp, fpi_, get(fp_id)); 
		  txtadd(curr_radar, rdr_, get(fp_id)); 
		  sub(fp_close_x, %2, 5); 
		  sub(fp_close_y, 0, %3); 
		  div(fp_close_y, get(fp_close_y), 2); 
		  sub(fp_hidden_x, -20, %2); 
		  sub(fp_close_hidden_x, %2, 24); 
		  add(fp_close_hidden_x, get(fp_close_hidden_x), get(fp_hidden_x)); 
		  plugin[pi_fp_combo].selectitem(%4); 
		  set(plugin[%curr_fp].x, get(fp_hidden_x)); 
		  set(plugin[pi_hide_floor_plan].x, get(fp_close_hidden_x)); 
		  div(fp_combo_y, %3, 2); 
		  sub(fp_combo_y, -20, fp_combo_y); 
		  set(plugin[pi_fp_combo].y, get(fp_combo_y)); 
		  act_floor_plan_hide_all(); 
		  set(plugin[pi_hide_floor_plan].y, get(fp_close_y)); 
		  set(plugin[%curr_radar].x, %5); 
		  set(plugin[%curr_radar].y, %6); 
		  set(plugin[%curr_radar].heading, %7); 
	   ); 
     if (plugin[pi_hide_floor_plan].visible 
		, act_floor_plan_show(); 
      , act_floor_plan_hide(); 
	   ); 
	</action>
	<action name="act_floor_plan_show">
		set(plugin[pi_show_floor_plan].enabled, false); 
		tween(plugin[pi_show_floor_plan].alpha, 0.00, 0.5, default); 
		set(plugin[pi_hide_floor_plan].enabled, true); 
		set(plugin[pi_hide_floor_plan].visible, true); 
		tween(plugin[pi_hide_floor_plan].x, get(fp_close_x), 0.5, default); 
		set(plugin[%curr_fp].visible, true); 
		tween(plugin[%curr_fp].x, 10, 0.5, default); 
		set(plugin[pi_fp_combo].visible, true); 
	</action>
	<action name="act_floor_plan_hide">
		set(plugin[pi_show_floor_plan].enabled, true); 
		tween(plugin[pi_show_floor_plan].alpha, 1.00. 0.5, default); 
		tween(plugin[%curr_fp].x, get(fp_hidden_x), 0.5, default,               set(plugin[%curr_fp].visible, false)); 
		tween(plugin[pi_hide_floor_plan].x, get(fp_close_hidden_x), 0.5, default,               set(plugin[pi_hide_floor_plan].visible, false)); 
		set(plugin[pi_hide_floor_plan].enabled, false); 
		set(plugin[pi_fp_combo].visible, false); 
	</action>
	<action name="act_floor_plan_hide_all">
		set(plugin[fpi_510].visible, false); 
	</action>

		<data name="dt_13551_1">
		<img src="user_files/452_1358457055.jpg" width="640" height="427" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_13551_1" url="plugins/textfield.swf" align="center" width="644" height="437" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/show_lib_image.php?image=2797' width='640'  height='427' hspace='0' vspace='0' /][/div]" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
<plugin name="hide_tf_dt_13551_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="322" y="-218" visible="false" zorder="212" onclick="act_hide_text_field();"/>

		<data name="dt_13550_1">
		<img src="user_files/452_1358456965.jpg" width="640" height="427" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_13550_1" url="plugins/textfield.swf" align="center" width="644" height="437" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/show_lib_image.php?image=2795' width='640'  height='427' hspace='0' vspace='0' /][/div]" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
<plugin name="hide_tf_dt_13550_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="322" y="-218" visible="false" zorder="212" onclick="act_hide_text_field();"/>

		<data name="dt_13548_1">
		<img src="user_files/452_1358457216.jpg" width="314" height="480" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_13548_1" url="plugins/textfield.swf" align="center" width="318" height="490" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/show_lib_image.php?image=2802' width='314'  height='480' hspace='0' vspace='0' /][/div]" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
<plugin name="hide_tf_dt_13548_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="159" y="-245" visible="false" zorder="212" onclick="act_hide_text_field();"/>

		<data name="dt_13552_1">
		<img src="user_files/452_1358457274.jpg" width="640" height="427" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_13552_1" url="plugins/textfield.swf" align="center" width="644" height="437" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/show_lib_image.php?image=2805' width='640'  height='427' hspace='0' vspace='0' /][/div]" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
<plugin name="hide_tf_dt_13552_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="322" y="-218" visible="false" zorder="212" onclick="act_hide_text_field();"/>

		<data name="dt_13546_1">
		<img src="user_files/452_1358457294.jpg" width="320" height="480" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_13546_1" url="plugins/textfield.swf" align="center" width="324" height="490" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/show_lib_image.php?image=2806' width='320'  height='480' hspace='0' vspace='0' /][/div]" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
<plugin name="hide_tf_dt_13546_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="162" y="-245" visible="false" zorder="212" onclick="act_hide_text_field();"/>

		<data name="dt_13544_1">
		<img src="user_files/452_1358457334.jpg" width="640" height="246" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_13544_1" url="plugins/textfield.swf" align="center" width="644" height="256" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/show_lib_image.php?image=2807' width='640'  height='246' hspace='0' vspace='0' /][/div]" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
<plugin name="hide_tf_dt_13544_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="322" y="-128" visible="false" zorder="212" onclick="act_hide_text_field();"/>

		<data name="dt_13553_1">
		<img src="user_files/452_1358457102.jpg" width="640" height="427" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_13553_1" url="plugins/textfield.swf" align="center" width="644" height="437" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/show_lib_image.php?image=2799' width='640'  height='427' hspace='0' vspace='0' /][/div]" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
<plugin name="hide_tf_dt_13553_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="322" y="-218" visible="false" zorder="212" onclick="act_hide_text_field();"/>

		<data name="dt_13554_1">
		<img src="user_files/452_1358457164.jpg" width="320" height="480" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_13554_1" url="plugins/textfield.swf" align="center" width="324" height="490" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/show_lib_image.php?image=2800' width='320'  height='480' hspace='0' vspace='0' /][/div]" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
<plugin name="hide_tf_dt_13554_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="162" y="-245" visible="false" zorder="212" onclick="act_hide_text_field();"/>

	<action name="act_show_info">
	if (ishtml5 
		, txtadd(tf_name, 'tf_', %1); set(plugin[%tf_name].visible, true); 
		, 
		if (%3 == null 
		   , set(plugin[pi_txt_field_info].width, 310); 
		   , set(plugin[pi_txt_field_info].width, %3); 
		); 
		set(plugin[pi_txt_field_info].html, data:%1);
		set(plugin[pi_txt_field_info].visible, true);
		if (%2 == 1, 
			set(plugin[pi_txt_field_info].bordercolor, 0xFFFFFF); 
			set(plugin[pi_txt_field_info].backgroundcolor, 0x000000);
			set(plugin[pi_txt_field_info].glow, 10);
			set(plugin[pi_txt_field_info].glowcolor, 0x444444); 
			set(plugin[pi_txt_field_info].alpha, 0.80); 
			set(plugin[pi_txt_field_info].css, 'p{color:#FFFFFF;}'); 
			, 
			set(plugin[pi_txt_field_info].bordercolor, 0x000000);
			set(plugin[pi_txt_field_info].backgroundcolor, 0xFFFFFF);
			set(plugin[pi_txt_field_info].glow, 10);
			set(plugin[pi_txt_field_info].glowcolor, 0xAAAAAA);
			set(plugin[pi_txt_field_info].alpha, 0.90);
			set(plugin[pi_txt_field_info].css, 'p{color:#000000;}');
		)
	);
	</action>

	<action name="act_hide_info">
		set(plugin[pi_overlay].visible, false);  
		set(plugin[pi_txt_field_info].visible, false);
		set(plugin[pi_txt_field_info].html, "");
		if (glst_auto_rotate, set(autorotate.enabled, true)); 
	</action>

	<action name="act_show_image_info_box">
	if (ishtml5 
		, txtadd(tf_name, 'tf_', %1); txtadd(tf_hide_name, 'hide_', get(tf_name));			set(plugin[%tf_name].visible, true); set(plugin[%tf_hide_name].visible, true); 
		, 
		add(pitfw, %2, 4); 
		add(pitfh, %3, 10); 
		set(plugin[pi_text_field_image].width, get(pitfw)); 
		set(plugin[pi_text_field_image].height, get(pitfh)); 
		set(plugin[pi_text_field_image].html, data:%1); 
		set(plugin[pi_text_field_image].visible, true); 
		div(phibx, pitfw, 2); 
		div(phiby, pitfh, 2); 
		sub(phiby, phiby, 2); 
		sub(phiby, 0, phiby); 
		set(plugin[pi_hide_image_box].x, get(phibx)); 
		set(plugin[pi_hide_image_box].y, get(phiby)); 
		set(plugin[pi_hide_image_box].visible, true); 
	);
	</action>
	<action name="act_hide_image_info_box">
		set(plugin[pi_overlay].visible, false); 
		set(plugin[pi_hide_image_box].visible, false); 
		set(plugin[pi_text_field_image].visible, false); 
		set(plugin[pi_text_field_image].html, ""); 
		if (glst_auto_rotate, set(autorotate.enabled, true)); 
	</action>

	<action name="act_hide_text_field">
		set(plugin[pi_overlay].visible, false); 
		set(plugin[%tf_name].visible, false); 
		set(plugin[%tf_hide_name].visible, false); 
		if (glst_auto_rotate, set(autorotate.enabled, true)); 
	</action>

	<plugin name="pi_txt_field_info" url="plugins/textfield.swf" align="center" width="310" height="500" keep="true" x="0" y="0" html="" css="" visible="false" borderwidth="1" zorder="211" selectable="false" autosize="center" roundedge="4" background="true" glow="20" alpha="0.95"/>

	<plugin name="pi_text_field_image" url="plugins/textfield.swf" align="center" width="450" height="600" keep="true" x="0" y="0" html="" css="" visible="false" bordercolor="0xFFFFFF" borderwidth="2" zorder="211" selectable="false" autosize="center" background="true" glow="4" alpha="1.0"/>
	<plugin name="pi_hide_image_box" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="225" y="-300" visible="false" zorder="212" onclick="act_hide_image_info_box"/>

	<plugin name="pi_overlay" url="assets/bg_black.jpg" width="100%" height="100%" keep="true" alpha="0.70" visible="false" zorder="210"/>

      <plugin name="pi_cursor" url="plugins/qtvr-cursors.png"/>
      <!-- set the qtvr cursor after the xml was loaded -->
                        <events onxmlcomplete="action(qtvrcursor);"/>

                        <action name="qtvrcursor">
                                set(control.mousetype, moveto);
                                set(cursors.url,  plugins/qtvr-cursors.png);
                                set(cursors.type, 8way);
                                set(cursors.move,       0|0|16|16);
                                set(cursors.drag,      16|0|16|16);
                                set(cursors.arrow_u,   32|0|16|16);
                                set(cursors.arrow_d,   48|0|16|16);
                                set(cursors.arrow_l,   64|0|16|16);
                                set(cursors.arrow_r,   80|0|16|16);
                                set(cursors.arrow_lu,  96|0|16|16);
                                set(cursors.arrow_ru, 112|0|16|16);
                                set(cursors.arrow_rd, 128|0|16|16);
                                set(cursors.arrow_ld, 144|0|16|16);
                                </action>
			/&gt;



<contextmenu fullscreen="true"><item name="voyager_vpix" caption="Virtual tour by VPiX&#xAE; 360" onclick="openurl(http://www.voyager360.com/);"/></contextmenu></krpano>
