<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="AD_Scene.aspx.cs" Inherits="MYAPP.Manage.Project.Design.Scene.AD_Scene" ValidateRequest="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/date.js"></script>
<script type="text/javascript" src="/js/coe.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
    var oWindow = parent;
    var openwindow;
    function ViewScene() {
        openwindow = window.open('/project/<%=_Tour_ID%>/view_scene_<%=_Scene_ID%>_base.aspx', 'base', 'toolbar=no');
    }
    function setvalue(obj, variable) {
        if (openwindow != null) {
            try {
                $(obj).value = Number(openwindow.krpano().get(variable)).toFixed(2);
            }
            catch (err) {
                alert("请先打开场景预览窗口!");
                //top._msg_show('Open Scene Viewer First!', '', '65', 'title');
            }
        }
        else {
            alert("请先打开场景预览窗口!");
            //top._msg_show('Open Scene Viewer First!', '', '65', 'title');
        }
    }
    function GetLLZ() {
        window.open('/google/GetMap_LLZ.aspx?Tour_ID=<%=_Tour_ID%>&lat=' + $('google_lat').value + '&lng=' + $('google_lng').value + '&zoom=' + $('google_zoom').value, 'googlemap', 'toolbar=no,width=800,height=600');
    }
    function GetHeading() {
        openwindow = window.open('/project/<%=_Tour_ID%>/view_scene_<%=_Scene_ID%>_heading.aspx', 'GetHeading', 'toolbar=no');
    }
    function SetLLZ(lat, lng, zoom) {
        $('google_lat').value = lat;
        $('google_lng').value = lng;
        $('google_zoom').value = zoom;
    }

    function GetMAPLLZ() {
        window.open('/map/GetMap_LLZ.aspx?MAP_ID=<%=MyApp.Components.KRPano.Project.Get_ProjectNodeConfigValue(_Tour_ID, "/Project", "MapProject_ID")%>&lat=' + $('map_lat').value + '&lng=' + $('map_lng').value + '&zoom=' + $('map_zoom').value, 'CustomeMAP', '');
    }
    function SetMAPLLZ(lng, lat, zoom) {
        $('map_lat').value = lat;
        $('map_lng').value = lng;
        $('map_zoom').value = zoom;
    }

    function SetValue(id, value) {
        return $(id).value = value;
    }

    function GetCustomerLLZ() {
        window.open('<%=MyApp.Components.KRPano.Project.Get_ProjectNodeConfigValue(_Tour_ID, "/Project", "MapProject_URL")%>&TypeID=<%=_TypeID%>&lat=' + $('google_lat').value + '&lng=' + $('google_lng').value + '&zoom=' + $('google_zoom').value, 'customermap', 'toolbar=no,width=800,height=600');
    }
