<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<html>
<head>
<title>公告标签管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../images/skin/2.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../../../js/web_PublicJS.js"></script>
<base target=self>
</head>
<!--#include file="../../include.asp"-->
<body class="hback">
<table width="98%" height="100" border="0" align=center cellpadding="3" cellspacing="1" class="table" valign=absmiddle>
  <form  name="form1" method="post">
    <tr class="hback" >
      <td colspan="2"  align="Left" class="xingmu"><div style="float:left"><strong>公告标签创建</strong></div>
          <div style="float:right" align="right">
            <input name="button4" type="button" onClick="window.returnValue='';window.close();" value="关闭">
        </div></td> 
    </tr>
    <tr class="hback"  style="font-family:宋体" > 
      <td width="20%" align="center" class="hback" ><div align="right">显示格式</div></td>
      <td width="80%" class="hback" > <select name="out_char" id="out_char" onChange="selectHtml_express(this.options[this.selectedIndex].value);">
          <option value="out_Table">普通格式</option>
          <!--<option value="out_DIV">DIV+CSS格式</option>-->
          <!--<option>RSS格式保留</option>-->
        </select></td>
    </tr>
    <tr class="hback" > 
      <td class="hback"  align="center"><div align="right">公告列表类型</div></td>
      <td class="hback" >
	  <select  name="labelStyle" onChange="ChooseNoticeType(this.options[this.selectedIndex].value);">
       　 <option value='0' style="background:#666666; color:#FFFFFF" selected>-------全部分类-------</option>
		  <option value="LastNotice" selected>├┄公告列表</option>
          <option value="MarNotice">├┄滚动公告</option>
          <option value="" style="background:#666666; color:#FFFFFF">--------终极类--------</option>
          <option value="NoticeClassList">├┄终极公告列表</option>
        </select> <span class="tx"></span> </td>
    </tr>
    <tr class="hback" style="display:none"> 
      <td align="center" class="hback"><div align="right">图片公告</div></td>
      <td class="hback" ><label>
        <select name="NoticePicTF" id="NoticePicTF">
          <option value="0" selected>否</option>
          <option value="1">是</option>
        </select>
      </label></td>
    </tr>
    <tr class="hback" id="specialEName_col" style="display:none"> 
      <td class="hback"  align="center"><div align="right">专题列表</div></td>
      <td class="hback" > <select id="specialEName"  name="specialEName" disabled>
          <option value="">请选择专题</option>
          <%#@~^FgAAAA==~EPsm4V{kw^kmVmSb/O~wgcAAA==^#~@%>
        </select> <span class="tx">如果不选择，则为所有专题导航</span> </td>
    </tr>
    <tr class="hback" id="ClassName_col" style="display:none"> 
      <td class="hback"  align="center"><div align="right">栏目列表</div></td>
      <td class="hback" > 
	<select name="ClassID" id="ClassID">
		<option value='0' style="background:#666666; color:#FFFFFF" selected>-------全部分类-------</option>
	</select>
	<aainput  name="aaClassName" type="text" id="aaClassName" size="12" readonly> 
        <aainput name="aaClassID" type="hidden" id="aaClassID"> <aaainput name="button2" type="button" onClick="SelectClass();" value="选择栏目">
        <span class="tx">选择公告牌分类，如果不选择则显示所有的公告（类型为“所有公告”除外）。</span></td>
    </tr>
    <tr class="hback"  id="div_id" style="font-family:宋体;display:none;" > 
      <td rowspan="2"  align="center" class="hback"><div align="right"></div>
        <div align="right">DIV控制</div></td>
      <td class="hback" >&lt;div id=&quot; <input name="DivID" disabled type="text" id="DivID" size="6"  style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000" title="前台生成DIV调用的ID号，请在CSS中预先定义。不能为空"> 
        &quot; class=&quot; <input name="Divclass"  type="text" id="Divclass" size="6"  disabled style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000" title="前台生成DIV调用的Class名称，请在CSS中预先定义。可以为空!!"> 
        &quot;&gt; &lt;ul id=&quot; <input name="ulid"  disabled type="text" id="ulid" size="6" style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000"  title="前台生成ul调用的ID，请在CSS中预先定义。可以为空!!"> 
        &quot; class=&quot; <input name="ulclass"  type="text" id="ulclass" size="6" disabled style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000" title="前台生成ul调用的class名称，请在CSS中预先定义。可以为空!!"> 
        &quot;&gt; </td>
    </tr>
    <tr class="hback" id="ul_id" style="font-family:宋体;display:none;"> 
      <td class="hback" >&lt;li id=&quot; <input name="liid" disabled type="text" id="liid" size="6"  style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000" title="前台生成li调用的ID，请在CSS中预先定义。可以为空!!"> 
        &quot; class=&quot; <input name="liclass"  type="text" id="liclass" size="6" disabled style="	border-top-width: 0px;	border-right-width: 0px;	border-bottom-width: 1px;border-left-width: 0px;border-bottom-color: #000000"  title="前台生成li调用的class名称，请在CSS中预先定义。可以为空!!"> 
        &quot;&gt; </td>
    </tr>
    <tr class="hback" > 
      <td class="hback"  align="center"><div align="right">显示范围</div></td>
      <td class="hback" >只显示 
        <input name="DateNumber"  type="text" id="DateNumber" value="0" size="5">
        天内的公告.<span class="tx">如果输入为0，则显示所有时间内的品牌。</span></td>
    </tr>
    <tr class="hback" > 
      <td class="hback"  id="NoticeNum" align="center"><div align="right">标题字数</div></td>
      <td class="hback" ><input name="TitleNumber" type="text" id="TitleNumber" value="30" size="5">
      <span class="tx">（以汉字为单位，每个汉字占2个字符。）</span>　 </td>
    </tr>
    <tr class="hback" > 
      <td class="hback"  id="NoticeNum" align="center"><div align="right">公告调用数量</div></td>
      <td class="hback" > <input id="NoticeNumber"  name="NoticeNumber" type="text" size="12" value="10">
      <span class="tx">调用品牌的前台显示数量，此项如果先前选择终极品牌或者终极专题则无效。</span></td>
    </tr>
    <tr class="hback"> 
      <td class="hback" align="center"><div align="right">公告排列列数</div></td>
      <td class="hback" >
	  <select name="ColsNumber" id="select">
          <option value="1" selected>1</option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
          <option value="5">5</option>
          <option value="6">6</option>
          <option value="7">7</option>
          <option value="8">8</option>
          <option value="9">9</option>
          <option value="10">10</option>
          <option value="11">11</option>
          <option value="12">12</option>
          <option value="13">13</option>
          <option value="14">14</option>
          <option value="15">15</option>
          <option value="16">16</option>
          <option value="17">17</option>
          <option value="18">18</option>
          <option value="19">19</option>
          <option value="20">20</option>
        </select>
	  <span class="tx">品牌一行的显示数量，如果是DIV+CSS请在CSS里控制条数（子类活动列表一行只能显示一个） 。</span></td>
    </tr>
    <tr class="hback"   id="c_ColsNum" style="display:none"> 
      <td class="hback" align="center"><div align="right">栏目显示列数</div></td>
      <td class="hback" >
	  <select name="sub_colsnum" id="sub_colsnum" disabled>
          <option value="1" selected>1</option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
          <option value="5">5</option>
          <option value="6">6</option>
          <option value="7">7</option>
          <option value="8">8</option>
        </select>
	  背景图片
	  <input name="bg_pic" type="text" id="bg_pic" disabled>
	  <span class="tx">仅适用于子类列表</span></td>
    </tr>
    <tr class="hback"  style="display:none"> 
      <td class="hback"  id="c_ColsNum" align="center"><div align="right">包含子类</div></td>
      <td class="hback" ><select name="SubTF" id="SubTF">
          <option value="1">是</option>
          <option value="0" selected>否</option>
        </select>
        <span class="tx">建议不要选择，否则品牌生成速度会大幅度降低，同时将大量占用服务器资源和内存。</span></td>
    </tr>
    <tr class="hback" > 
      <td class="hback"  id="Num" align="center"><div align="right">排序字段</div></td>
      <td class="hback" > <select id="OrderType"  name="OrderType">
          <option value="N_addtime" selected>点击次数</option>
        </select> 　
      　排序方式 
        <select id="orderby"  name="orderby">
          <option value="ASC">升序</option>
          <option value="DESC" selected>降序</option>
        </select>&nbsp;<span id="last_desc" class="tx"></span> </td>
    </tr>
    <tr class="hback" id="More_col"> 
      <td class="hback"  id="PageStyle_1" align="center"><div align="right">更多链接</div></td>
      <td class="hback" ><input  name="More_char" type="text" id="More_char" value="·" size="25"> 
        　　打开窗口： 
          <select name="Openstyle" id="Openstyle">
          <option value="0" selected>原窗口</option>
          <option value="1">新窗口</option>
        </select><span class="tx"><br>
        请输入html语法，如：&lt;img src=&quot;/files/more.gif&quot; border='0'&gt;</span></td>
    </tr>
    <tr class="hback" id="PageStyle_col" style="display:none"> 
      <td class="hback"   align="center"><div align="right">是否分页</div></td>
      <td class="hback" ><input name="PageTF" type="checkbox" id="PageTF" value="1" disabled>
        　 分页样式 
        <input id="PageStyle"  name="PageStyle" type="text" size="9" value='3,CC0066'  disabled> 
        <input name="button" type="button" id="SetPage" onClick="OpenPageStyle(this.form.PageStyle)" value="设置" disabled>
        　每页数量 
        <input id="PageNumber"  name="PageNumber" type="text" size="4" value="30" disabled>
        　<span id="page_css" style="display:">分页CSS 
        <input id="PageCSS" name="PageCSS" type="text" size="5">
        </span> <span class="tx">仅适用终极分类</span></td>
    </tr>
    <tr class="hback" id="Mar_cols" style="display:none"> 
      <td class="hback"  id="ScrollSpeed" align="center"><div align="right">滚动速度</div></td>
      <td class="hback" ><input id="MarqueeSpeed"  name="MarqueeSpeed" type="text" size="12" value='8'  disabled>
        　滚动方向 
        <select id="MarqueeDirection"  name="MarqueeDirection" disabled>
          <option value="up">向上</option>
          <option value="down">向下</option>
          <option value="left" selected>向左</option>
          <option value="right">向右</option>
        </select>
        <span style="display:none">选择样式</span>
        <select name="Marqueestyle" id="Marqueestyle" disabled style="display:none">
          <option value="0" selected>滚动</option>
          <option value="1">闪动</option>
        </select> &nbsp;<input id="Marqueewh"  name="Marqueewh" type="text" size="12" value='100' disabled>
        定义滚动框架的高度</td>
    </tr>
    <tr class="hback" > 
      <td class="hback"  id="NoticeStyle" align="center"><div align="right">日期格式</div></td>
      <td class="hback" ><input name="DateType" type="text" id="DateType" value="YY02年MM月DD日" size="20">
      <span class="tx">格式：YY02代表2位的年份（如 07），YY04表示4位数的年份（如 2007），MM代表月，DD代表日，HH代表小时，MI代表分，SS代表秒。</span></td>
    </tr>
    <tr class="hback" > 
      <td class="hback"  align="center"><div align="right">调用样式</div></td>
      <td class="hback" align="center"><div align="left"> 
          <select id="NoticeStyle"  name="NoticeStyle" style="width:55%">
            <%=#@~^FgAAAA==~V+O|/DXV{dr/D`E1UJb~IQcAAA==^#~@%>
          </select>
          <input name="button3" type="button" id="button" onClick="showModalDialog('all_style_read.asp?ID='+document.form1.NoticeStyle.value,'WindowObj','dialogWidth:420pt;dialogHeight:180pt;status:yes;help:no;scroll:yes;');" value="查看">
          <span class="tx">请在功能标签系统中运用相关联的品牌样式。</span></div></td>
    </tr>
    <tr class="hback" > 
      <td class="hback" align="center" height="30"><div align="right">内容字数限制</div></td>
      <td height="30" align="center" class="hback"><div align="left">公告详细内容 
              <input name="contentnumber" type="text" id="contentnumber" value="200" size="12">
          公告简述内容 
          <input name="navinumber" type="text" id="navinumber" value="200" size="12">
        （以汉字为单位）</div></td>
    </tr>
    <tr class="hback" > 
      <td class="hback"  colspan="3" align="center" height="30"> <input name="button" type="button" onClick="ok(this.form);" value="确定创建此标签"> 
        <input name="button" type="button" onClick="window.returnValue='';window.close();" value=" 取 消 ">      </td>
    </tr>
  </form>
