<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Admin_Sysset.aspx.vb" validateRequest="false"
    Inherits="TourEx.Web.Admin_Sysset" %>
<%@ Import Namespace="TourEx.BLL" %>
<!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 runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题页</title>
<link rel="stylesheet" type="text/css" href="Css/Style.css"/>
<script type="text/javascript" src="../Sys/Js/jquery.js"></script>
<script type="text/javascript" src="../Sys/Js/AlertWindow.js"></script>
<script type="text/javascript" src="http://union.mapbar.com/apis/maps/free?f=mapi&v=31.2&k=<%=WebSet.MapbarKey %>"></script> 
</head>
<body>
<div id="promptWindow" class="promptWindow" align="center">
    <div class="titleBar">
    <span>地图标注</span><span onclick="HideWindow()" style="float: right;"><img src="Images/popclose.gif" /></span></div>
    <div class="mainContent" style="padding:20px 0;">
        <div id="mapbar" style="width:500px;height:300px;border:1px #C0CFED solid;"></div>
    </div>
</div>
<ul class="navLocation" style="width:100%;position:fixed;top:0px;_position:absolute;_bottom:auto;_top:expression(eval(document.documentElement.scrollTop));">
	<li n="basic"><span><a href="#basic" onclick="g('basic');">基本设置</a></span></li>
	<li class="sk1" n="contact"><span><a href="#contact" onclick="g('contact');">联系方式设置</a></span></li>
	<li class="sk1" n="reg"><span><a href="#reg" onclick="g('reg');">注册</a></span></li>
	<li class="sk1" n="up"><span><a href="#up" onclick="g('up');">上传设置</a></span></li>
	<li class="sk1" n="hotel"><span><a href="#hotel" onclick="g('hotel');">酒店</a></span></li>
	<li class="sk1" n="room"><span><a href="#room" onclick="g('room');">房型</a></span></li>
	<li class="sk1" n="attractions"><span><a href="#attractions" onclick="g('attractions');">景区/景点</a></span></li>
	<li class="sk2" n="line"><span><a href="#line" onclick="g('line');">度假线路</a></span></li>
</ul>
<form id="form1" runat="server">
<div class="infoBox">
    <a name="basic"></a>