</script>
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body onload="top.selectbyvalue('scene_'+<%=_Scene_ID%>);top.sceneid(<%=_Scene_ID%>);">
<form id="theform" runat="server">
  <table width="100%" cellspacing="2" border="1" align="center" cellpadding="0" bordercolor="#CCCCCC"
            class="board_kong">
    <tr>
      <td><table cellspacing="1" cellpadding="0" width="100%" border="0">
          <tr>
            <td style="border-bottom: #CCCCCC 1px solid; height: 24px"><table class="title_table">
                <tr>
                  <td class="l_title"><%=MyApp.Components.KRPano.Scene.GetElemValueByPath(_Tour_ID,_Scene_ID,"Name")%> =&gt;  [场景管理] </td>
                  <td width="100" align="center" class="l_title"><input type="button" value="预览场景"  onclick="ViewScene();" class="width80px"/></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td valign="top"><div id="TabbedPanels1" class="TabbedPanels">
                <ul class="TabbedPanelsTabGroup">
                  <li class="TabbedPanelsTab" tabindex="0">基础</li>
                  <li class="TabbedPanelsTab" tabindex="0">场景语音</li>
                  <li class="TabbedPanelsTab" tabindex="0">前后场景</li>
                  <li class="TabbedPanelsTab displaynone" tabindex="0">KRPano</li>
                  <li class="TabbedPanelsTab displaynone" tabindex="0">预览场景</li>
                  <li class="TabbedPanelsTab" tabindex="0">场景图片</li>
                  <li class="TabbedPanelsTab" tabindex="0">视区视角</li>
                  <li class="TabbedPanelsTab" tabindex="0">场景事件</li>
                  <li class="TabbedPanelsTab" tabindex="0">Google设置</li>
                  <li class="TabbedPanelsTab" tabindex="0">自定义地图</li>                  <li class="TabbedPanelsTab" tabindex="0" onclick="window.open('List_Accessories_Info.aspx?curl=%SWFPATH%/scene/<%=_Scene_ID%>/cube&dir=cube&Info_ID=<%=_Tour_ID%>/scene/<%=_Scene_ID%>','Accessories_Info','toolbar=no,resizable=yes,status=yes');">场景六面图片</li>
                  <li class="TabbedPanelsTab" tabindex="0" onclick="window.open('List_Accessories_Info.aspx?curl=%SWFPATH%/scene/<%=_Scene_ID%>/Accessories&dir=Accessories&Info_ID=<%=_Tour_ID%>/scene/<%=_Scene_ID%>','Accessories_Info','toolbar=no,resizable=yes,status=yes');">场景附件</li>
                </ul>
                <div class="TabbedPanelsContentGroup">
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request"> 场景ID:</td>
                        <td align="left"><asp:TextBox ID="ID" Columns="12" MaxLength="30" runat="server" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ID"
                                                            Display="Dynamic" ErrorMessage="ID" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                          <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="ID"
                                                            ErrorMessage="ID Must GreaterThan 0" Operator="GreaterThan" Type="Integer" ValueToCompare="0"
                                                            Display="Dynamic" SetFocusOnError="True"></asp:CompareValidator></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request">场景名称:</td>
                        <td align="left"><asp:TextBox ID="Name" runat="server" Columns="50"  />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                                                            Display="Dynamic" ErrorMessage="Name" SetFocusOnError="True">*</asp:RequiredFieldValidator></td>
                      </tr>
                      <tr>
                        <td nowrap="nowrap" class="left_title_request">Date:</td>
                        <td align="left"><asp:TextBox ID="Date" Columns="10" MaxLength="10" runat="server" />
                          <img src="/images/date/time.gif" alt="" name="Date" width="15" height="17" id="Date"
                                                        style="cursor: pointer" onclick="show_cele_date(Date,'','',Date)" />
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                        ControlToValidate="Date" Display="Dynamic" ErrorMessage="Date" 
                                                        SetFocusOnError="True">*</asp:RequiredFieldValidator>
                          <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="Date"
                                                        ErrorMessage="Date Error!" Operator="DataTypeCheck" Type="Date"></asp:CompareValidator></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">排序:</td>
                        <td align="left" valign="top"><asp:TextBox ID="Order" Columns="8" MaxLength="30" runat="server" Text="0" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">全景图片:</td>
                        <td align="left" valign="top"><asp:FileUpload ID="fu_file" runat="server" />
                          (.jpg)</td>
                      </tr>
                      <tr class="displaynone">
                        <td align="center" nowrap="nowrap" class="left_title">AutoHotspot:</td>
                        <td align="left"><asp:CheckBox ID="HotspotAutoTF" Text="HotspotAutoTF" runat="server" Checked="true" />
                          <asp:CheckBox ID="HotspotAutoByTF" Text="HotspotAutoByTF" runat="server" Checked="true" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">属性设置:</td>
                        <td align="left"><asp:CheckBox Checked="true" CssClass="displaynone" ID="LockTF" Visible="false" runat="server" Text='锁定' />
                        <asp:CheckBox ID="SearchTF" runat="server" Text='允许检索' /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">关键字:</td>
                        <td align="left" valign="top"><asp:TextBox CssClass="width100" ID="Key" Rows="1" runat="server" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">场景介绍:</td>
                        <td align="left" valign="top"><asp:TextBox CssClass="width100" ID="Intro" Rows="4" runat="server" TextMode="MultiLine" /></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">mp3file:</td>
                        <td align="left"><asp:TextBox ID="mp3file" runat="server" Columns="80" />
                          the filename/path of a sound file(声音文件地址)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">volume</td>
                        <td align="left"><asp:TextBox ID="volume" Columns="4" runat="server" Text='1.0' />
                          sound volume (0.0 - 1.0, default=1.0) <em>(*optional)(音量大小)</em></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">pan:</td>
                        <td align="left"><asp:TextBox ID="pan" Text="0.0" Columns="4" runat="server" />
                          left/right panning (-1.0(=left) - +1.0(=right), default=0.0) <em>(*optional)(左右声道)</em></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">loops:</td>
                        <td align="left"><asp:TextBox ID="loops" Text="1" Columns="6" runat="server" />
                          number of loops, 0=endless, default=1 <em>(*optional)(循环)</em></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">oncomplete:
                        <input type="button" class="width80px" value="辅助"  onclick="KREditor('oncomplete');"/></td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="oncomplete" runat="server" TextMode="MultiLine" Rows="4" />
                          action/event that will called on complete <em>(*optional)(播放完事件)</em></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">前一场景:</td>
                        <td align="left"><asp:TextBox ID="Prev_Scene_ID" runat="server" Columns="4" />
                          &lt;==
                        <asp:DropDownList ID="ddl_Prev_Scene_ID" runat="server"> </asp:DropDownList>
                        <input type="button" class="width80px" style="cursor: pointer" onclick="window.open('/project/<%=_Tour_ID%>/view_tour_'+$('Prev_Scene_ID').value+'_0.aspx');" value="预览场景" />
                        SSet.Prev_Scene_ID</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">后一场景:</td>
                        <td align="left"><asp:TextBox ID="Next_Scene_ID" Columns="4" runat="server"/>
                          &lt;==
                        <asp:DropDownList ID="ddl_Next_Scene_ID" runat="server"> </asp:DropDownList>
                        <input type="button" class="width80px" style="cursor: pointer" onclick="window.open('/project/<%=_Tour_ID%>/view_tour_'+$('Next_Scene_ID').value+'_0.aspx');" value="预览场景" />
                        SSet.Next_Scene_ID</td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">basedir:</td>
                        <td align="left"><asp:DropDownList ID="basedir" runat="server">
                            <asp:ListItem value="%FIRSTXML%" Selected="true">%FIRSTXML%</asp:ListItem>
                            <asp:ListItem value="%CURRENTXML%">%CURRENTXML%</asp:ListItem>
                            <asp:ListItem value="%SWFPATH%">%SWFPATH%</asp:ListItem>
                            <asp:ListItem value="%HTMLPATH%">%HTMLPATH%</asp:ListItem>
                          </asp:DropDownList></td>
                      </tr>
                      <tr class="displaynone">
                        <td align="center" nowrap="nowrap" class="left_title">logkey:</td>
                        <td align="left"><asp:CheckBox ID="logkey" Text="logkey" runat="server" /></td>
                      </tr>
                      <tr class="displaynone">
                        <td align="center" nowrap="nowrap" class="left_title">actionintervalbase:</td>
                        <td align="left"><asp:DropDownList ID="actionintervalbase" runat="server">
                            <asp:ListItem value="timer">timer</asp:ListItem>
                            <asp:ListItem value="frame" Selected="true">frame</asp:ListItem>
                          </asp:DropDownList></td>
                      </tr>
                      <tr class="displaynone">
                        <td align="center" nowrap="nowrap" class="left_title">onstart:</td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="onstart" Rows="4" runat="server" TextMode="MultiLine" />
                          <input type="button" value="SetHeading" onclick="$('onstart').value='set(heading, '+$('google_heading').value+');';" /></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request">type:</td>
                        <td align="left"><asp:DropDownList ID="preview_type" runat="server" Enabled="false">
                            <asp:ListItem value="SPHERE">*SPHERE*</asp:ListItem>
                            <asp:ListItem value="CUBESTRIP">CUBESTRIP</asp:ListItem>
                          </asp:DropDownList></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request">type:</td>
                        <td align="left"><asp:DropDownList ID="image_type" runat="server" Enabled="false">
                            <asp:ListItem value="SPHERE">*SPHERE*</asp:ListItem>
                            <asp:ListItem value="CUBESTRIP">CUBESTRIP</asp:ListItem>
                            <asp:ListItem value="CUBE">CUBE</asp:ListItem>
                          </asp:DropDownList></td>
                        <td align="left" class="left_title_request">multires:</td>
                        <td align="left"><asp:DropDownList ID="image_multires" runat="server">
                            <asp:ListItem value="false">false</asp:ListItem>
                            <asp:ListItem value="true">true</asp:ListItem>
                          </asp:DropDownList>
                          是否分块</td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">fovtype:</td>
                        <td align="left" nowrap="nowrap"><asp:DropDownList ID="view_fovtype" runat="server">
                            <asp:ListItem value=""></asp:ListItem>
                            <asp:ListItem value="VFOV">VFOV</asp:ListItem>
                            <asp:ListItem value="HFOV">HFOV</asp:ListItem>
                            <asp:ListItem value="DFOV" Selected="true">DFOV</asp:ListItem>
                            <asp:ListItem value="MFOV">MFOV</asp:ListItem>
                          </asp:DropDownList>
                          视区类型</td>
                        <td align="left" nowrap="nowrap" class="left_title">maxpixelzoom:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_maxpixelzoom" runat="server" Columns="10" />
                          (off,<span class="left_title cursor_pointer">maxpixelzoom</span>&gt;0)</td>
                      </tr>
                      <tr>
                        <td colspan="4" align="center" nowrap="nowrap" class="left_title">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">camroll</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="camroll" runat="server" Columns="10" Text='0.0' /></td>
                        <td align="left" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td align="left" nowrap="nowrap">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">fisheye:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="fisheye" runat="server" Columns="10" Text='0.0' /></td>
                        <td align="left" nowrap="nowrap" class="left_title">fisheyefovlink:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="fisheyefovlink" runat="server" Columns="10" Text='0.0' /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">stereographic:</td>
                        <td align="left" nowrap="nowrap"><asp:CheckBox ID="stereographic" Text="stereographic" runat="server" Checked="true" /></td>
                        <td align="left" nowrap="nowrap" class="left_title">pannini:</td>
                        <td align="left" nowrap="nowrap"><asp:CheckBox ID="pannini" Text="pannini" runat="server" Checked="true" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">architectural:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="architectural" runat="server" Columns="10" Text='0.0' /></td>
                        <td align="left" nowrap="nowrap" class="left_title">architecturalonlymiddle:</td>
                        <td align="left" nowrap="nowrap"><asp:CheckBox ID="architecturalonlymiddle" Text="stereographic" runat="server" Checked="true" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td align="left" nowrap="nowrap">&nbsp;</td>
                        <td align="left" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td align="left" nowrap="nowrap">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td align="left" nowrap="nowrap">&nbsp;</td>
                        <td align="left" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td align="left" nowrap="nowrap">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">hlookat:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_hlookat" runat="server" Columns="10" Text='0' />
                          默认横向坐标</td>
                        <td align="left" nowrap="nowrap" class="left_title">vlookat:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_vlookat" runat="server" Columns="10" Text='0' />
                          默认纵向坐标</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">fov:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_fov" runat="server" Columns="10" Text='90' />                        