</table>

</body>
<%#@~^GgAAAA==~@#@&vU+DPZKx	xxKY4k	o@#@&gwYAAA==^#~@%>
</html>
<script language="JavaScript" type="text/JavaScript">
function ChooseNoticeType(NoticeType)
{	switch (NoticeType)
	{
		case "ClassNotice":
			document.getElementById('last_desc').innerHTML=""
			returnChooseType();
			break;
		case "LastNotice":
			document.getElementById('OrderType').value='AddTime';
			document.getElementById('last_desc').innerHTML=""
			returnChooseType();
			break;
		case "HotNotice":
			document.getElementById('last_desc').innerHTML=""
			returnChooseType();
			break;
		case "RecNotice":
			document.getElementById('last_desc').innerHTML=""
			returnChooseType();
			break;
		case "DayNotice":
			document.getElementById('last_desc').innerHTML=""
			returnChooseType();
			break;
		case "BriNotice":
			document.getElementById('last_desc').innerHTML=""
			returnChooseType();
			break;
		case "AnnNotice":
			document.getElementById('last_desc').innerHTML=""
			returnChooseType();
			break;
		case "ConstrNotice":
			document.getElementById('last_desc').innerHTML=""
			returnChooseType();
			break;
		case "SpecialNotice":
			document.getElementById('ClassName_col').disabled=false;
			document.getElementById('PageStyle_col').disabled=true;
			document.getElementById('SetPage').disabled=true;
			document.getElementById('PageTF').disabled=true;
			document.getElementById('PageStyle').disabled=true;
			document.getElementById('PageNumber').disabled=true;
			document.getElementById('Mar_cols').disabled=true;
			//document.getElementById('ClassName_col').style.display='';
			document.getElementById('Mar_cols').style.display='none';
			document.getElementById('PageStyle_col').style.display='none';
			document.getElementById('More_col').style.display='';
			document.getElementById('More_char').disabled=false;
			document.getElementById('MarqueeSpeed').disabled=true;
			document.getElementById('MarqueeDirection').disabled=true;
			document.getElementById('Marqueewh').disabled=true;
			document.getElementById('ColsNumber').value='1';
			document.getElementById('specialEName_col').style.display='';
			document.getElementById('specialEName').disabled=false;
			document.getElementById('ClassID').disabled=true;
			document.getElementById('ColsNumber').disabled=false;
			document.getElementById('sub_colsnum').disabled=true;
			document.getElementById('bg_pic').disabled=true;
			document.getElementById('c_ColsNum').style.display='none';
			break;
		case "MarNotice":
			
			//document.getElementById('ClassName_col').disabled=false;
			document.getElementById('PageStyle_col').disabled=true;
			document.getElementById('SetPage').disabled=true;
			document.getElementById('PageTF').disabled=true;
			document.getElementById('PageStyle').disabled=true;
			document.getElementById('PageNumber').disabled=true;
			document.getElementById('PageNumber').disabled=true;
			document.getElementById('Mar_cols').disabled=false;
			//document.getElementById('ClassName_col').style.display='';
			document.getElementById('NoticeNumber').disabled=false;
			document.getElementById('PageStyle_col').style.display='none';
			document.getElementById('More_col').style.display='';
			document.getElementById('More_char').disabled=false;
			document.getElementById('MarqueeSpeed').disabled=false;
			document.getElementById('MarqueeDirection').disabled=false;
			document.getElementById('Marqueewh').disabled=false;
			//document.getElementById('Marqueestyle').disabled=false;
			//document.getElementById('ColsNumber').value='10';
			document.getElementById('ColsNumber').disabled=true;
			document.getElementById('specialEName_col').style.display='none';
			document.getElementById('specialEName').disabled=true;
			document.getElementById('ClassID').disabled=false;
			document.getElementById('sub_colsnum').disabled=true;
			document.getElementById('bg_pic').disabled=true;
			document.getElementById('c_ColsNum').style.display='none';
			document.getElementById('Mar_cols').style.display='';			
			
			break;
		case "NoticeClassList":
			//document.getElementById('ClassName_col').disabled=true;
			document.getElementById('Mar_cols').disabled=true;
			document.getElementById('PageStyle_col').disabled=false;
			document.getElementById('SetPage').disabled=false;
			document.getElementById('PageTF').disabled=false;
			document.getElementById('PageStyle').disabled=false;
			document.getElementById('PageNumber').disabled=false;
			document.getElementById('NoticeNumber').disabled=true;
			//document.getElementById('ClassName_col').style.display='none';
			document.getElementById('Mar_cols').disabled='';
			document.getElementById('PageStyle_col').style.display='';
			document.getElementById('More_col').style.display='none';
			document.getElementById('MarqueeSpeed').disabled=true;
			document.getElementById('MarqueeDirection').disabled=true;
			document.getElementById('Marqueewh').disabled=true;
			document.getElementById('More_char').disabled=true;
			document.getElementById('ColsNumber').value='1';
			document.getElementById('ClassID').disabled=true;
			document.getElementById('specialEName_col').style.display='none';
			document.getElementById('specialEName').disabled=true;
			document.getElementById('ColsNumber').disabled=false;
			document.getElementById('sub_colsnum').disabled=true;
			document.getElementById('bg_pic').disabled=true;
			document.getElementById('c_ColsNum').style.display='none';
			break;
	}
 }
