<%@ Control Language="C#" AutoEventWireup="true" CodeFile="adv.ascx.cs" Inherits="UserControls_adv" %>
<div id="flashs">
    <div class="bd">
        <div>
        <asp:Repeater ID="AdvList" runat="server">
      <ItemTemplate>              
                    <div title="<%#Eval("AdvName") %>" onclick="window.open('<%#Eval("LinkUrl") %>')"
                        class="bgitem" id="flashbg<%#Eval("AdvID") %>" style="background: url('upimage/<%#Eval("AdvPicUrl") %>') no-repeat scroll center top;
                        height: 490px; width: 100%; cursor: pointer; margin: 0 auto;">
                    </div>
      </ItemTemplate>
    </asp:Repeater>
                
        </div>
    </div>
    <div class="btn hd">        
                <span>1</span>            
                <span>2</span>            
    </div>
</div>
<script src="/JS/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script>
<script type="text/javascript">
    jQuery("#flashs").slide({ mainCell: ".bd div", titCell: ".hd span", effect: "fold", autoPlay: true, delayTime: 200 });
</script>