
<TABLE align="center" cellSpacing=0 cellPadding=0 width=90% border=0>
  <TBODY> 
  <TR> 
      
    <TD vAlign=top> 
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
		  <% 
		   i=0
		  rs.open "select top 6 newsname,adddate,newsid from news order by adddate desc",conn,1,1
		if rs.eof and rs.bof then
		   rs.close
		  response.write "<center>目前还没有新闻！</center>"
		  else
		  do while not rs.eof
		  i=i+1
		  %>
            <TR> 
              
          <TD vAlign=center height=24><IMG height=11 src="image/icon_notice.gif" 
                  width=17 align=absMiddle border=0> 
            <%if len(trim(rs("newsname")))>12 then
		  response.write "<a href=""javascript:;"" onClick=""javascript:window.open('news.asp?id="&rs("newsid")&"','news','width=1024,height=768,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"" title="&year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布><font color=#FF6600>"&left(trim(rs("newsname")),12)&"...."&"</font></a><br>"
		  else
		  response.write "<a href=""javascript:;"" onClick=""javascript:window.open('news.asp?id="&rs("newsid")&"','news','width=1024,height=768,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"" title="&year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布><font color=#FF6600>"&trim(rs("newsname"))&"</font></a><br>"
		  end if
		  if i>=10 then exit do%>
          </TD>
            </TR>
			<tr><td background=images/bg_04.gif border=0></td></tr>
			<%  if i>=6 then exit do
		  rs.movenext
		  loop
		  end if
		  rs.close
		%>
          </TBODY>
        </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