function returnChooseType()
	{		document.getElementById('NoticeNumber').disabled=false;
			//document.getElementById('ClassName_col').disabled=false;
			document.getElementById('PageStyle_col').disabled=true;
			document.getElementById('SetPage').disabled=true;
			document.getElementById('PageTF').disabled=true;
			document.getElementById('PageStyle').disabled=true;
			document.getElementById('PageNumber').disabled=true;
			document.getElementById('Mar_cols').disabled=true;
			//document.getElementById('ClassName_col').style.display='';
			document.getElementById('Mar_cols').style.display='none';
			document.getElementById('PageStyle_col').style.display='none';
			document.getElementById('More_col').style.display='';
			document.getElementById('More_char').disabled=false;
			document.getElementById('ClassID').disabled=false;
			document.getElementById('ColsNumber').value='1';
			document.getElementById('MarqueeSpeed').disabled=true;
			document.getElementById('MarqueeDirection').disabled=true;
			document.getElementById('Marqueewh').disabled=true;
			document.getElementById('specialEName_col').style.display='none';
			document.getElementById('specialEName').disabled=true;
			document.getElementById('ColsNumber').disabled=false;
			document.getElementById('sub_colsnum').disabled=true;
			document.getElementById('bg_pic').disabled=true;
			document.getElementById('c_ColsNum').style.display='none';
	}
