<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from ob where object_open=1 and object_print='middle' order by object_num"
rs.Open sql,conn,1,1
renum=rs.recordcount
%>
<td name="middle" height="835" width="583" valign="top" >
				<table cellpadding="0" cellspacing="0"  width="581" style="border-right: 1px solid #E3E3E3;border-bottom: 1px solid #E3E3E3" >
				<!-- MSTableType="nolayout" -->
				<tr>
					<td width="322" valign="top" >
					<table cellpadding="0" cellspacing="0" width="322"  height="187">
						<!-- MSTableType="nolayout" -->
						<tr>
							<td height="38"><img border="0" src="best_bg01.gif" width="322" height="38"></td>
						</tr>
						<tr>
							<td width="321" style="border-left:1px solid  #E3E3E3;" align="center" height="100%">m</td>
						</tr>
					</table>
					</td>
					<td width="26" valign="top" height="0" ><img border="0" src="left_bardj.gif" width="26" height="188"></td>
					<td width="232" valign="top" height="0">
					<table cellpadding="0" cellspacing="0" width="100%" height="54%" id="table6">
						<!-- MSTableType="nolayout" -->
						<tr>
							<td width="100%" valign="top"><img border="0" src="title_cd.gif"></td>
						</tr>
						<tr>
							<td height="63%" width="100%"></td>
						</tr>
					</table>
					</td>
				</tr>
				</table>

<%
set rs_middle=server.CreateObject("adodb.recordset")
'-----------------------------------------------------------Êä³öÄ£¿é
for n_object=1 to renum
num=rs("object_num")
id=rs("object_id")
op=rs("object_option")
name=rs("object_name")
print=rs("object_print")
n_qu=rs("object_qu")

show_=split(rs("object_show"),",",-1,1)
show=show_(0)
if show="gundong" then
de=show_(1)
ti=show_(2)
if de="left" or de="right" then show="gundong_left"
if de="up" or de="down" then show="gundong_up"
end if

include("object/"&print&"_"&op&".asp")
rs.movenext
next
'-----------------------------------------------------------
set rs_middle=nothing

response.write n_object
%>
</td>
<%
rs.close
set rs=nothing
%>