<br />
<br />
<br />
	<a name="contact"></a>
	<h1 onclick="g('basic');"><img src="Images/icoLess.gif" name="basic" /> 基本设置</h1>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" id="basic">
		<tr>
			<td class="infoBoxTd">网站名称：</td>
			<td><asp:TextBox ID="WebSet_0" runat="server" Width="300px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">网站标题：</td>
			<td><asp:TextBox ID="WebSet_1" runat="server" Width="400px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">网站描述：<br /></td>
			<td><asp:TextBox ID="WebSet_2" runat="server" Width="400px" CssClass="formTitle"></asp:TextBox> <span class="Dp">描述中请不要带英文的逗号</span></td>
		</tr>
		<tr>
			<td class="infoBoxTd">网站关键词：</td>
			<td><asp:TextBox ID="WebSet_3" runat="server" Width="400px" CssClass="formTitle"></asp:TextBox> <span class="Dp">将被搜索引擎用来搜索您网站的关键内容，每个关键字用英文逗号分隔</span></td>
		</tr>
		<tr>
			<td class="infoBoxTd">本地地名：</td>
			<td><asp:TextBox ID="WebSet_4" runat="server" Width="300px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">过滤非法词语：</td>
			<td><asp:TextBox ID="WebSet_5" runat="server" Width="400px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">网站首页Logo：</td>
			<td><asp:TextBox ID="WebSet_6" runat="server" Width="300px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">网站地址：</td>
			<td><asp:TextBox ID="WebSet_7" runat="server" Width="300px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">ICP备案号：</td>
			<td><asp:TextBox ID="WebSet_8" runat="server" Width="300px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">网站当前状态：</td>
			<td>
				<asp:RadioButtonList ID="WebSet_9" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
					<asp:ListItem Value="0">关闭</asp:ListItem>
					<asp:ListItem Value="1">开启</asp:ListItem>
				</asp:RadioButtonList> 维护期间可设置关闭网站
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">维护说明：</td>
			<td>
				<asp:TextBox ID="WebSet_10" runat="server" TextMode="MultiLine" Width="400px" CssClass="formTextarea"></asp:TextBox> <span class="Dp">在网站关闭情况下显示，支持html语法</span>
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">伪静态：</td>
			<td>
				<asp:RadioButtonList ID="WebSet_11" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
					<asp:ListItem Value="0">关闭</asp:ListItem>
					<asp:ListItem Value="1">开启</asp:ListItem>
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">新闻评论：</td>
			<td>
				<asp:RadioButtonList ID="WebSet_12" runat="server" RepeatDirection="Horizontal" 
					RepeatLayout="Flow">
					<asp:ListItem Value="0">手动审核</asp:ListItem>
					<asp:ListItem Value="1">自动审核</asp:ListItem>
				</asp:RadioButtonList> 
				&nbsp;&nbsp;&nbsp;&nbsp; 
				<asp:TextBox ID="WebSet_13" runat="server" Width="40px" CssClass="formTitle"></asp:TextBox> 秒内不能重复评论
			</td>
		</tr>
        
		<tr>
			<td class="infoBoxTd">新闻图片：</td>
			<td>
                裁剪宽<asp:TextBox ID="WebSet_27" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px×高<asp:TextBox ID="WebSet_28" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px； 
                按比率生成略缩图<asp:TextBox ID="WebSet_29" runat="server" CssClass="formTextarea"></asp:TextBox>以"|"分割；
			</td>
		</tr>

		<tr>
			<td class="infoBoxTd">返利：</td>
			<td>
				单位：<asp:TextBox ID="WebSet_14" runat="server" Width="40px" CssClass="formTitle"></asp:TextBox>； 
				名称：<asp:TextBox ID="WebSet_15" runat="server" Width="40px" CssClass="formTitle"></asp:TextBox>； 
				最低提现额：<asp:TextBox ID="WebSet_16" runat="server" Width="40px" CssClass="formTitle"></asp:TextBox>； 
                提现金额只能是100的倍数：<asp:CheckBox ID="WebSet_17" runat="server" />
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">奖励：</td>
			<td>注册奖励：<asp:TextBox ID="WebSet_19" runat="server" Width="40px" CssClass="formTitle"></asp:TextBox> <%=WebSet.BonusUnits%>/<%=WebSet.BonusName%>； 完善会员资料奖励：<asp:TextBox ID="WebSet_20" runat="server" Width="40px" CssClass="formTitle"></asp:TextBox> <%=WebSet.BonusUnits%>/<%=WebSet.BonusName%></td>
		</tr>
		<tr>
			<td class="infoBoxTd">提现支持银行：</td>
			<td>
				<asp:TextBox ID="WebSet_18" runat="server" TextMode="MultiLine" Width="400px" 
                    CssClass="formTextarea" Height="103px"></asp:TextBox> <span class="Dp">每行一个银行</span>
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">图吧API密钥：</td>
			<td>
                <asp:HiddenField ID="WebSet_25" runat="server" />
				<asp:TextBox ID="WebSet_24" runat="server" Width="179px"></asp:TextBox> <a href="http://union.mapbar.com/apidoc/index.jsp?dtype=16" target="_blank">注册密钥</a>  <a href="javascript:;" onclick="AlertMap();">标注中心点</a>(添加酒店或景区时以此为中心)</td>
		</tr>
	</table>
	<a name="reg"></a>
	<h1 onclick="g('contact');"><img src="Images/icoAdd.gif" name="contact" /> 联系方式设置</h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none" id="contact">
		<tr>
			<td class="infoBoxTd">邮件地址：</td>
			<td><asp:TextBox ID="WebContact_0" runat="server" Width="400px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">联系电话：</td>
			<td><asp:TextBox ID="WebContact_1" runat="server" Width="400px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">联系QQ：</td>
			<td><asp:TextBox ID="WebContact_2" runat="server" Width="400px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">联系地址：</td>
			<td><asp:TextBox ID="WebContact_3" runat="server" Width="400px" CssClass="formTitle"></asp:TextBox></td>
		</tr>
	</table>
	<a name="up"></a>
	<h1 onclick="g('reg');"><img src="Images/icoAdd.gif" name="reg"  /> 会员注册设置</h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none" id="reg">
		<tr>
			<td class="infoBoxTd">会员注册：</td>
			<td>
				<asp:RadioButtonList ID="RegSwitch" runat="server" RepeatDirection="Horizontal" 
                    RepeatLayout="Flow">
					<asp:ListItem Value="0">关闭注册</asp:ListItem>
					<asp:ListItem Value="1">开启注册</asp:ListItem>
				</asp:RadioButtonList> 
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">注册是否采用验证码：</td>
			<td>
				<asp:RadioButtonList ID="RegCode" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
					<asp:ListItem Value="0">否</asp:ListItem>
					<asp:ListItem Value="1">是</asp:ListItem>
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">关闭注册：</td>
			<td>
				<asp:TextBox TextMode="MultiLine" ID="RegClose" runat="server" Rows="5" Width="400px" CssClass="formTextarea"></asp:TextBox>
			</td>
		</tr>
	</table>
	<a name="hotel"></a>
	<h1 onclick="g('up');"><img src="Images/icoLess.gif" name="up" /> 上传设置</h1>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" id="up" style="display:none">
        <tr>
            <td class="infoBoxTd">开启条件：</td>
            <td>高最少<asp:TextBox ID="UpSet_0" runat="server" Columns="6" CssClass="formTitle" Width="30px"></asp:TextBox> xp&nbsp; 宽最少<asp:TextBox ID="UpSet_1" runat="server" Columns="6" CssClass="formTitle" Width="30px"></asp:TextBox> xp(0为不生成水印图片)</td>
        </tr>
        <tr>
            <td class="infoBoxTd">图片清晰度：</td>
            <td><asp:TextBox ID="UpSet_6" runat="server" Columns="6" CssClass="formTitle" Width="30px"></asp:TextBox> 1-100之间
            </td>
        </tr>
        <tr>
            <td class="infoBoxTd">水印图片路径：</td>
            <td><asp:TextBox ID="UpSet_2" runat="server" CssClass="formTitle" Width="300px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="infoBoxTd">水印位置：</td>
            <td>
                <asp:DropDownList ID="UpSet_3" runat="server" onchange="c(this.value);">
                    <asp:ListItem Value="0">右上</asp:ListItem>
                    <asp:ListItem Value="1">左上</asp:ListItem>
                    <asp:ListItem Value="2">左下</asp:ListItem>
                    <asp:ListItem Value="3">右下</asp:ListItem>
                    <asp:ListItem Value="4">居中</asp:ListItem>
                </asp:DropDownList>
                <div id="upset">
                <span id="UpSet_4_str"></span>
                <asp:TextBox ID="UpSet_4" runat="server" Width="30px" CssClass="formTitle"></asp:TextBox> px&nbsp;&nbsp;
                <span id="UpSet_5_str"></span>
                <asp:TextBox ID="UpSet_5" runat="server" Width="30px" CssClass="formTitle"></asp:TextBox> px
                </div>
            </td>
        </tr>
        <tr>
            <td class="infoBoxTd">
                比率相同自动生成略缩图</td>
            <td>
                <asp:CheckBox ID="UpSet_7" runat="server" />
            </td>
        </tr>
	</table>
	<a name="room"></a>
	<h1 onclick="g('hotel');"><img src="Images/icoAdd.gif" name="hotel"  /> 酒店选项设置</h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none" id="hotel">
		<tr>
			<td class="infoBoxTd">点评设置：</td>
			<td style="line-height:40px;padding:4px 10px 8px 10px;">
			最多上传<asp:TextBox ID="HotelReviews_0" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>张图片； 图片最小宽<asp:TextBox ID="HotelReviews_1" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px×高<asp:TextBox ID="HotelReviews_2" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px； 每张图片奖励<asp:TextBox ID="HotelReviews_3" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>元； 图片裁剪宽<asp:TextBox ID="HotelReviews_4" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px×高<asp:TextBox ID="HotelReviews_5" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px； 按比率生成略缩图<asp:TextBox ID="HotelReviews_6" runat="server" CssClass="formTextarea"></asp:TextBox>以"|"分割； 点评字数最少<asp:TextBox ID="HotelReviews_7" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>个字，最多<asp:TextBox ID="HotelReviews_8" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>个字； 总评分达到<asp:TextBox ID="HotelReviews_10" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>为中评，总评分达到<asp:TextBox ID="HotelReviews_9" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>为好评(最高为20)。
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">预订设置：</td>
			<td>
			最多提前<asp:TextBox ID="HotelAdvance" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>天预订
			最多预订<asp:TextBox ID="HotelMaxBooking" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>天
			</td>
		</tr>
		<tr>
			<td class="infoBoxTd">支持卡类：</td>
			<td><asp:TextBox ID="HotelSupportCards" runat="server" TextMode="MultiLine" Height="56px"  Width="400px" CssClass="formTextarea"></asp:TextBox> <span class="Dp">自定义多选择内容，请用“逗号”分开</span></td>
		</tr>
		<tr>
			<td class="infoBoxTd">服务项目：</td>
			<td><asp:TextBox ID="HotelServicesProject" runat="server" TextMode="MultiLine" Height="56px"  Width="400px" CssClass="formTextarea"></asp:TextBox> <span class="Dp">自定义多选择内容，请用“逗号”分开</span></td>
		</tr>
		<tr>
			<td class="infoBoxTd">餐饮服务：</td>
			<td><asp:TextBox ID="HotelCateringServices" runat="server" TextMode="MultiLine" Height="56px"  Width="400px" CssClass="formTextarea"></asp:TextBox> <span class="Dp">自定义多选择内容，请用“逗号”分开</span></td>
		</tr>
		<tr>
			<td class="infoBoxTd">休闲娱乐：</td>
			<td><asp:TextBox ID="HotelEntertainment" runat="server" TextMode="MultiLine" Height="56px"  Width="400px" CssClass="formTextarea"></asp:TextBox> <span class="Dp">自定义多选择内容，请用“逗号”分开</span></td>
		</tr>
		<tr>
			<td class="infoBoxTd">房间设施：</td>
			<td><asp:TextBox ID="HotelFacility" runat="server" TextMode="MultiLine" Height="56px"  Width="400px" CssClass="formTextarea"></asp:TextBox> <span class="Dp">自定义多选择内容，请用“逗号”分开</span></td>
		</tr>
	</table>
	<a name="attractions"></a>
	<h1 onclick="g('room');"><img src="Images/icoAdd.gif" name="room"  /> 酒店房型选项设置</h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none" id="room">
		<tr>
			<td class="infoBoxTd">床型：</td>
			<td><asp:TextBox ID="BedCategory" runat="server" TextMode="MultiLine" Height="56px"  Width="400px" CssClass="formTextarea"></asp:TextBox></td>
		</tr>
		<tr>
			<td class="infoBoxTd">默认房型名称：</td>
			<td><asp:TextBox ID="RoomCategory" runat="server" TextMode="MultiLine" Height="56px"  Width="400px" CssClass="formTextarea"></asp:TextBox></td>
		</tr>
	</table>
	<a name="line"></a>
	<h1 onclick="g('attractions');"><img src="Images/icoAdd.gif" name="attractions"  /> 景区选项设置</h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none" id="attractions">
		<tr>
			<td class="infoBoxTd">点评设置：</td>
			<td style="line-height:40px;padding:4px 10px 8px 10px;">
			最多上传<asp:TextBox ID="SceneryReviews_0" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>张图片； 图片最小宽<asp:TextBox ID="SceneryReviews_1" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px×高<asp:TextBox ID="SceneryReviews_2" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px； 每张图片奖励<asp:TextBox ID="SceneryReviews_3" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>元； 图片裁剪宽<asp:TextBox ID="SceneryReviews_4" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px×高<asp:TextBox ID="SceneryReviews_5" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px； 按比率生成略缩图<asp:TextBox ID="SceneryReviews_6" runat="server" CssClass="formTextarea"></asp:TextBox>以"|"分割； 点评字数最少<asp:TextBox ID="SceneryReviews_7" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>个字，最多<asp:TextBox ID="SceneryReviews_8" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>个字； 总评分达到<asp:TextBox ID="SceneryReviews_10" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>为中评，总评分达到<asp:TextBox ID="SceneryReviews_9" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>为好评(最高为20)。
			</td>
		</tr>
	</table>
	<h1 onclick="g('line');"><img src="Images/icoAdd.gif" name="line"  /> 度假线路设置</h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none" id="line">
		<tr>
			<td class="infoBoxTd">点评设置：</td>
			<td style="line-height:40px;padding:4px 10px 8px 10px;">
			最多上传<asp:TextBox ID="LineReviews_0" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>张图片； 图片最小宽<asp:TextBox ID="LineReviews_1" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px×高<asp:TextBox ID="LineReviews_2" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px； 每张图片奖励<asp:TextBox ID="LineReviews_3" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>元； 图片裁剪宽<asp:TextBox ID="LineReviews_4" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px×高<asp:TextBox ID="LineReviews_5" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>px； 按比率生成略缩图<asp:TextBox ID="LineReviews_6" runat="server" CssClass="formTextarea"></asp:TextBox>以"|"分割； 点评字数最少<asp:TextBox ID="LineReviews_7" runat="server" Width="30px"  CssClass="formTextarea"></asp:TextBox>个字，最多<asp:TextBox ID="LineReviews_8" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>个字；总评分达到<asp:TextBox ID="LineReviews_10" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>为中评，总评分达到<asp:TextBox ID="LineReviews_9" runat="server" Width="30px" CssClass="formTextarea"></asp:TextBox>为好评(最高为20)。
			</td>
		</tr>
	</table>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td class="infoBoxTd">&nbsp;</td>
			<td><asp:Button ID="Button1" runat="server" Text="保存" CssClass="formInput01" /></td>
		</tr>
	</table>
