<script type="text/javascript" src="scjs/jquery.js"></script>
<script type="text/javascript" src="scjs/superslide.2.1.js"></script>


<div class="fullSlide">
	<div class="bd">
		<ul>
			<% set rsgg=server.CreateObject("adodb.recordset")
						sqlgg="select top 6 * from sc_Article where  images<>'' and classid=17   order by DateAndTime desc "
						rsgg.open sqlgg,conn,1,1
if rsgg.eof and rsgg.bof then
						response.Write("ÔÝÎÞÍ¼Æ¬")
						end if
						m=1
						do while not rsgg.eof
%>
			<li _src="url(UploadFiles/<%=rsgg("images")%>)" style="background:#ffffff center 0 no-repeat;"><a href="sclist.asp?id=<%=rsgg("id")%>"></a></li>
<%
						  rsgg.movenext
						  m=m+1
						if m=6 then exit do
loop

						  %>
		</ul>
	</div>
	<div class="hd"><ul></ul></div>
	<span class="prev"></span>
	<span class="next"></span>
</div><!--fullSlide end-->
  
  
<script type="text/javascript">
$(".fullSlide").hover(function(){
    $(this).find(".prev,.next").stop(true, true).fadeTo("show", 0.5)
},
function(){
    $(this).find(".prev,.next").fadeOut()
});
$(".fullSlide").slide({
    titCell: ".hd ul",
    mainCell: ".bd ul",
    effect: "fold",
    autoPlay: true,
    autoPage: true,
    trigger: "click",
    startFun: function(i) {
        var curLi = jQuery(".fullSlide .bd li").eq(i);
        if ( !! curLi.attr("_src")) {
            curLi.css("background-image", curLi.attr("_src")).removeAttr("_src")
        }
    }
});
</script>