<%@ Control Language="c#" AutoEventWireup="true" Codebehind="Brand.ascx.cs" Inherits="XpShop.WebUI.Modules.Brand" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">热销品牌</div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
	<%--
		<%BindTopSaleBrand(Request.QueryString["CatID"] != null ? int.Parse(Request.QueryString["CatID"]) : 0);%>
		<ul class="brand_menu">
			<asp:Repeater Runat="server" ID="rptBrand">
				<ItemTemplate>
					<li>
						<a href='<%=webSite %>categorys-1-<%# DataBinder.Eval(Container.DataItem,"BrandID")%>-1-2-1-0-.html'>
							<img src='<%=webSite %><%=config.Path%>upload/BrandLogo/<%# DataBinder.Eval(Container.DataItem, "Logo")%>' alt='<%# DataBinder.Eval(Container.DataItem, "BrandName")%>' width="80" height="40" />
						</a>
					</li>
				</ItemTemplate>
			</asp:Repeater>
		</ul>
		<div class="clear"></div>
	--%>
	<div id="brand_item"></div>
	<div class="clear"></div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>
<script type="text/javascript" language="javascript">
	var cid="<%=Request.QueryString["CatID"] != null ? Request.QueryString["CatID"] : "0" %>";
	if(cid=="1"){$("#brand_item").html('<%=GetAD(51).Replace("\r\n","").Replace("\n","")%>');};
	if(cid=="2"){$("#brand_item").html('<%=GetAD(52).Replace("\r\n","").Replace("\n","")%>');};
	if(cid=="3"){$("#brand_item").html('<%=GetAD(53).Replace("\r\n","").Replace("\n","")%>');};
	if(cid=="4"){$("#brand_item").html('<%=GetAD(54).Replace("\r\n","").Replace("\n","")%>');};
	if(cid=="5"){$("#brand_item").html('<%=GetAD(55).Replace("\r\n","").Replace("\n","")%>');};
	if(cid=="6"){$("#brand_item").html('<%=GetAD(56).Replace("\r\n","").Replace("\n","")%>');};
	if(cid=="7"){$("#brand_item").html('<%=GetAD(57).Replace("\r\n","").Replace("\n","")%>');};
</script>	 
