<!--#include file="../../Inc/Const.asp" -->
<!--#include file="../../Inc/Cls_DB.asp" -->
<%
Dim DBC,Conn
Set DBC = New DataBaseClass
Set Conn = DBC.OpenConnection()
Set DBC = Nothing
%>
<!--#include file="../../Inc/Session.asp" -->
<!--#include file="../../Inc/CheckPopedom.asp" -->
<%
if Not JudgePopedomTF(Session("Name"),"P0302") then Call ReturnError()
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>栏目导航属性选择</title>
</head>
<link rel="stylesheet" href="../Inc/ModeWindow.css">
<script language="JavaScript" src="../JS/PublicJS.js"></script>
<body topmargin="0" leftmargin="0" scroll="no">
<div align="center">
  <table width="96%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td width="50%" height="30">排列数量 
        <input name="RowNumber" type="text" style="width:70%;" value="10"></td>
      <td height="30">标题样式 
        <input type="text" style="width:70%;" name="CSSStyle"> 
      </td>
    </tr>
    <tr> 
      <td height="30" colspan="2">导航图片 
        <input type="text" readonly  style="width:63%;" name="NaviPic">
        <input type="button" onClick="OpenWindowAndSetValue('../inc/SelectPic.asp?CurrPath=/<% = UpFiles %>&ShowVirtualPath=true',550,290,window,document.all.NaviPic);" name="Submit" value="选择图片"></td>
    </tr>
    <tr> 
      <td height="30" colspan="2">分隔图片 
        <input type="text" readonly style="width:63%;" name="CompatPic">
        <input type="button" name="Submit3" onClick="OpenWindowAndSetValue('../inc/SelectPic.asp?CurrPath=/<% = UpFiles %>&ShowVirtualPath=true',550,290,window,document.all.CompatPic);" value="选择图片"></td>
    </tr>
    <tr> 
      <td height="30">文字导航 
        <input type="text" name="TxtNavi" style="width:70%;"></td>
      <td height="30">弹出窗口 
        <select style="width:70%;" name="OpenType">
          <option value="0" selected>否</option>
          <option value="1">是</option>
        </select></td>
    </tr>
    <tr> 
      <td height="30"><div align="center"> 
          <input name="Submitsdfds" onClick="InsertScript();" type="button" id="Submitsdfds" value=" 确 定 ">
        </div></td>
      <td height="30"><div align="center"> 
          <input type="button" onClick="window.close();" name="Submit2" value=" 取 消 ">
        </div></td>
    </tr>
  </table>
</div>
</body>
</html>
<script language="JavaScript">
function InsertScript()
{
	var NaviPicStr='';
	var CompatPicStr='';
	var RowNumberStr='';
	var OpenTypeStr='';
	var CSSStyleStr='';
	NaviPicStr=document.all.NaviPic.value;
	CompatPicStr = document.all.CompatPic.value;
	if (document.all.RowNumber.value=='') RowNumberStr='10';
	else RowNumberStr=document.all.RowNumber.value;
	OpenTypeStr=document.all.OpenType.value;
	CSSStyleStr=document.all.CSSStyle.value;
	var TxtNaviStr=document.all.TxtNavi.value;
	window.returnValue='{%=ClassNavi("'+NaviPicStr+'","'+CompatPicStr+'","'+RowNumberStr+'","'+OpenTypeStr+'","'+CSSStyleStr+'","'+TxtNaviStr+'")%}';
	window.close();
}
window.onunload=SetReturnValue;
function SetReturnValue()
{
	if (typeof(window.returnValue)!='string') window.returnValue='';
}
</script>