<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit_Map.aspx.cs" Inherits="MYAPP.Manage.Project.Design.Tour.BingMap.Edit_Map" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Design Plugin</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 plugin_name;
    function set_plugin(field, value) {
        var _head = "";
        if (field.Trim() != 'name') {
            try {
                _head = field.split("_")[0];
                if ((_head == "spot") || (_head == "radar") || (_head == "zoomcontrol") || (_head == "positioncontrol")) {
                    //dp.set_plugin_child(plugin_name,_head, field.replace(_head+"_",""), value);
                }
                else {
                    dp.set_plugin(plugin_name, field, value);
                }
            }
            catch (exception) { }
        }
        else {
        }
    }

    function GetLLZ() {
        window.open('/google/GetMap_LLZ.aspx?lat=' + $('lat').value + '&lng=' + $('lng').value + '&zoom=' + $('zoom').value, 'googlemap', 'toolbar=no,width=800,height=600');
    }
    function SetLLZ(lat, lng, zoom) {
        $('lat').value = lat;
        $('lng').value = lng;
        $('zoom').value = zoom;
    }
</script>
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body onLoad="plugin_name=$('name').value;">
<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">[<a href="http://www.krpano.com/plugins/googlemaps/" target="_blank">GoogleMAP Plugin</a>]</td>
                  <td align="right" class="l_title"></td>
                </tr>
              </table></td>
          </tr>
          <%if (base.action=="edit"){%>
          <tr>
            <td align="center"><iframe src="../../Export_TourXml.aspx?Tour_ID=<%=_Tour_ID%>&navurl=design_plugin.aspx" id="dp" name="dp" width="100%" scrolling="Auto" frameborder="0" height="500"></iframe></td>
          </tr>
          <%}%>
          <tr>
            <td><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" tabindex="0">雷达设置</li>
                  <li class="TabbedPanelsTab" tabindex="0">缩放控件</li>
                  <li class="TabbedPanelsTab" tabindex="0">位置控件</li>
                  <li class="TabbedPanelsTab displaynone" tabindex="0">地图控制</li>
                  <li class="TabbedPanelsTab" tabindex="0">插件事件</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"> name:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="name" runat="server" Columns="30" Enabled="false" Text="GoogleMap" ReadOnly="false"/>
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="name"
                                                            Display="Dynamic" ErrorMessage="name" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                          (插件名称)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">url:</td>
                        <td colspan="3" align="left"><asp:TextBox Columns="60" CssClass="width100" ID="url" runat="server" Text="%SWFPATH%/plugins/googlemaps.swf" ReadOnly="true" Enabled="false"/></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">zorder:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="zorder" Columns="6" runat="server" Text='100' />
                          (排序)
                          alpha:
                          <asp:TextBox ID="alpha" Columns="6" runat="server" Text='1.0' />
                          (透明度)
                          blendmode:
                          <asp:DropDownList ID="blendmode" runat="server">
                            <asp:ListItem value="NORMAL">NORMAL</asp:ListItem>
                            <asp:ListItem value="LAYER">LAYER</asp:ListItem>
                            <asp:ListItem value="MULTIPLY">MULTIPLY</asp:ListItem>
                            <asp:ListItem value="SCREEN">SCREEN</asp:ListItem>
                            <asp:ListItem value="LIGHTEN">LIGHTEN</asp:ListItem>
                            <asp:ListItem value="DARKEN">DARKEN</asp:ListItem>
                            <asp:ListItem value="DIFFERENCE">DIFFERENCE</asp:ListItem>
                            <asp:ListItem value="ADD">ADD</asp:ListItem>
                            <asp:ListItem value="SUBTRACT">SUBTRACT</asp:ListItem>
                            <asp:ListItem value="INVERT">INVERT</asp:ListItem>
                            <asp:ListItem value="ALPHA">ALPHA</asp:ListItem>
                            <asp:ListItem value="ERASE">ERASE</asp:ListItem>
                            <asp:ListItem value="OVERLAY">OVERLAY</asp:ListItem>
                            <asp:ListItem value="HARDLIGHT">HARDLIGHT</asp:ListItem>
                          </asp:DropDownList>
                          (混合模式) <a href="http://livedocs.adobe.com/flex/201/langref/flash/display/DisplayObject.html#blendMode" target="_blank">help</a></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">align:</td>
                        <td align="left" nowrap="nowrap"><asp:DropDownList ID="align" runat="server">
                            <asp:ListItem value="lefttop">lefttop</asp:ListItem>
                            <asp:ListItem value="left">left</asp:ListItem>
                            <asp:ListItem value="leftbottom">leftbottom</asp:ListItem>
                            <asp:ListItem value="top">top</asp:ListItem>
                            <asp:ListItem value="center">center</asp:ListItem>
                            <asp:ListItem value="bottom">bottom</asp:ListItem>
                            <asp:ListItem value="righttop">righttop</asp:ListItem>
                            <asp:ListItem value="right">right</asp:ListItem>
                            <asp:ListItem value="rightbottom">rightbottom</asp:ListItem>
                          </asp:DropDownList>
                          (相对位置)</td>
                        <td align="left" nowrap="nowrap" class="left_title">edge:</td>
                        <td align="left" nowrap="nowrap"><asp:DropDownList ID="edge" runat="server">
                            <asp:ListItem value="lefttop">lefttop</asp:ListItem>
                            <asp:ListItem value="left">left</asp:ListItem>
                            <asp:ListItem value="leftbottom">leftbottom</asp:ListItem>
                            <asp:ListItem value="top">top</asp:ListItem>
                            <asp:ListItem value="center">center</asp:ListItem>
                            <asp:ListItem value="bottom">bottom</asp:ListItem>
                            <asp:ListItem value="righttop">righttop</asp:ListItem>
                            <asp:ListItem value="right">right</asp:ListItem>
                            <asp:ListItem value="rightbottom">rightbottom</asp:ListItem>
                          </asp:DropDownList>
                          (基准点位置)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">position:</td>
                        <td align="left" nowrap="nowrap">x:
                          <asp:TextBox ID="x" runat="server" Columns="6" Text='0' />
                          y:
                          <asp:TextBox ID="y" runat="server" Columns="6" Text='0' />
                          (相对位置偏量)</td>
                        <td align="center" nowrap="nowrap">&nbsp;</td>
                        <td align="left" nowrap="nowrap">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">o-xy:</td>
                        <td align="left" nowrap="nowrap">ox:
                          <asp:TextBox ID="ox" runat="server" Columns="6" Text='0' />
                          oy:
                          <asp:TextBox ID="oy" runat="server" Columns="6" Text='0' />
                          (基准点位置偏量)<br />
                          - additional x/y offset<br />
                          - % values can be used and they are relative to the own size</td>
                        <td align="left" class="left_title">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">size:</td>
                        <td align="left">width:
                          <asp:TextBox ID="width" Columns="6" runat="server" />
                          (宽度)height:
                          <asp:TextBox ID="height" runat="server" Columns="6" />
                          (高度)</td>
                        <td align="left" class="left_title">refreshrate:</td>
                        <td align="left"><asp:TextBox ID="refreshrate" runat="server" />
                          (0-60,auto)(刷新帧数)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">scale:</td>
                        <td align="left"><asp:TextBox ID="scale" runat="server" Text='1' Columns="6" />
                          (缩放比例)
                          <asp:CheckBox ID="smoothing" Text='smoothing' runat="server" Checked="true" />
                          (平滑)</td>
                        <td align="left" class="left_title">parent:</td>
                        <td align="left"><asp:TextBox ID="parent" runat="server" Columns="30" />
                          (父插件名称)
                          <asp:CheckBox ID="scalechildren" Text="scalechildren" runat="server" Checked="true" />
                          (缩放子插件)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">mask:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="mask" runat="server" Columns="30" />
                          ( plugin.name,plugin[pluginname])(蒙版插件名称)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">rotate:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="rotate" runat="server" Text='0' Columns="6" />
                          )rotation in degrees, default=&quot;0&quot;(旋转角度)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">Property:</td>
                        <td colspan="3" align="left"><asp:CheckBox ID="visible" runat="server" Text='visible' Checked="true" />
                          (显示)
                          <asp:CheckBox ID="preload" Text="preload" runat="server" />
                          (预先加载)
                          <asp:CheckBox ID="enabled" runat="server" Text='enabled'  Visible="true" Checked="true"/>
                          (鼠标事件可用)
                          <asp:CheckBox ID="capture" Text='capture' runat="server" Visible="true"/>
                          (截获鼠标事件)
                          <asp:CheckBox ID="handcursor" Text="handcursor" runat="server"  Visible="true" Checked="true"/>
                          (鼠标小手)
                          <asp:CheckBox ID="keep" Text="keep" runat="server" Checked="true" />
                          (漫游一直存在)
                          <asp:CheckBox ID="children" Text="children" runat="server" Checked="true" />
                          (子插件获取鼠标事件)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">style:</td>
                        <td colspan="3" align="left"><asp:TextBox ID="style" runat="server" Text='' Columns="6" />
                          style.name(样式名称)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">effect:<br />
                          效果</td>
                        <td colspan="3" align="left"><asp:TextBox CssClass="width100" ID="effect" Rows="4" runat="server" TextMode="MultiLine" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">&nbsp;</td>
                        <td colspan="3" align="left">bitmap effects, can be any combination of this effect functions:<br />
                          <ul>
                            <li>glow(color,alpha,range,strength); </li>
                            <li>dropshadow(depth,angle,color,range,strength); </li>
                            <li>blur(radius); </li>
                          </ul>
                          example:   glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">Intro:<br />
                          插件说明</td>
                        <td colspan="3" align="left"><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">key:</td>
                        <td colspan="3" align="left"><asp:TextBox Columns="80" CssClass="width100" ID="key" runat="server" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">maptype:</td>
                        <td align="left"><asp:DropDownList ID="maptype" runat="server">
                            <asp:ListItem value="SATELLITE">SATELLITE</asp:ListItem>
                            <asp:ListItem value="NORMAL">NORMAL</asp:ListItem>
                            <asp:ListItem value="PHYSICAL">PHYSICAL</asp:ListItem>
                            <asp:ListItem value="HYBRID">HYBRID</asp:ListItem>
                          </asp:DropDownList>
                          (地图类型)</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="lng" runat="server"  Columns="10" Text='0'/>
                          精度</td>
                        <td align="left" class="left_title">lat: </td>
                        <td align="left"><asp:TextBox ID="lat" runat="server"  Columns="10" Text='0'/>
                          纬度</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">zoom:</td>
                        <td align="left"><asp:TextBox ID="zoom" runat="server" Columns="4" MaxLength="4" Text='0' />
                          缩放级别
                          <input name="button" type="button" class="cursor_pointer" id="button" onclick="GetLLZ();" value="地图获取"/></td>
                        <td align="left" class="left_title">&nbsp;</td>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">属性设置:</td>
                        <td colspan="3" align="left"><asp:CheckBox ID="dragging" runat="server" Text='dragging' Visible="true" Checked="true"/>
                          (拖拽)
                          <asp:CheckBox ID="scrollwheel" runat="server" Text='scrollwheel' Visible="true" Checked="true"/>
                          (滚轮缩放)
                          <asp:CheckBox ID="continuouszoom" runat="server" Text='continuouszoom' Visible="true" Checked="true"/>
                          (平滑缩放)
                          <asp:CheckBox ID="keyboard" runat="server" Text='keyboard' Visible="true"/>
                          (键盘)
                          <asp:CheckBox ID="crosshairs" runat="server" Text='crosshairs' Visible="true" Checked="true"/>
                          (十字标记)</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onmapready:<br />
                          地图准备完成</td>
                        <td colspan="3" align="left"><asp:TextBox CssClass="width100" ID="onmapready" runat="server" TextMode="MultiLine" Rows="4" Text="plugin[GoogleMap].activatespot(gg_spot_{DefScene_ID});plugin[GoogleMap].pantospot(gg_spot_{DefScene_ID});"/></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onmapmoved:<br />
                          地图移动</td>
                        <td colspan="3" align="left"><asp:TextBox CssClass="width100" ID="onmapmoved" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onmapzoomed:<br />
                          地图缩放</td>
                        <td colspan="3" align="left"><asp:TextBox CssClass="width100" ID="onmapzoomed" runat="server" TextMode="MultiLine" Rows="4" /></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">onover:
                        <input type="button" class="width80px" value="辅助"  onclick="KREditor('spot_onover');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="spot_onover" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onhover:
                        <input type="button" class="width80px" value="辅助"  onclick="KREditor('spot_onhover');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="spot_onhover" runat="server" TextMode="MultiLine" Rows="4" Text='showtext(get(plugin[{plugin_name}].spot[{spot_name}].scene_hit));' /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onout:
                        <input type="button" class="width80px" value="辅助"  onclick="KREditor('spot_onout');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="spot_onout" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onclick::
                        <input type="button" class="width80px" value="辅助"  onclick="KREditor('spot_onclick');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="spot_onclick" runat="server" TextMode="MultiLine" Rows="4" Text='loadpano(%FIRSTXML%scene/{Scene_ID}/scene.xml,, MERGE, BLEND(1.5),);' /></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 colspan="2" align="left"><asp:CheckBox ID="radar_visible" runat="server" Text='visible' Checked="true" />
                          <asp:CheckBox ID="radar_dragable" runat="server" Text='dragable' Checked="true" />
                          <asp:CheckBox ID="radar_behindspots" runat="server" Text='behindspots' Checked="true" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">size:</td>
                        <td colspan="2" align="left"><asp:TextBox ID="radar_size" Columns="6" runat="server" Text='100' />
                          alpha:
                          <asp:TextBox ID="radar_alpha" Columns="6" runat="server" Text='0.5' /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">color:</td>
                        <td colspan="2" align="left">fillcolor:
                          <asp:TextBox ID="radar_fillcolor" runat="server" Columns="8" Text='0xFFFFFF' />
                          fillalpha:
                          <asp:TextBox ID="radar_fillalpha" Columns="6" runat="server" Text='1' />
                          linecolor:
                          <asp:TextBox ID="radar_linecolor" Text="0xFFFFFF" Columns="8" runat="server" />
                          linealpha:
                          <asp:TextBox ID="radar_linealpha" Text="0xFFFFFF" Columns="8" runat="server" />
                          linewidth:
                          <asp:TextBox ID="radar_linewidth" Text="0.0" Columns="4" runat="server" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">glow:</td>
                        <td colspan="2" align="left"><asp:CheckBox ID="radar_glow" Text='glow' runat="server" Checked="true" />
                          glowcolor:
                          <asp:TextBox ID="radar_glowcolor" Text="0xFFFFFF" Columns="8" runat="server" />
                          glowwidth:
                          <asp:TextBox ID="radar_glowwidth" Text="4" Columns="4" runat="server" />
                          glowstrength:
                          <asp:TextBox ID="radar_glowstrength" Text="3" Columns="4" runat="server" /></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">offsets:</td>
                        <td colspan="2" align="left">x:
                          <asp:TextBox ID="zoomcontrol_x" Columns="6" runat="server" Text='23' />
                          y:
                          <asp:TextBox ID="zoomcontrol_y" runat="server" Columns="6" Text='66' />
                          offsets from the anchor</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">anchor:</td>
                        <td colspan="2" align="left"><asp:DropDownList ID="zoomcontrol_anchor" runat="server">
                            <asp:ListItem value="topleft">topleft</asp:ListItem>
                            <asp:ListItem value="topright">topright</asp:ListItem>
                            <asp:ListItem value="bottomleft">bottomleft</asp:ListItem>
                            <asp:ListItem value="bottomright">bottomright</asp:ListItem>
                          </asp:DropDownList>
                          anchor / align origin of the control</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">属性设置:</td>
                        <td colspan="2" align="left"><asp:CheckBox ID="zoomcontrol_visible" Text='visible' runat="server" Checked="true" />
                          <asp:CheckBox ID="zoomcontrol_hasscrolltrack" Text='hasscrolltrack' runat="server" Checked="true" /></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">offsets:</td>
                        <td colspan="2" align="left">x:
                          <asp:TextBox ID="positioncontrol_x" Columns="6" runat="server" Text='2' />
                          y:
                          <asp:TextBox ID="positioncontrol_y" runat="server" Columns="6" Text='2' />
                          offsets from the anchor</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">anchor:</td>
                        <td colspan="2" align="left"><asp:DropDownList ID="positioncontrol_anchor" runat="server">
                            <asp:ListItem value="topleft">topleft</asp:ListItem>
                            <asp:ListItem value="topright">topright</asp:ListItem>
                            <asp:ListItem value="bottomleft">bottomleft</asp:ListItem>
                            <asp:ListItem value="bottomright">bottomright</asp:ListItem>
                          </asp:DropDownList>
                          anchor / align origin of the control</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">属性设置:</td>
                        <td colspan="2" align="left"><asp:CheckBox ID="positioncontrol_visible" Text='visible' runat="server" Checked="true" /></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">show:<br />
                          显示<br /></td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="ac_show" runat="server" TextMode="MultiLine" Rows="4" Text="set(plugin[{map_name}].visible,true);" />                    
                          _showmap_{name}();</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">hidden:<br />
                          隐藏<br /></td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="ac_hidden" runat="server" TextMode="MultiLine" Rows="4" Text="set(plugin[{map_name}].visible,false);" />                    
                          _hidemap_{name}();</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">onclick:<br />
                          鼠标点击<br />
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onclick');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onclick" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onover:<br />
                          鼠标经过
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onover');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onover" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onhover:<br />
                          鼠标停留
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onhover');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onhover" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onout:<br />
                          鼠标移开
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onout');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onout" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">ondown:<br />
                          鼠标按下
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('ondown');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="ondown" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onup:<br />
                          鼠标抬起
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onup');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onup" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">onloaded:<br />
                          加载完成
                          <input type="button" class="width80px" value="辅助"  onclick="KREditor('onloaded');"/></td>
                        <td><asp:TextBox CssClass="width100" ID="onloaded" runat="server" TextMode="MultiLine" Rows="4" /></td>
                      </tr>
                    </table>
                  </div>
</div>
              </div></td>
          </tr>
          <tr>
            <td height="26" align="center"><asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="True" ShowSummary="False" />
              <%if (base.action=="edit"){%>
              <input  type="button" class="width80px" onclick="dp.window.location='../../Export_TourXml.aspx?navurl=design_plugin.aspx&Tour_ID=<%=_Tour_ID%>    ';" value="刷新预览" />
              <%}%>
              <asp:Button CssClass="width80px" ID="ButPost" runat="server" Text="提交保存" OnClick="ButPost_Click" />
              <input name="Submit" type="reset" class="width80px" value="重置" /></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
<script type="text/javascript">
<!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    //-->
    </script>
</body>
</html>

