<%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false" Inherits="wqeshop._Default" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Bulletin" Src="Modules/Bulletin.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="../../Modules/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SmallCart" Src="Modules/SmallCart.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NewsList" Src="Modules/NewsList.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LeftNavTop2Level" Src="Modules/LeftNavTop2Level.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Poll" Src="Modules/Poll.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Link" Src="Modules/Link.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CommendProduct" Src="Modules/CommendProduct.ascx" %>
<%@ Register TagPrefix="uc1" TagName="HotProduct" Src="Modules/HotProduct.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NewProduct" Src="Modules/NewProduct.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="TopSaleProduct" Src="Modules/TopSaleProduct.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SpecialProduct" Src="Modules/SpecialProduct.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CustomProducts1" Src="Modules/CustomProducts1.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CustomProducts2" Src="Modules/CustomProducts2.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CustomProducts3" Src="Modules/CustomProducts3.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CustomProducts4" Src="Modules/CustomProducts4.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CustomProducts5" Src="Modules/CustomProducts5.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CustomProducts6" Src="Modules/CustomProducts6.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CustomProducts7" Src="Modules/CustomProducts7.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CustomProducts8" Src="Modules/CustomProducts8.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<!--#include file="../../inc/head.inc"-->
<title><%=config.SiteTitle%></title>
<style type="text/css">
BODY {
	SCROLLBAR-FACE-COLOR: #2CC4F7;
	SCROLLBAR-HIGHLIGHT-COLOR: #2CC4F7;
	SCROLLBAR-SHADOW-COLOR: #E8F3FF;
	SCROLLBAR-3DLIGHT-COLOR: #E8F3FF;
	SCROLLBAR-ARROW-COLOR: #003399;
	SCROLLBAR-TRACK-COLOR: #E8F3FF;
	SCROLLBAR-DARKSHADOW-COLOR: #E8F3FF;
}
</style>
<script type="text/javascript">
		function addtocart(pid)
		{
			if('<%=config.ShopStop%>' == 'True')
			{
				temp=window.open('ShoppingCart.aspx?pid='+pid,'shopcat','width=700,height=650,scrollbars=yes,top=0,left=0');
				temp.focus();
			}
			else
			{
				alert('<%=config.ShopStopWords%>');
				return false;
			}
		}
		</script>
<script type="text/javascript">
var _st = window.setTimeout;
window.setTimeout = function(fRef, mDelay) {
 if(typeof fRef == 'function'){
  var argu = Array.prototype.slice.call(arguments,2);
  var f = (function(){ fRef.apply(null, argu); });
  return _st(f, mDelay);
 }
 return _st(fRef,mDelay);
}

function GetObj(objName)
				{
				if(document.getElementById)
					{
						return eval('document.getElementById("' + objName + '")');
					}
				else if(document.layers)
					{
					return eval("document.layers['" + objName +"']");
					}
				else{
					return eval('document.all.' + objName);
					}
			}

			function SetLbl(preFix, idx,start,end,cssl,cssr)
				{
				window.setTimeout(aa,300,preFix, idx,start,end,cssl,cssr);
				
					
				
			}
			
			function aa(preFix, idx,start,end,cssl,cssr)
			{
				for(var i=start;i<end;i++)
				{
														
					if(GetObj(preFix+"_lbl_"+i)) GetObj(preFix+"_lbl_"+i).className =cssr;
					if(GetObj(preFix+"_con_"+i)) GetObj(preFix+"_con_"+i).style.display = "none";
				}
			
				
				GetObj(preFix+"_lbl_"+idx).className =cssl;
				GetObj(preFix+"_con_"+idx).style.display = "block";
			}
