
<!--#include file="flashconn.asp"-->
                     
<script type="text/javascript">
var pics=""
var links=""
var texts=""
<%
j=1
set rs=server.createobject("adodb.recordset")
sql="select top 5 * from news where BigClassName='ÐÂÎÅ¶¯Ì¬' and filename2<>'null' order by id desc"
rs.open sql,conn,1,1
do while not rs.eof
 if j<5 then
%>
pics=pics+"<%=rs("FileName2")%>"+"|"
links=links+"article.asp?id="+escape("<%=rs("id")%>")+"|"
texts=texts+"<%=rs("title")%>"+"|"
<%
else
%>
pics=pics+"<%=rs("FileName2")%>"
links=links+"article.asp?id="+escape("<%=rs("id")%>")
texts=texts+"<%=rs("title")%>"
<%
end if
rs.movenext
j=j+1
loop
rs.close
%>
 var focus_width=200
 var focus_height=150
 var text_height=0
 var swf_height = focus_height+text_height
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="play.swf"><param name="quality" value="high"><param name="bgcolor" value="#7BBDFF">');
 document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
 document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
 document.write('<embed src="play.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#7BBDFF" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>'); </script></a>