<?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_84027_sandhillcranesuite, null, MERGE); 
		loadscene(sc_84027_sandhillcranesuite, null, MERGE, ZOOMBLEND(1, 4)); 
		set(glst_auto_rotate, true); 
		action(move_radar, 210, 204, -146);
		action(act_floor_plan_show);
	</action>

	<autorotate enabled="true" waittime="2.0" speed="2" horizon="0"/>
	<plugin name="pi_rotate" url="assets/resume-rotation.png" align="leftbottom" x="60" y="20" width="40" height="40" keep="true" alpha="0.75" blendmode="normal" onhover="showtext(Autorotate on/off);" onclick="switch(autorotate.enabled);switch(glst_auto_rotate);"/> 

	<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_84027_sandhillcranesuite" title="sandhillcranesuite" thumburl="panos/cclsandhillsuite100893/84027_sandhillcranesuite_thumb.jpg" onstart="" url="%CURRENTXML%panos/cclsandhillsuite100893/84027_sandhillcranesuite_thumb.jpg">
	<view hlookat="-209.43561283636913" vlookat="0" fovtype="MFOV" fov="123" fovmin="45" fovmax="135" limitview="auto"/>
	<preview url="84027_sandhillcranesuite.tiles/preview.jpg"/>
	<image type="CYLINDER" multires="true" tilesize="4000" progressive="true">
		<level tiledimagewidth="8000" tiledimageheight="2616">
			<cylinder url="84027_sandhillcranesuite.tiles/pano_%0v%0h.jpg"/>
		</level>
	</image>
	<events onloadcomplete="js(on_load_complete(););"/>
		<hotspot name="ihs_11031_1" url="hotspots/452_1327551748.png" ath="82.84906470922277" atv="9.795234379224933" 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(Bedroom, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_11031_1 , 640, 427); "/>
		<hotspot name="ihs_11032_1" url="hotspots/452_1327551748.png" ath="16.917993759598232" atv="5.958952286457497" 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(Bath, fs_helvetica)" onclick="set(plugin[pi_overlay].visible, true);set(autorotate.enabled, false);action(act_show_image_info_box , dt_11032_1 , 602, 408); "/>
	</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-screen.png" align="lefttop" x="20" y="0" width="75" height="25" enabled="true" keep="true" visible="true" onhover="showtext(Full screen);" onclick="switch(fullscreen); "/>

	<plugin name="pi_hide_tools" url="assets/hide-tools.png" align="lefttop" x="100" y="0" width="75" height="25" enabled="true" keep="true" visible="true" onhover="showtext(Hide controls);" onclick="action(act_show_hide_tools);"/>
	<plugin name="pi_show_tools" url="assets/show-tools.png" align="lefttop" x="100" y="0" width="75" height="25" 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="pi_infoscreen" url="assets/vpix-info-screen.png" align="center" edge="center" textalign="center" keep="true" visible="false" onclick="set(plugin[pi_infoscreen].visible, false);"/> 
	<plugin name="pi_getinfo" url="assets/get-info.png" align="leftbottom" x="20" y="20" width="40" height="40" keep="true" blendmode="normal" enabled="true" alpha="0.75" onhover="showtext(Navigation info);" onclick="switch(plugin[pi_infoscreen].visible);"/> 

	<plugin name="pi_up" keep="true" align="rightbottom" height="32" width="32" x="90" y="80" url="assets/top-arrow.png" blendmode="screen" alpha="0.65" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.65);" ondown="set(movevectory, -1);" onup="set(movevectory, 0);"/>
	<plugin name="pi_down" keep="true" align="rightbottom" height="32" width="32" x="90" y="20" url="assets/bottom-arrow.png" blendmode="screen" alpha="0.65" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.65);" ondown="set(movevectory, +1);" onup="set(movevectory, 0);"/>
	<plugin name="pi_left" keep="true" align="rightbottom" height="32" width="32" x="120" y="50" url="assets/left-arrow.png" blendmode="screen" alpha="0.65" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.65);" ondown="set(movevectorx, -1);" onup="set(movevectorx, 0);"/>
	<plugin name="pi_right" keep="true" align="rightbottom" height="32" width="32" x="60" y="50" url="assets/right-arrow.png" blendmode="screen" alpha="0.65" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.65);" ondown="set(movevectorx, +1);" onup="set(movevectorx, 0);"/>
	<plugin name="pi_zoomin" keep="true" align="rightbottom" height="24" width="24" x="30" y="80" url="assets/zoom-in-plus.png" blendmode="screen" alpha="0.65" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.65);" ondown="set(movevectorz, -1);" onup="set(movevectorz, 0);"/>
	<plugin name="pi_zoomout" keep="true" align="rightbottom" height="24" width="24" x="30" y="25" url="assets/zoom-out-minus.png" blendmode="screen" alpha="0.65" onover="tween(alpha, 0.9);" onout="tween(alpha, 0.65);" ondown="set(movevectorz, +1);" onup="set(movevectorz, 0);"/>
	<plugin name="pi_logo" url="452_1329519711.png" align="righttop" x="40" y="20" width="200" height="100" keep="true" onclick="openurl(http://www.posthousevirtualtours.com, _self);"/>

	<plugin name="combobox" url="plugins/combobox.swf" alturl="plugins/combobox.js" align="righttop" x="40" y="135" 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(Sandhill Crane Suite 3, loadscene(sc_84027_sandhillcranesuite, null, MERGE, ZOOMBLEND(1, 4));action(move_radar, 210, 204, -146);plugin[combobox].selectitem(Sandhill Crane Suite 3););
	</action>

	<action name="move_radar"> 
		set(plugin[pi_fp_radar].x, %1); 
		set(plugin[pi_fp_radar].y, %2); 
		set(plugin[pi_fp_radar].heading, %3); 
	</action>

	<plugin name="pi_fp_radar" url="plugins/radar.swf" alturl="plugins/radar.js" align="lefttop" edge="center" zorder="100" visible="true" enabled="true" capture="true" keep="true" width="100" height="100" linewidth="1" fillcolor="0xFF9999" fillalpha="0.50" parent="plugin[pi_floorplan]" behindspots="true"/>


