<br>
<form  name=object_style action="admin_object_edit_style_handle.asp?id=<%=MySys.object.object_id%>" method=post>
		<table cellpadding="3" cellspacing="3" width="90%" height="30" align=center style='border:1px solid #ebebeb' >
			<tr>
			  <td align=left><img src="Images/icon_info.gif" width="13" height="13" hspace="5" align="absmiddle">
				  <select name=object_style_default type= text >
				<option value=1 <%if MySys.object.object_style_default=1 then response.write "selected"%>>继承上级栏目样式</option>
				<option value=0 <%if MySys.object.object_style_default=0 then response.write "selected"%>>自定义栏目样式</option>
				  </select>
				      <input onclick='document.object_style.target="_self";object_style.action="admin_object_edit_style_handle.asp?id=<%=MySys.object.object_id%>"' type="submit" name="Submit" value="提交样式修改">
				  <input type="reset" name="Submit2" value="重置"></td>
			</tr>
		</table>
		<br>
		<%
		dim d(6)
		dim n(6)
		dim des(6)
		
		rs.open "select * from jins_object_style where object_id="&MySys.object.object_id&" ",conn,1,1
		if not rs.eof then
		d(0)=rs("style_table")
		d(1)=rs("style_link")
		d(2)=rs("style_hover")
		d(3)=rs("style_visited")
		d(4)=rs("style_input")
		d(5)=rs("style_property")

		end if
		rs.close
		
		n(0)="table"
		n(1)="link"
		n(2)="hover"
		n(3)="visited"
		n(4)="input"
		n(5)="property"
		
		des(0)="表格基本样式"
		des(1)="普通链接样式"
		des(2)="当前链接样式"
		des(3)="已访问链接样式"
		des(4)="输入框样式"
		des(5)="其他样式"
		
		%>
		<table cellpadding="3" cellspacing="3" width="90%" height="30" align=center style='border:1px solid #ebebeb' >
		
		<%for ii_show=0 to 5%>
		
			<tr align="left" >
				<td height=30 colspan="2" valign="middle">
				<img alt='点击弹开样式编辑框' onclick="opencat(style_<%=n(ii_show)%>_open)" style='CURSOR: hand' src="Images/index_search.gif" width="8" height="16" hspace="5" align="absmiddle"><font color="#EBEBEB">|</font><a title='点击开始编辑！' href="javascript:object_style.target='admin_object_edit_style';object_style.action='admin_object_edit_style_editwindow.asp?back=style_<%=n(ii_show)%>';newwin=window.open('','admin_object_edit_style','toolbar=no,location=no,status=no, menubar=no,scrollbars=no,resizable=no,width=300,height=320');object_style.submit();newwin.focus();" ><img border="0" src="Images/icon07.gif" width="21" height="15" align="absmiddle" hspace="3"></a><font color="#EBEBEB">|</font>  <%=des(ii_show)%></td>
			</tr>
			<tr id="style_<%=n(ii_show)%>_open" style="display:none">
			    <td colspan="2" align=left><textarea name="style_<%=n(ii_show)%>" cols="75" rows="5"><%=d(ii_show)%></textarea></td>
			</tr>
		<%if ii_show<5 then%>
			<tr>
			    <td height='1' colspan="2" background='images/dot03.gif'></td>
			</tr>
		<%end if%>	
		<%next%>	
		
			
		</table>
</form>