<%rs.open "select * from Marquee order by id desc",conn,1,1%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td height="22" background="/images/L_0.gif" align="center"><img src="/images/r_4.gif" width="80" height="20"></td>
  </tr>
  <tr> 
	<td>
	  <marquee height="220" onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrollamount="1">
	  <table width="100%" border="0" cellpadding="5" cellspacing="0">
		<tr> 
		  <td>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <%while not rs.eof%>
			  <tr> 
				<td align="center" style="padding-top:4;color:#600000" height="22" valign="top">กค</td>
				<td style="line-height:150%" valign="top" style="padding-top:1"><a href="#" onclick="window.open('/Content/Marquee.asp?id=<%=rs("id")%>','Marquee','left=0,top=0,width=350,height=240')" class="a"><%=rs("Title")%></a> </td>
			  </tr>
			  <%rs.movenext
			  wend
			  rs.cancel:rs.close%>
			</table>
		  </td>
		</tr>
	  </table>
	  </marquee>
	</td>
  </tr>
</table>