<plugin name="fp_84027_sandhillcranesuite" url="assets/dot-blue-med.png" align="lefttop" edge="center" x="210" y="204" width="24" height="24" visible="true" keep="true" enabled="true" capture="true" zorder="190" parent="plugin[pi_floorplan]" onhover="showtext(Sandhill Crane Suite 3);" onclick="action(move_radar, 210, 204, -146); loadscene(sc_84027_sandhillcranesuite, null, MERGE, ZOOMBLEND(1, 4)); plugin[combobox].selectitem(Sandhill Crane Suite 3);"/>



	<plugin name="pi_floorplan" url="floor_plan.png" align="left" children="true" x="10" y="25" width="450" height="300" visible="1" keep="true" enabled="true" capture="true"/>

	<plugin name="pi_show_plan" url="assets/show_plan.gif" keep="true" visible="true" enabled="true" handcursor="true" capture="true" children="true" zorder="0" alpha="0.00" blendmode="normal" smoothing="true" align="leftbottom" edge="" x="0" y="80" width="30" height="100" scale="1" onloaded="" onover="" onout="" ondown="" onup="" onhover="showtext(Show floor plan)" onclick="action(act_show_plan)"/>

	<plugin name="pi_hide_plan" url="assets/close-map.png" keep="true" visible="1" enabled="true" handcursor="true" capture="true" children="true" zorder="101" alpha="1.00" blendmode="normal" smoothing="true" align="left" edge="" x="450" y="-125" width="24" height="24" scale="1" onloaded="" onover="" onout="" ondown="" onup="" onhover="showtext(Hide floor plan)" onclick="action(act_hide_plan)"/>

	<action name="act_show_plan">
		set(plugin[pi_show_plan].enabled, false); 
		tween(plugin[pi_show_plan].alpha, 0.00, 0.5, default);
		set(plugin[pi_hide_plan].enabled, true);
		set(plugin[pi_hide_plan].visible,true); tween(plugin[pi_hide_plan].x, 450, 0.5, default);
		set(plugin[pi_floorplan].visible, true); 
		tween(plugin[pi_floorplan].x, 10, 0.5, default); 
	</action>

	<action name="act_hide_plan">
		set(plugin[pi_show_plan].enabled, true);
		tween(plugin[pi_show_plan].alpha, 1.00, 0.5, default);
		tween(plugin[pi_floorplan].x, -470, 0.5, default, set(plugin[pi_floorplan].visible,false));
		tween(plugin[pi_hide_plan].x, -44,  0.5, default, set(plugin[pi_hide_map].visible,false));
		set(plugin[pi_hide_plan].enabled, false);
	</action>


		<data name="dt_11032_1">
		<img src="infobox/1346252337.jpg" width="602" height="408" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_11032_1" url="plugins/textfield.swf" align="center" width="606" height="418" keep="true" x="0" y="0" html="[div style='padding:3px 0px 0px 1px;'][img src='http://www.vpix.net/panos/cclsandhillsuite100893/infobox/1346252337.jpg' width='602'  height='408' 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_11032_1" url="assets/close-X.png" align="center" width="32" height="32" keep="true" x="303" y="-209" visible="false" zorder="212" onclick="act_hide_text_field();"/>

		<data name="dt_11031_1">
		<img src="infobox/1346252184.jpg" width="640" height="427" hspace="0" vspace="0"/>
	</data>
	<plugin name="tf_dt_11031_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/panos/cclsandhillsuite100893/infobox/1346252184.jpg' 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_11031_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();"/>

	<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_slide_show" url="assets/slide-show.png" align="lefttop" x="180" y="0" width="75" height="25" enabled="true" keep="true" visible="true" onhover="showtext(Start slide show)" onclick="act_slide_show_start();"/>
	<action name="act_slide_show_start">
		set(autorotate.enabled, false);
		set(plugin[pi_overlay].visible, true);
		js(show_slides()); 
	</action>
	<action name="act_slide_show_stop">
		set(plugin[pi_overlay].visible, false); 
		if (glst_auto_rotate, set(autorotate.enabled, true));
	</action>
	<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>