function selectHtml_express(Html_express)
{
	switch (Html_express)
	{
	case "out_Table":
		document.getElementById('div_id').style.display='none';
		document.getElementById('ul_id').style.display='none';
		document.getElementById('DivID').disabled=true;
		document.getElementById('Divclass').disabled=true;
		document.getElementById('ulid').disabled=true;
		document.getElementById('ulclass').disabled=true;
		document.getElementById('liid').disabled=true;
		document.getElementById('liclass').disabled=true;
		document.getElementById('page_css').style.display='';
		break;
	case "out_DIV":
		document.getElementById('div_id').style.display='';
		document.getElementById('ul_id').style.display='';
		document.getElementById('page_css').style.display='none';
		document.getElementById('DivID').disabled=false;
		document.getElementById('Divclass').disabled=false;
		document.getElementById('ulid').disabled=false;
		document.getElementById('ulclass').disabled=false;
		document.getElementById('liid').disabled=false;
		document.getElementById('liclass').disabled=false;
		break;
	}
}
function ShowTempLayer(oDiv){
	var obj=document.getElementById(oDiv);
	obj.style.display = '';
	obj.style.width = 280;
	obj.style.height = 120;
	obj.style.top = parseInt(document.body.scrollTop+event.clientY)-100;
	obj.style.left = parseInt(event.clientX)-280;
}
function SelectClass()
{
	/*var ReturnValue='',TempArray=new Array();
	ReturnValue = OpenWindow('../Notice/lib/SelectClassFrame.asp',400,300,window);
	'if (ReturnValue.indexOf('***')!=-1)
	'{
	'	TempArray = ReturnValue.split('***');
	'	document.all.ClassID.value=TempArray[0]
	'	document.all.ClassName.value=TempArray[1]
	'}*/
}
function OpenPageStyle(obj){
	var ret = OpenWindow("Web_Page_style.asp",200,200,"page");
	if(ret!='')obj.value = ret;
}
function GetObj(s){
	return document.getElementById(s);
}
function IsDisabled(oName){
	if(GetObj(oName).disabled == true){
		return true;
	}else{
		return false;
	}
}
var G_CanSave = true;
var G_Save_Msg = '';
function ok(obj){
	var ssid,tmpstring;
	ssid=obj.ClassID.value
	tmpstrimg=ssid.split("|")
	//if(obj.labelName.value == ''){alert('请输入标签名称');obj.labelName.focus();return false;}
	if(obj.NoticeStyle.value == ''){alert('请填写引用样式!!\n如果还没建立，请在样式管理中建立');obj.NoticeStyle.focus();return false;}
	if(obj.labelStyle.value=='LastNotice')
		{
			//if(obj.ClassName.value==''){alert('请选择栏目');obj.ClassName.focus();return false;}
		}
	if(obj.labelStyle.value=='SpecialNotice')
		{
			if(obj.specialEName.value==''){alert('请选择专题');obj.specialEName.focus();return false;}
		}
	if(obj.labelStyle.value=='MarNotice')
		{
			if(isNaN(obj.MarqueeSpeed.value)==true){alert('滚动速度请填写数字');obj.MarqueeSpeed.focus();return false;}
		}
	if(obj.contentnumber.value==''){alert('请填写内容显示字符数\n中文占2个字符');obj.contentnumber.focus();return false;}
	if(obj.navinumber.value==''){alert('请填写公告导航显示字符数\n中文占2个字符');obj.navinumber.focus();return false;}
	if(isNaN(obj.NoticeNumber.value)==true){alert('调用数量必须为数字');obj.NoticeNumber.focus();return false;}
	if(isNaN(obj.contentnumber.value)==true){alert('内容显示字数请用数字');obj.contentnumber.focus();return false;}
	if(isNaN(obj.navinumber.value)==true){alert('导航显示字数请用数字');obj.navinumber.focus();return false;}
	if(obj.PageStyle.value == '')obj.PageStyle.value=',CC0066';
	var retV = '{Web:NS=';
	retV+=obj.labelStyle.value + '┆';
	/*if(!IsDisabled('NoticePicTF')) retV+='图片公告$' + obj.NoticePicTF.value + '┆';*/
	if(!IsDisabled('specialEName')) retV+='专题$' + obj.specialEName.value + '┆';
	//if(!IsDisabled('ClassID')) retV+='栏目$' + tmpstrimg[0] + '┆';
	if (obj.labelStyle.value!='ClassList'&&obj.labelStyle.value!='SpecialList')
	{
	if(!IsDisabled('NoticeNumber')) retV+='Loop$'+ obj.NoticeNumber.value + '┆';
	}
	if(!IsDisabled('out_char')) retV+='输出格式$' + obj.out_char.value + '┆';
	if(!IsDisabled('DivID')) retV+='DivID$' + obj.DivID.value + '┆';
	if(!IsDisabled('Divclass')) retV+='DivClass$' + obj.Divclass.value + '┆';
	if(!IsDisabled('ulid')) retV+='ulid$' + obj.ulid.value + '┆';
	if(!IsDisabled('ulclass')) retV+='ulclass$' + obj.ulclass.value + '┆';
	if(!IsDisabled('liid')) retV+='liid$' + obj.liid.value + '┆';
	if(!IsDisabled('liclass')) retV+='liclass$' + obj.liclass.value + '┆';
	if(!IsDisabled('DateNumber')) retV+='多少天$' + obj.DateNumber.value + '┆';
	if(!IsDisabled('TitleNumber')) retV+='标题数$' + obj.TitleNumber.value + '┆';
	/*if(!IsDisabled('PicTF')) retV+='图文标志$' + obj.PicTF.value + '┆';*/
	if(!IsDisabled('Openstyle')) retV+='打开窗口$' + obj.Openstyle.value + '┆';
	//if(!IsDisabled('SubTF')) retV+='包含子类$' + obj.SubTF.value + '┆';
	if(!IsDisabled('OrderType')) retV+='排列字段$' + obj.OrderType.value + '┆';
	if(!IsDisabled('orderby')) retV+='排列方式$' + obj.orderby.value + '┆';
	if(!IsDisabled('More_char')) retV+='更多连接$' + obj.More_char.value + '┆';
	if(!IsDisabled('PageTF')){
		if (obj.PageTF.checked){
			retV+='分页$' + obj.PageTF.value + '┆';
		}else{
			retV+='分页$0┆';
		}
	}
	if(!IsDisabled('PageStyle')) retV+='分页样式$' + obj.PageStyle.value + '┆';
	if(!IsDisabled('PageNumber')) retV+='每页数量$' + obj.PageNumber.value + '┆';
	if(!IsDisabled('PageCSS')) retV+='PageCSS$' + obj.PageCSS.value + '┆';
	if(!IsDisabled('DateType')) retV+='日期格式$' + obj.DateType.value + '┆';
	if(!IsDisabled('NoticeStyle')) retV+='引用样式$' + obj.NoticeStyle.value + '┆';
	if(!IsDisabled('bg_pic')) retV+='背景底纹$' + obj.bg_pic.value + '┆';
	if(!IsDisabled('sub_colsnum')) retV+='栏目排列数$' + obj.sub_colsnum.value + '┆';
	retV+='公告排列数$' + obj.ColsNumber.value + '┆';
	retV+='内容字数$' + obj.contentnumber.value + '┆';
	if(obj.labelStyle.value=='MarNotice')
	{retV+='导航字数$' + obj.navinumber.value + '┆';}
	else
	{retV+='导航字数$' + obj.navinumber.value +'';}
	if(!IsDisabled('MarqueeSpeed')) retV+='滚动速度$' + obj.MarqueeSpeed.value + '┆';
	if(!IsDisabled('MarqueeDirection')) retV+='滚动方向$' + obj.MarqueeDirection.value +'┆';
	if(!IsDisabled('Marqueewh')) retV+='滚动高度$' + obj.Marqueewh.value +'';
	retV+='}';
	window.parent.returnValue = retV;
	window.close();
}
</script> 


 
 

