<html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--直播导航标签</title>
<LINK href="../css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script>
<!--#include file="../../Conn.asp" -->
<!--#include file="../YWNT_TMS_inc/YWNT_TMS_Function.asp" -->
<table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0>
  <tbody>
    <tr>
      <td colspan="4" class=xingmu>直播导航标签</td>
    </tr>
	  <form method="post" name="TvebForm">
    <tr>
      <td width="19%" height=32 align="right" class="hback">导航内容：</td>
      <td width="82%" height=32 colspan="3" class="hback"><input name="TVname" type="text" id="TVname" value="">
        <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.TvebForm.TVname.value=TempReturnValue;">
        <span style="color:#ff0000;">可是文字，也可是图片</span></td>
	 </tr>
	 <tr>
      <td height=32 align="right" class="hback">链接Css：</td>
      <td height=32 colspan="3" class="hback"><input name="CssClass" type="text"></td>
    </tr>
    <tr>
      <td height=32 colspan="4" align="center" class="hback"><input type="button" onClick="ok(this.form)" name="Submit" value="添加"></td>
    </tr>
	</form>
  </tbody>
</table>
<script language="JavaScript">
	function ok(obj)
	{
		var retV = '{$TvLeb(';
		retV+= formvalue2(obj.TVname.value) + ',';
		retV+= formvalue2(obj.CssClass.value) + ')';
		retV+='}';
		InsertLabel(retV)
	}
	function formvalue2(namevalue2)
{
	if(namevalue2=="")
	{
		namevalue2='""';
	}
	else
	{
	namevalue2='"'+namevalue2+'"'
	}
		return namevalue2;
}
<%if Request.QueryString("text")=1 then%>
function InsertLabel(LabelContent)
{
	window.returnValue=LabelContent;
	window.close();
}
window.onunload=SetReturnValue;
function SetReturnValue()
{
	if (typeof(window.returnValue)!='string') window.returnValue='';
}
<%else%>
function InsertLabel(LabelContent)
{
	var obj=dialogArguments.oUtil.obj;
	obj.insertHTML(LabelContent)
	window.close();
}
<%end if%>
</script>
</BODY></HTML>