</div>
</form>
<script type="text/javascript">
    function AlertMap() {
        if ('<%=WebSet.MapbarKey %>' == '') {
            alert('请先填写密钥并提交后再标注!');return;
        }
        initMap();
        ShowWindow();
    }
    var maplet = null;
    function initMap() {
        maplet = new Maplet("mapbar");
        var nid = ($('#WebSet_25').val() == '' ? '116.38672,39.90805' : $('#WebSet_25').val()).split(',');
        maplet.centerAndZoom(new MPoint(nid[0], nid[1]), 8);
        maplet.addControl(new MStandardControl());
        MEvent.addListener(maplet, "edit", dragEnd);
        maplet.showOverview(false);
        if ($('#WebSet_25').val() != '') {
            var marker = new MMarker(new MPoint(nid[0], nid[1]), new MIcon("http://union.mapbar.com/apidoc/images/tb1.gif", 32, 32));
            maplet.addOverlay(marker); //添加标注到地图
            marker.setEditable(true); //设置标注可编辑
            maplet.setMode("pan"); //pan: 移动模式，参数为 MPoint 对象，表示为地图移动后的中心点对象。
        } else {
            maplet.setMode("bookmark", onBookmark);
        }
    }
    function onBookmark(dataObj) {
        $('#WebSet_25').val(dataObj.point.pid);
        var marker = new MMarker(dataObj.point, new MIcon("http://union.mapbar.com/apidoc/images/tb1.gif", 32, 32)); //创建标注
        maplet.addOverlay(marker); //添加标注到地图
        marker.setEditable(true); //设置标注可编辑
        maplet.setMode("pan"); //pan: 移动模式，参数为 MPoint 对象，表示为地图移动后的中心点对象。
    }
    function dragEnd(overlay) {
        $('#WebSet_25').val(overlay.pt.pid);
    }
function g(n)
{
    $('h1 img').attr('src','Images/icoAdd.gif');
    $('table[id]').hide();
    $('img[name="'+n+'"]').attr('src','Images/icoLess.gif');
    $('#'+n).show();
    $('li[n]').removeClass().addClass('sk1');
    $('li[n]:last').removeClass().addClass('sk2');
    $('li[n="'+n+'"]').removeClass();
	if(n!='basic')$('li[n="'+n+'"]').prev('li').removeClass().addClass('sk2')
}
function c(v)
{
    $('#upset').show();
    if(v==0)
    {
        $('#UpSet_4_str').html('距右:');
        $('#UpSet_5_str').html('距上:');
    }else if(v==1){
        $('#UpSet_4_str').html('距左:');
        $('#UpSet_5_str').html('距上:');
    }else if(v==2){
        $('#UpSet_4_str').html('距左:');
        $('#UpSet_5_str').html('距下:');
    }else if(v==3){
        $('#UpSet_4_str').html('距右:');
        $('#UpSet_5_str').html('距下:');
    }else{
        $('#upset').hide();
    }
}
</script>
</body>
</html>