默认视区</td>
                        <td colspan="2" align="left" nowrap="nowrap"><input name="button2" type="button" class="cursor_pointer"  value="获取默认视区视角"  onclick="openwindow = window.open('/project/<%=_Tour_ID%>/view_scene_<%=_Scene_ID%>_gethvf.aspx', 'scene', 'toolbar=no');"/></td>
                      </tr>
                      <tr>
                        <td colspan="4" align="center" nowrap="nowrap" class="left_title">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">fovmin:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_fovmin" runat="server"  Columns="10" Text='60'/>
                          <input type="button" value="Get" onclick="setvalue('view_fovmin','view.fov');" class="cursor_pointer"/>
                          最小视区</td>
                        <td align="left" nowrap="nowrap" class="left_title">fovmax:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_fovmax" runat="server"  Columns="10" Text='120'/>
                          <input type="button" value="Get" onclick="setvalue('view_fovmax','view.fov');" class="cursor_pointer"/>
                          最大视区</td>
                      </tr>
                      <tr>
                        <td colspan="4" align="center" nowrap="nowrap" class="left_title">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">limitview</td>
                        <td align="left" nowrap="nowrap"><asp:DropDownList ID="view_limitview" runat="server">
                            <asp:ListItem value="auto">auto</asp:ListItem>
                            <asp:ListItem value="off">off</asp:ListItem>
                            <asp:ListItem value="range" Selected="true">range</asp:ListItem>
                            <asp:ListItem value="fullrange">fullrange</asp:ListItem>
                            <asp:ListItem value="offrange">offrange</asp:ListItem><asp:ListItem value="lookat">lookat</asp:ListItem>
                          </asp:DropDownList>
                          视角限定</td>
                        <td align="left" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td align="left" nowrap="nowrap">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">hlookatmin:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_hlookatmin" runat="server"  Columns="10" Text='-180'/>                        
                          <input type="button" value="Get" onclick="setvalue('view_hlookatmin','view.hlookat');" class="cursor_pointer"/>
