<%rs.open "select top 20 a.id,a.SmallPicture from Content a left join ContentType b on a.TypeID=b.TypeID where a.IsStop=0 and a.MenuCode in (select MenuCode from [Index] where AddressCode='04') order by AddDateTime desc",conn,1,1%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
	<td> 
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="F3DDC2">
		<tr>
		  <td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/abcdefg.gif">
			  <tr> 
				<td height="8"></td>
			  </tr>
			  <tr> 
				<td>
				  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr> 
					  <td nowrap height="113"><div id="HotsoldLayer" style="OVERFLOW: hidden; WIDTH: 765px; HEIGHT: 113px" onmouseover="HotsoldStopScroll = true" onmouseout="HotsoldStopScroll = false"><table border="0" cellpadding="0" cellspacing="0" width="100%" height="113"><tr><td id="HotsoldLayer1"><%while not rs.eof%><a href="/Content/Show.asp?id=<%=rs("id")%>" target="_blank"><%=ShowPicture(rs("SmallPicture")&"",147,113," hspace=3")%></a><%rs.movenext
					  wend%></td><td id="HotsoldLayer2"></td></tr></table></div></td>
					</tr>
				  </table>
				</td>
			  </tr>
			  <tr> 
				<td height="8"></td>
			  </tr>
			</table>
		  </td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<%rs.cancel:rs.close%>