<%@ page language="C#" autoeventwireup="true" masterpagefile="../../MasterPage/Default.Master" inherits="Admin_SysSetting_SysData_SystemDataSet, YBBQYCMS_deploy" theme="Standard" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
                        <link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/") %>Admin/inc/FineMessBox/css/subModal.css" />

                        <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Admin/inc/FineMessBox/js/common.js"></script>

                        <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Admin/inc/FineMessBox/js/subModal.js"></script>
                        <script src="<%=Page.ResolveUrl("~/") %>js/Color.js" type="text/javascript"></script>
    <table style="width:100%">
        <tr>
            <td>
                <DataLayerWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
                    HeadTitleTxt="网站配置" HeadHelpTxt="帮助">
                </DataLayerWebControls:HeadMenuWebControls>
                <DataLayerWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
                    <DataLayerWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="基本信息">
                        <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                            <tr>
                                <td class="table_body">
                                    域名名称</td>
                                <td class="table_none">
                                    <asp:TextBox ID="DomainName_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                             <tr>
                                <td class="table_body">
                                    网站路径</td>
                                <td class="table_none">
                                    <asp:TextBox ID="Dir_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="<%=showorhidd(1)%>">
                                <td class="table_body">
                                    公司名称</td>
                                <td class="table_none">
                                    <asp:TextBox ID="GcName_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="display:none;">
                                <td class="table_body">
                                    英文公司名称</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnGcName_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    联系人</td>
                                <td class="table_none">
                                    <asp:TextBox ID="CallRen_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    国外联系人</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnCallRen_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    联系电话</td>
                                <td class="table_none">
                                    <asp:TextBox ID="Phone_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    国外联系电话</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnPhone_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    联系手机</td>
                                <td class="table_none">
                                    <asp:TextBox ID="CallPhone_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    国外联系手机</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnCallPhone_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    传真</td>
                                <td class="table_none">
                                    <asp:TextBox ID="CallFax_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    国外传真</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnCallFax_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    公司地址</td>
                                <td class="table_none">
                                    <asp:TextBox ID="GcAdd_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                       
                            <tr>
                                <td class="table_body">
                                    英文公司地址</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnGcAdd_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    版权申明</td>
                                <td class="table_none">
                                    <asp:TextBox ID="CopyRight_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    邮编</td>
                                <td class="table_none">
                                    <asp:TextBox ID="GcPost_Input" runat="server" CssClass="text_input"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    Email</td>
                                <td class="table_none">
                                    <asp:TextBox ID="GcEmail_Input" runat="server" CssClass="text_input"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    网站标题</td>
                                <td class="table_none">
                                    <asp:TextBox ID="WSTitle_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    英文标题</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnWSTitle_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" style="height: 15px">
                                    关键字</td>
                                <td class="table_none" style="height: 15px">
                                    <asp:TextBox ID="GcKey_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    描述</td>
                                <td class="table_none">
                                    <asp:TextBox ID="GcDescp_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    英文关键字</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnGcKey_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    英文描述</td>
                                <td class="table_none">
                                    <asp:TextBox ID="EnGcDescp_Input" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    ICP备案号</td>
                                <td class="table_none">
                                    <asp:TextBox ID="GcICP_Input" runat="server" CssClass="text_input"></asp:TextBox>
                                </td>
                            </tr>
                                 <tr>
                                <td class="table_body">
                                    Logo地址</td>
                                <td class="table_none">
                                    注：动态版Logo地址为根目录images文件夹logo.jpg,静态版Logo图片路径均为T\{风格文件夹}\images\Logo.jpg,例如：T\skin01\images\Logo.jpg.
                                </td>
                            </tr>
                        </table>
                        <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center" id="PostButton"
                            runat="server">
                            <tr>
                                <td align="right">
                                    <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="确定" OnClick="Button1_Click" />
                                    <input id="Reset1" class="button_bak" type="reset" value="重填" />
                                </td>
                            </tr>
                        </table>
                    </DataLayerWebControls:TabOptionItem>
                    <DataLayerWebControls:TabOptionItem Tab_Name="地图及其他信息" ID="otheritem" runat="server">
                        <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                         <tr>
                                <td class="table_body">
                                    公司位置</td>
                                <td class="table_none">
                                    <asp:TextBox ID="tbmap" runat="server" CssClass="text_input" Width="300px"></asp:TextBox>   <input type="button" id ="btmap"  class="cbutton" value ="获取经纬度" onclick="javascript:ShowDepartID()"/>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    前台显示方式</td>
                                <td class="table_none">
                                   <asp:CheckBox ID ="chishtml" runat ="server"  Text ="(是/否)静态调用"/>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    中文首页模板名称:</td>
                                <td class="table_none">
                                    <asp:TextBox ID="Tem_Index" runat="server" CssClass="text_input"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    中文首页名称:</td>
                                <td class="table_none">
                                    <asp:TextBox ID="Tem_CIndex" runat="server" CssClass="text_input"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    英文首页模板名称:</td>
                                <td class="table_none">
                                    <asp:TextBox ID="Tem_EnIndex" runat="server" CssClass="text_input"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    英文首页名称:</td>
                                <td class="table_none">
                                    <asp:TextBox ID="Tem_EnCIndex" runat="server" CssClass="text_input"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    其他信息缩略图大小:</td>
                                <td class="table_none">
                                    <asp:TextBox ID="ThumbSize_Other" runat="server" CssClass="text_input"></asp:TextBox>&nbsp;&nbsp;格式:width,height
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    产品缩略图大小:</td>
                                <td class="table_none">
                                    <asp:TextBox ID="ThumbSize_Pro" runat="server" CssClass="text_input"></asp:TextBox>&nbsp;&nbsp;格式:width,height
                                </td>
                            </tr>
                        </table>
                        <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center" id="Table1"
                            runat="server">
                            <tr>
                                <td align="right">
                                    <asp:Button ID="Button2" runat="server" CssClass="button_bak" Text="确定" OnClick="Button2_Click" />
                                    <input id="Reset2" class="button_bak" type="reset" value="重填" />
                                </td>
                            </tr>
                        </table>
                    </DataLayerWebControls:TabOptionItem>
                    <DataLayerWebControls:TabOptionItem ID ="TabOptionItem2" runat ="server" Tab_Name="上传设置" Visible="false">
                    <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                    <tr>
                                <td class="table_body">
                                    上传文件目录：</td>
                                <td class="table_none">
                                    /<asp:TextBox ID="txtUploadFolder" runat="server" CssClass="text_input" Text="UploadFiles"></asp:TextBox>/
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    是否允许上传文件：</td>
                                <td class="table_none">
                                    <asp:RadioButtonList ID="IsUpload" runat="server" RepeatDirection="Horizontal">
                                     <asp:ListItem Value="1">是</asp:ListItem>
                                     <asp:ListItem Value="0">否</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    允许上传的最大文件大小：</td>
                                <td class="table_none">
                                    <asp:TextBox ID="MaxUploadSize" runat="server" CssClass="text_input"></asp:TextBox>KB
                                    (提示：1 KB = 1024 Byte，1 MB = 1024 KB)
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    文件上传设置：</td>
                                <td class="table_none">
                                    允许上传的图片文件格式为：<asp:TextBox ID="txtUploadPic" runat="server" CssClass="text_input"></asp:TextBox><br />
                                    允许上传的视频文件格式为：<asp:TextBox ID="txtUploadVideo" runat="server" CssClass="text_input"></asp:TextBox><br />
                                    允许上传的音频文件格式为：<asp:TextBox ID="txtUploadAudio" runat="server" CssClass="text_input"></asp:TextBox><br />
                                    允许上传的软件文件格式为：<asp:TextBox ID="txtUploadSoft" runat="server" CssClass="text_input"></asp:TextBox><br />
                                    允许上传的其他文件格式为：<asp:TextBox ID="txtUploadOther" runat="server" CssClass="text_input"></asp:TextBox><br />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    缩略图生成方式：</td>
                                <td class="table_none">
                                    <asp:RadioButtonList ID="ThumbsCType" runat="server" RepeatDirection="Horizontal">
                                       <asp:ListItem Value="0" Selected="True">按比例</asp:ListItem>
                                       <asp:ListItem Value="1">按大小</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    缩略图比例：</td>
                                <td class="table_none">
                                    <asp:TextBox ID="ThumbsBL" runat="server" CssClass="text_input"></asp:TextBox>  如缩小原图的50%,请输入0.5
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    缩略图默认宽度：</td>
                                <td class="table_none">
                                    <asp:TextBox ID="TxtThumbsWidth" runat="server" CssClass="text_input"></asp:TextBox>像素  设为0时，将以高度为准按比例缩小。
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    缩略图默认高度：</td>
                                <td class="table_none">
                                    <asp:TextBox ID="TxtThumbsHeight" runat="server" CssClass="text_input"></asp:TextBox>像素  设为0时，将以宽度为准按比例缩小。
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    缩略图算法：</td>
                                <td class="table_none">
                                    <asp:RadioButtonList ID="RadThumbsMode" runat="server">
                                       <asp:ListItem Value="0">常规算法：宽度和高度都大于0时，直接缩小成指定大小，其中一个为0时，按比例缩小</asp:ListItem>
                                       <asp:ListItem Value="1">裁剪法：宽度和高度都大于0时，先按最佳比例缩小再裁剪成指定大小，其中一个为0时，按比例缩小。</asp:ListItem>
                                       <asp:ListItem Value="2">补充法：在指定大小的背景图上附加上按最佳比例缩小的图片。</asp:ListItem>
                                   </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    缩略图底色：</td>
                                <td class="table_none">
                                    <asp:TextBox ID="TxtBgColor" runat="server" CssClass="text_input" MaxLength="6" onclick="rcolor(this,true)" title="选取颜色!"></asp:TextBox>像素  设为0时，将以宽度为准按比例缩小。
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    水印类型：</td>
                                <td class="table_none">
                                    <asp:RadioButtonList ID="WaterMarkType" runat="server" RepeatDirection="Horizontal">
                                         <asp:ListItem Selected="True" Value="1">文字水印</asp:ListItem>
                                         <asp:ListItem Value="2">图片水印</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    图片水印设置：</td>
                                <td class="table_none">
                                    <table cellpadding="2" cellspacing="0" border="0">
                        <tr>
                            <td>
                                水印的图片路径为：
                            </td>
                            <td>
                                <asp:TextBox ID="txtWaterMarkPath" runat="server" MaxLength="255" Width="207px" CssClass="in1"></asp:TextBox>
                                <font style="color: Red">(请正确设置图片路径,绝对根路径,不包含虚拟目录)</font>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                图片水印透明度为：
                            </td>
                            <td>
                                <asp:TextBox ID="txtWaterMarkLight" runat="server" MaxLength="3" Width="50px" CssClass="in1"></asp:TextBox>%
                            </td>
                        </tr>
                        <tr>
                            <td>
                                水印图片缩小比例：
                            </td>
                            <td>
                                当水印图片宽度或高度大于要加水印图片的1/<asp:TextBox ID="TxtWaterMarkPercent" Text="4" runat="server"
                        Columns="5"></asp:TextBox>时，按
                    <asp:DropDownList ID="DropWaterMarkPercent" runat="server">
                        <asp:ListItem Value="AutoSet">自动计算值</asp:ListItem>
                        <asp:ListItem Value="ManualSet">手动设置值</asp:ListItem>
                    </asp:DropDownList>
                    比例缩小。
                            </td>
                        </tr>
                        <tr>
                            <td>
                                手动设置值：
                            </td>
                            <td>
                    <asp:Label ID="LblWaterMarkPercent" runat="server" Text="">1/</asp:Label>
                    <asp:TextBox ID="TxtWaterMarkThumbPercent" Text="10" runat="server"
                        Columns="5"></asp:TextBox>缩小比例为手动设置值时起效果。
                            </td>
                        </tr>
                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    文字水印设置：</td>
                                <td class="table_none">
                                   <table cellpadding="2" cellspacing="0" border="0">
                        <tr>
                            <td>
                                水印的文字内容为：
                            </td>
                            <td>
                                <asp:TextBox ID="txtWaterMarkStr" runat="server" MaxLength="100" CssClass="in1" Columns="30"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                水印文字的大小为：
                            </td>
                            <td>
                                <asp:TextBox ID="txtWaterMarkFontSize" runat="server" MaxLength="5" Width="40px" CssClass="in1"></asp:TextBox>磅
                            </td>
                        </tr>
                        <tr>
                            <td>
                                水印文字的字体为：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlWaterMarkFontName" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                水印文字的颜色为：
                            </td>
                            <td>
                                <asp:TextBox ID="txtWaterMarkFontColor" runat="server" MaxLength="6" Width="80px"
                                    onclick="rcolor(this,true)" title="选取颜色!" CssClass="in1"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                水印字体样式：
                            </td>
                            <td>
                                <asp:DropDownList ID="WaterMarkIsBold" runat="server">
                                    <asp:ListItem Value="Bold" Selected="True">加粗</asp:ListItem>
                                    <asp:ListItem Value="Italic">倾斜</asp:ListItem>
                                    <asp:ListItem Value="Regular">常规</asp:ListItem>
                                    <asp:ListItem Value="Strikeout">中间有直线通过</asp:ListItem>
                                    <asp:ListItem Value="Underline">带下划线</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                文字边框大小为：
                            </td>
                            <td>
                                <asp:TextBox ID="TxtWaterMarkTextFoneBorder" runat="server" MaxLength="5" Width="40px" CssClass="in1"></asp:TextBox>  设置为0时没有边框
                            </td>
                        </tr>
                        <tr>
                            <td>
                                文字边框颜色为：
                            </td>
                            <td>
                                <asp:TextBox ID="TxtWaterMarkTextFoneBorderColor" runat="server" MaxLength="6" Width="80px"
                                    onclick="rcolor(this,true)" title="选取颜色!" CssClass="in1"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    水印的位置在：</td>
                                <td class="table_none">
                                    <asp:DropDownList ID="ddlWaterMarkPos" runat="server" Width="100px">
                                         <asp:ListItem Value="1" Text="左上"></asp:ListItem>
                                         <asp:ListItem Value="2" Text="右上"></asp:ListItem>
                                         <asp:ListItem Value="3" Text="左下"></asp:ListItem>
                                         <asp:ListItem Value="4" Text="右下"></asp:ListItem>
                                         <asp:ListItem Value="5" Text="手动设置"></asp:ListItem>
                                     </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    坐标位置：</td>
                                <td class="table_none">
                                    X:<asp:TextBox ID="TxtWaterMarketTextPositionX" runat="server" CssClass="in1" Columns="10"></asp:TextBox>像素<br />
                                    Y:<asp:TextBox ID="TxtWaterMarketTextPositionY" runat="server" CssClass="in1" Columns="10"></asp:TextBox>像素
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    上传图片最大SIZE：</td>
                                <td class="table_none">
                                    <asp:TextBox ID="MaxWHSize" runat="server" CssClass="in1" Columns="10"></asp:TextBox> px  当上传的图片宽度超过此尺寸时自动按此尺寸缩放。
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    上传文件命名方式：</td>
                                <td class="table_none">
                                    <asp:RadioButtonList ID="UploadAutoName" runat="server" RepeatDirection="Horizontal">
                                         <asp:ListItem Value="True" Selected="True">自动重命名</asp:ListItem>
                                         <asp:ListItem Value="False">保持文件名称（如果有相同文件则在文件后面加_1/_2）</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                    </table>
                    <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center" id="Table3"
                            runat="server">
                            <tr>
                                <td align="right">
                                    <asp:Button ID="Button4" runat="server" CssClass="button_bak" Text="确定" OnClick="Button4_Click" />
                                    <input id="Reset4" class="button_bak" type="reset" value="重填" />
                                </td>
                            </tr>
                        </table>
                    </DataLayerWebControls:TabOptionItem>
                    <DataLayerWebControls:TabOptionItem ID ="TabOptionItem3" runat ="server" Tab_Name="Rss">
                     <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                            <tr>
                                <td class="table_body">
                                    更新中英文Rss</td>
                                <td class="table_none">
                                    <asp:CheckBox ID="cbrss" runat="server" Text="(中/英)Rss" />
                                    <font color="red">* ：选中更新中文Rss,反之更新英文Rss</font>
                                </td>
                            </tr>
                       </table>
                       <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center" id="Table2"
                            runat="server">
                            <tr>
                                <td align="right">
                                    <asp:Button ID="Button3" runat="server" CssClass="button_bak" Text="确定" OnClick="Button3_Click" />
                                    <input id="Reset3" class="button_bak" type="reset" value="重填" />
                                </td>
                            </tr>
                        </table>
                    </DataLayerWebControls:TabOptionItem>
                </DataLayerWebControls:TabOptionWebControls>
            </td>
        </tr>
    </table>
    
    <script type="text/javascript">
  rnd.today=new Date(); 

    rnd.seed=rnd.today.getTime(); 

    function rnd() { 

　　　　rnd.seed = (rnd.seed*9301+49297) % 233280; 

　　　　return rnd.seed/(233280.0); 

    }; 

    function rand(number) { 

　　　　return Math.ceil(rnd()*number); 

    }; 

      function ShowDepartID(name)
        {
            var urlval= document.all.<%=this.tbmap.ClientID %>.value;
            var varname=escape(name); 
            showPopWin('选择经纬度坐标','map.html?xy='+urlval+'&fnum='+rand(10000000), 510, 415, AlertClassBox,true,true)
        }
    function AlertClassBox(file_name)
    {
       
             if (file_name!=undefined){
	           // var ShValues = file_name.split('||');
	           // if (ShValues[1]!=0)
	            //{
	               document.all.<%=this.tbmap.ClientID %>.value=file_name;//ShValues[1];
	           // }            
	        }
    }

    </script>
</asp:Content>