(-180.. +180)横向最小视角</td>
                        <td align="left" nowrap="nowrap" class="left_title">hlookatmax:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_hlookatmax" runat="server"  Columns="10" Text='180'/>                        
                          <input type="button" value="Get" onclick="setvalue('view_hlookatmax','view.hlookat');" class="cursor_pointer"/>
(-180.. +180)横向最大视角</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request"><span class="left_title">vlookatmin:</span></td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_vlookatmin" runat="server"  Columns="10" Text='-90'/>                        
                          <input type="button" value="Get" onclick="setvalue('view_vlookatmin','view.vlookat');" class="cursor_pointer"/>
(0.. -90)纵向最小视角</td>
                        <td align="left" nowrap="nowrap" class="left_title">vlookatmax:</td>
                        <td align="left" nowrap="nowrap"><asp:TextBox ID="view_vlookatmax" runat="server"  Columns="10" Text='65'/>                        
                          <input type="button" value="Get" onclick="setvalue('view_vlookatmax','view.vlookat');" class="cursor_pointer"/>
(0.. 90)纵向最大视角</td>
                      </tr>
                      <tr class="displaynone">
                        <td align="center" nowrap="nowrap" class="left_title_request">view:</td>
                        <td colspan="3" align="left"><asp:TextBox CssClass="width100" ID="view" runat="server" TextMode="MultiLine" Rows="10"  Enabled="false"/></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onnewpano:<br />
                          加载新场景:
                            <input type="button" class="width80px" value="辅助"  onclick="KREditor('onnewpano');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onnewpano" runat="server" TextMode="MultiLine" Rows="4" Text="_onnewpano();" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onremovepano:<br />
                          当前场景被移除:
                            <input type="button" class="width80px" value="辅助"  onclick="KREditor('onremovepano');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onremovepano" runat="server" TextMode="MultiLine" Rows="4" Text="_onremovepano();" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onmousedown:<br />