</script>
</head>
<body id="MenuM1">
<uc1:Header id="Header1" runat="server"></uc1:Header>
<div id="centers">
  <div id="home">
    <div class="homel">
      <div class="l">
        <!--首页新闻开始-->
        <uc1:NewsList id="NewsList1" runat="server"></uc1:NewsList>
        <!--首页新闻结束-->
        <!--购物车开始-->
        <uc1:smallcart id="SmallCart1" runat="server"></uc1:smallcart>
        <!--购物车结束-->
        <!--销售排行开始-->
        <uc1:TopSaleProduct id="TopSaleProduct1" runat="server"></uc1:TopSaleProduct>
        <!--销售排行结束-->
      </div>
      <div class="r">
        <div style="margin-bottom:10px;">
          <!-- 广告开始-->
          <SCRIPT src="images/bannerflash.js" type=text/javascript></SCRIPT>
          <!-- flash滚动焦点图 begin -->
          <!--焦点图开始-->
          <div id="focusViwer" align="center"></div>
          <script type="text/javascript">
			<!--
			
			var focus_width=505
			var focus_height=310
			var text_height=0
			var swf_height = focus_height+text_height
			var curhref=document.location.href;

			var pics='<%=wqeshop.WebUtils.GetflashADsImg()%>'
			var links='<%=wqeshop.WebUtils.GetflashADsLink()%>'
			var texts='|||'
			
			var FocusFlash = new sinaFlash("images/pixviewer.swf", "focusflash", focus_width, swf_height, "7", "#DFEFF9", false, "High");
			FocusFlash.addParam("allowScriptAccess", "sameDomain");
			FocusFlash.addParam("menu", "false");
			FocusFlash.addParam("wmode", "opaque");

			FocusFlash.addVariable("pics", pics);
			FocusFlash.addVariable("links", links);
			FocusFlash.addVariable("texts", texts);
			FocusFlash.addVariable("borderwidth", focus_width);
			FocusFlash.addVariable("borderheight", focus_height);
			FocusFlash.addVariable("textheight", text_height);
				FocusFlash.addVariable("curhref", curhref);
			FocusFlash.write("focusViwer");
			
			//-->
				</SCRIPT>
          <!-- 广告结束-->
        </div>
        <div class="frame_02">
          <div class="tl"></div>
          <div class="tr"></div>
          <div class="tm">
            <div class="border_x">
              <div class="title"><%=GetResourceString("spzs")%></div>
              <div id="news_lbl_0" onmouseover="SetLbl('news',0,0,8,'borOn','borOff');" class="borOn">
                <div>1</div>
              </div>
              <div class="bor_line"> </div>
              <div id="news_lbl_1" onmouseover="SetLbl('news',1,0,8,'borOn','borOff');" class="borOff">
                <div>2</div>
              </div>
              <div class="bor_line"> </div>
              <div id="news_lbl_2" onmouseover="SetLbl('news',2,0,8,'borOn','borOff');" class="borOff">
                <div>3</div>
              </div>
              <div class="bor_line"> </div>
              <div id="news_lbl_3" onmouseover="SetLbl('news',3,0,8,'borOn','borOff');" class="borOff">
                <div>4</div>
              </div>
              <div class="bor_line"> </div>
              <div id="news_lbl_4" onmouseover="SetLbl('news',4,0,8,'borOn','borOff');" class="borOff">
                <div>5</div>
              </div>
              <div class="bor_line"> </div>
              <div id="news_lbl_5" onmouseover="SetLbl('news',5,0,8,'borOn','borOff');" class="borOff">
                <div>6</div>
              </div>
              <div class="bor_line"> </div>
              <div id="news_lbl_6" onmouseover="SetLbl('news',6,0,8,'borOn','borOff');" class="borOff">
                <div>7</div>
              </div>
              <div class="bor_line"> </div>
              <div id="news_lbl_7" onmouseover="SetLbl('news',7,0,8,'borOn','borOff');" class="borOff">
                <div>8</div>
              </div>
            </div>
          </div>
          <div class="wrapper">
            <div class="ml"></div>
            <div class="mr"></div>
            <div class="mm">
              <div id="news_con_0">
                <uc1:CustomProducts1 id="CustomProducts1" runat="server"></uc1:CustomProducts1>
                <div class="ad49060-1"><%=wqeshop.WebUtils.GetAD(11)%></div>
              </div>
              <div id="news_con_1" style="display: none;">
                <div class="ad49060-1"><%=wqeshop.WebUtils.GetAD(13)%></div>
                <uc1:CustomProducts2 id="CustomProducts2" runat="server"></uc1:CustomProducts2>
              </div>
              <div id="news_con_2" style="display: none;">
                <uc1:CustomProducts3 id="CustomProducts3" runat="server"></uc1:CustomProducts3>
                <div class="ad49060-1"><%=wqeshop.WebUtils.GetAD(14)%></div>
              </div>
              <div id="news_con_3" style="display: none;">
                <div class="ad49060-1"><%=wqeshop.WebUtils.GetAD(15)%></div>
                <uc1:CustomProducts4 id="CustomProducts4" runat="server"></uc1:CustomProducts4>
              </div>
              <div id="news_con_4" style="display: none;">
                <uc1:CustomProducts5 id="CustomProducts5" runat="server"></uc1:CustomProducts5>
                <div class="ad49060-1"><%=wqeshop.WebUtils.GetAD(16)%></div>
              </div>
              <div id="news_con_5" style="display: none;">
                <div class="ad49060-1"><%=wqeshop.WebUtils.GetAD(17)%></div>
                <uc1:CustomProducts6 id="CustomProducts6" runat="server"></uc1:CustomProducts6>
              </div>
              <div id="news_con_6" style="display: none;">
                <uc1:CustomProducts7 id="CustomProducts7" runat="server"></uc1:CustomProducts7>
                <div class="ad49060-1"><%=wqeshop.WebUtils.GetAD(18)%></div>
              </div>
              <div id="news_con_7" style="display: none;">
                <div class="ad49060-1"><%=wqeshop.WebUtils.GetAD(19)%></div>
                <uc1:CustomProducts8 id="CustomProducts8" runat="server"></uc1:CustomProducts8>
              </div>
            </div>
          </div>
          <div class="bl"></div>
          <div class="br"></div>
          <div class="bm"></div>
        </div>
      </div>
      <uc1:CommendProduct id="CommendProduct1" runat="server"></uc1:CommendProduct>
      <div class="ad71590"><%=wqeshop.WebUtils.GetAD(7)%></div>
      <uc1:NewProduct id="NewProduct1" runat="server"></uc1:NewProduct>
      <div class="ad71590"><%=wqeshop.WebUtils.GetAD(8)%></div>
      <uc1:SpecialProduct id="SpecialProduct1" runat="server"></uc1:SpecialProduct>
    </div>
    <div class="homer">
      <!--类别导航开始-->
      <uc1:LeftNavTop2Level id="LeftNavTop2Level1" runat="server"></uc1:LeftNavTop2Level>
      <!--类别导航结束-->
      <!--热门商品列表开始-->
      <uc1:HotProduct id="HotProduct1" runat="server"></uc1:HotProduct>
      <!--热门商品列表结束-->
      <div class="ad200"><%=wqeshop.WebUtils.GetAD(5)%></div>
      <uc1:Poll id="Poll1" runat="server"></uc1:Poll>
      <uc1:Link id="Link1" runat="server"></uc1:Link>
    </div>
  </div>
</div>
<uc1:Helper id="Helper1" runat="server"></uc1:Helper>
<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
<!--#include file="../../inc/AD.inc" -->
</body>
</html>
