<table cellpadding="0" cellspacing="0" width="583" style="padding-top: 1px;">
<tr>
<td>
<%
rs_middle.open "select * from jins_ads where object_id="&object_id_middle&" ",conn,1,1
if not rs_middle.eof then
if rs_middle("ads_flash")<>1 then
response.write "<a  target='_blank' href='"&rs_middle("ads_url")&"'><img alt='"&rs_middle("ads_alt")&"' border='0' src='"&rs_middle("ads_src")&"' width='"&rs_middle("ads_width")&"' height='"&rs_middle("ads_height")&"'></a>"
else
response.write "<a  target='_blank' href='"&rs_middle("ads_url")&"'><object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='"&rs_middle("ads_width")&"' height='"&rs_middle("ads_height")&"'>"
response.write "	<param name='movie' value='"&rs_middle("ads_src")&"'>"
response.write "	<param name='quality' value='High'>"
response.write "	<embed src='"&rs_middle("ads_src")&"' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='obj1' width='"&rs_middle("ads_width")&"' height='"&rs_middle("ads_height")&"'>"
response.write "</object></a>"
end if
end if
rs_middle.close
%>
</td>
</tr>
</table>