鼠标按下事件:<br />
<input type="button" class="width80px" value="辅助"  onclick="KREditor('onmousedown');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onmousedown" runat="server" TextMode="MultiLine" Rows="4" Text="_onmousedown();" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title"> onclick:<br />
                          鼠标单击事件:<br />
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('sceneonclick');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="sceneonclick" runat="server" TextMode="MultiLine" Rows="4" Text="_onclick();" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onmouseup:<br />
鼠标抬起事件:<br />
<input type="button" class="width80px" value="辅助"  onclick="KREditor('onmouseup');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onmouseup" runat="server" TextMode="MultiLine" Rows="4" Text="_onmouseup();" /></td>
                      </tr>
                      <tr style="display:none">
                        <td align="center" nowrap="nowrap" class="left_title">onkeydown:<br />
键盘按下事件:<br />
<input type="button" class="width80px" value="辅助"  onclick="KREditor('onkeydown');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onkeydown" runat="server" TextMode="MultiLine" Rows="4" Text="_onkeydown();" /></td>
                      </tr>
                      <tr style="display:none">
                        <td align="center" nowrap="nowrap" class="left_title">onkeyup:<br />
键盘抬起事件:<br />
<input type="button" class="width80px" value="辅助"  onclick="KREditor('onkeyup');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onkeyup" runat="server" TextMode="MultiLine" Rows="4" Text="_onkeyup();" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onxmlcomplete:<br />
                          场景xml加载完成
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onxmlcomplete');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onxmlcomplete" runat="server" TextMode="MultiLine" Rows="4" Text='_onxmlcomplete();_setmap(get(SSet.Scene_ID));_setthumbs(get(SSet.Scene_ID));_playscenesound();' /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onpreviewcomplete:<br />
                          场景预览完成
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onpreviewcomplete');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onpreviewcomplete" runat="server" TextMode="MultiLine" Rows="4" Text="_onpreviewcomplete();"  /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onloadcomplete:<br />
                          场景加载完成
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onloadcomplete');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onloadcomplete" runat="server" TextMode="MultiLine" Rows="4" Text="_onloadcomplete();" /></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">enable:</td>
                        <td align="left"><asp:CheckBox ID="GoogleMapTF" runat="server" Text='Google地图标注' /></td>
                        <td align="left" class="left_title">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                        <td align="left" class="left_title">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">lng: </td>
                        <td align="left"><asp:TextBox ID="google_lng" runat="server"  Columns="10" Text='0'/>
                          经度</td>
                        <td align="left" class="left_title">lat: </td>
                        <td align="left"><asp:TextBox ID="google_lat" runat="server"  Columns="10" Text='0'/>
                          纬度</td>
                        <td align="left" class="left_title">heading:</td>
                        <td align="left"><asp:TextBox ID="google_heading" runat="server"  Columns="10" Text='0'/>
                          正北偏角
                          <input name="button" type="button" class="cursor_pointer" onclick="GetHeading();" value="设置正北偏角"/></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">zoom:</td>
                        <td align="left"><asp:TextBox ID="google_zoom" runat="server" Columns="4" MaxLength="4" Text='0' />
                          缩放级别
                          <input name="button" type="button" class="cursor_pointer" onclick="GetLLZ();" value="地图获取"/>
                          <input name="button3" type="button" class="cursor_pointer" onclick="GetCustomerLLZ();" value="自定义地图获取"/></td>
                        <td align="left" class="left_title">height:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="google_height" runat="server"  Columns="10" Text='1'/>
                          m高度</td>
                      </tr>
                      <tr class="displaynone">
                        <td align="center" nowrap="nowrap" class="left_title_request">google:</td>
                        <td colspan="5" align="left"><asp:TextBox CssClass="width100" ID="google" runat="server" TextMode="MultiLine" Rows="10"  Enabled="false"/></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">enable:</td>
                        <td align="left"><asp:CheckBox ID="map_enable" Text="是否启用" runat="server" /></td>
                        <td align="left" class="left_title">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">lng: </td>
                        <td align="left"><asp:TextBox ID="map_lng" runat="server" Columns="30" Text="0" /></td>
                        <td align="left" class="left_title">lat: </td>
                        <td align="left"><asp:TextBox ID="map_lat" runat="server" Columns="30"  Text="0"/></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">zoom:</td>
                        <td align="left"><asp:TextBox ID="map_zoom" Columns="4" runat="server" Text='1' />
                          <input type="button" class="width80px" onclick="GetMAPLLZ();" value="地图获取"/></td>
                        <td align="left" class="left_title">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                      </tr>
                    </table>
                  </div>
                </div>
              </div></td>
          </tr>
          <tr>
            <td height="26" align="center"><asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="True" ShowSummary="False" />
              <asp:Button CssClass="width80px" ID="ButPostReturn" runat="server" Text="提交返回" CommandName="ret"
                    OnClick="ButPost_Click" />
              <asp:Button CssClass="width80px" ID="ButPost" runat="server" Text="提交保存" OnClick="ButPost_Click" />
              <input name="Submit" type="reset" class="width80px" value="重置" />
              <%if (this.action!="del"){%>
              <input name="ButReturn" type="button" class="width80px" id="ButReturn" onclick="window.location='List_TreeScene.aspx?Tour_ID=<%=_Tour_ID%>&TypeID=<%=MyApp.Components.KRPano.Scene.GetValue(MyApp.Components.KRPano.Scene.GetSceneXmlDoc(_Tour_ID, _Scene_ID), "/krpano", "TypeID")%>';" value="返回" />
              <%}%></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
<script type="text/javascript">
<!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
    </script>
</body>
</html>
