<%@ Control Language="C#" AutoEventWireup="true" CodeFile="top.ascx.cs" Inherits="WebMain_buju_top"%>
<%@ Register Src="../dyAD/dy.ascx" TagName="dy" TagPrefix="uc1" %>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:Panel ID="bigtop" runat="server" HorizontalAlign="Center" Width="100%" CssClass="topbg">
    <table border="0" cellpadding="0" cellspacing="0" width="990">
        <tr>
         <td rowspan="2"> 
        <asp:Image ID="logo" runat="server" /></td>
            <td colspan="2" rowspan="2" valign="bottom" align="right" >
                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                    <tr>
                        <td align="left" style="height: 103px">
                           <br />
                            <br /> 
                            <br />
                           </td>
                        <td align="right" >
                            &nbsp;&nbsp;&nbsp;<table id="topzise" align="right" border="0" cellpadding="0" cellspacing="0"
                                width="150">
                                <tr>
                                    <td style="height: 99px" valign="bottom">
                                        <table border="0" cellpadding="0" cellspacing="2" style="height: 70px" width="150">
                                            <tr>
                                                <td rowspan="4" style="height: 76px" valign="middle" width="39%">
                                                    <a href="/china/Regvip1.aspx"><div align="center" class="bmenu1">
                                                    </div></a>
                                                </td>
                                                <td rowspan="4" style="height: 76px" width="61%">
                                                    <div align="left">
                                                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/china/Regvip1.aspx">免费注册</asp:HyperLink>
                                                        <br />
                                                        <asp:Label ID="Label2" runat="server" ForeColor="Gray" Text="注册优惠更多"></asp:Label></div>
                                                </td>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr>
                                            </tr>
                                        </table>
                                    </td>
                                    <td style="height: 99px" valign="bottom">
                                        <table border="0" cellpadding="0" cellspacing="2" style="height: 70px" width="150">
                                            <tr>
                                                <td rowspan="4" style="width: 39%; height: 76px">
                                                     <a href="/china/Regvip1.aspx"><div align="center" class="bmenu2">
                                                    </div></a>
                                                </td>
                                                <td rowspan="4" style="height: 76px" width="61%">
                                                    <div align="left" class=bmenu_font>
                                                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/china/vipmain.aspx">我的帐户</asp:HyperLink>&nbsp;</div>
                                                    <div align="left">
                                                        <asp:Label ID="Label3" runat="server" ForeColor="Gray" Text="管理账户帐单"></asp:Label>&nbsp;</div>
                                                </td>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr>
                                            </tr>
                                        </table>
                                    </td>
                                    <td style="height: 99px" valign="bottom">
                                        <table border="0" cellpadding="0" cellspacing="2" style="height: 70px" width="150">
                                            <tr>
                                                <td rowspan="4" style="height: 77px" width="39%">
                                                      <a href="/china/Regvip1.aspx"><div align="center" class="bmenu3">
                                                    </div></a>
                                                </td>
                                                <td rowspan="4" style="height: 77px" width="61%">
                                                    <div align="left">
                                                        <asp:HyperLink ID="HyperLink3" CssClass="bmenu_font" runat="server" NavigateUrl="~/china/cart.aspx">购物车</asp:HyperLink>&nbsp;</div>
                                                    <div align="left">
                                                        <asp:Label ID="Label4" runat="server" ForeColor="Gray" Text="查看购物商品"></asp:Label>&nbsp;</div>
                                                </td>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr>
                                            </tr>
                                        </table>
                                    </td>
                                    <td style="height: 99px" valign="bottom">
                                        <table border="0" cellpadding="0" cellspacing="2" style="height: 70px" width="150">
                                            <tr>
                                                <td rowspan="4" style="height: 77px" width="39%">
                        <a href="/china/Regvip1.aspx"><div align="center" class="bmenu4">
                                                    </div></a>
                                                </td>
                                                <td rowspan="4" style="height: 77px" width="61%">
                                                    <div align="left">
                                                        <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/china/helpFAQ.aspx?id=10061#3">常见问题</asp:HyperLink>
                                                        <br />
                                                        <asp:Label ID="Label5" runat="server" ForeColor="Gray" Text="解答您的问题"></asp:Label></div>
                                                </td>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
        </tr>
    </table>
</asp:Panel>
<table width="990" border="0" align="center" cellpadding="0" cellspacing="0" height="120">
    <tr>
      <td height="36" colspan="2">
      <DIV id=xcx_tabmenu>
      <DIV class=cx_tabmenu id=cx_tabmenu>
      <div id=up class="tabcontenttop">
      <DIV id=ddimagetabs align="center" style="padding:0 0 0 10px">
      <asp:HyperLink runat="server" ID="sclink1" NavigateUrl="~/Default.aspx" Text="首页" ToolTip="首页" onMouseOver="expandcontent('sc1', this)"  CssClass="current"></asp:HyperLink>
      
      
      <asp:HyperLink runat="server" ID="sclink2" NavigateUrl="~/china/productPP.aspx?BigID=10000028" Text="居家百货" ToolTip="居家百货" onMouseOver="expandcontent('sc2', this)"></asp:HyperLink>
      <asp:HyperLink runat="server" ID="sclink3" NavigateUrl="~/china/productPP.aspx?BigID=10000035" Text="食品超市" ToolTip="食品超市" onMouseOver="expandcontent('sc3', this)"></asp:HyperLink>
      <asp:HyperLink runat="server" ID="sclink4" NavigateUrl="~/china/productPP.aspx?BigID=10000032" Text="时尚专区" ToolTip="时尚专区" onMouseOver="expandcontent('sc4', this)"></asp:HyperLink>
      <asp:HyperLink runat="server" ID="sclink5" NavigateUrl="~/china/productPP.aspx?BigID=10000036" Text="柴米油盐" ToolTip="柴米油盐" onMouseOver="expandcontent('sc5', this)"></asp:HyperLink>
      <asp:HyperLink runat="server" ID="sclink6" NavigateUrl="~/china/productPP.aspx?BigID=10000037" Text="健康休闲" ToolTip="健康休闲" onMouseOver="expandcontent('sc6', this)"></asp:HyperLink>
      <asp:HyperLink ID="sclink7" runat="server" NavigateUrl="~/china/productPP.aspx?BigID=10000038"   onmouseover="expandcontent('sc7', this)" Text="办公用品" ToolTip="办公用品"></asp:HyperLink>
      
      
      <asp:HyperLink runat="server" ID="sclink9" NavigateUrl="~/china/BIGtc.aspx?pcount=20" Text="自助套餐" ToolTip="自助套餐" onMouseOver="expandcontent('sc9', this)"></asp:HyperLink> 
      <asp:HyperLink runat="server" ID="sclink10" NavigateUrl="~/china/productpm.aspx?BigID=10000043" Text="一口价区" ToolTip="拍卖专区" onMouseOver="expandcontent('sc10', this)"></asp:HyperLink>
      <asp:HyperLink runat="server" ID="sclink8" NavigateUrl="~/china/helpFAQ.aspx?id=10041" Text="帮助中心" ToolTip="便民服务" onMouseOver="expandcontent('sc8', this)" Target="_blank"></asp:HyperLink>
	  </DIV>
	  </div>
      <DIV id=tabcontentcontainer>
      <DIV class=tabcontent id=sc1 align=left>
          <asp:Table ID="TB1" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc2  align=left>
          <asp:Table ID="TB2" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc3  align=left>
          <asp:Table ID="TB3" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc4  align=left>
          <asp:Table ID="TB4" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc5  align=left>
          <asp:Table ID="TB5" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc6 align="left">
          <asp:Table ID="TB6" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc7  align=left> 
          <asp:Table ID="TB7" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc8  align=left>
          <asp:Table ID="TB8" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc9  align=left>
          <asp:Table ID="TB9" runat="server">
          </asp:Table>
      </DIV>
      <DIV class=tabcontent id=sc10  align=left>
          <asp:Table ID="TB10" runat="server">
          </asp:Table>
      </DIV>
      </DIV>
      <DIV id="tabcontentcontainer2">
          <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
              <tr>
                  <td>
                      <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                          <tr>
                              <td align="right">
                      <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                          <ContentTemplate>
                              &nbsp;<asp:Image ID="Image1" runat="server" ImageUrl="~/images/seatch_01.gif" ImageAlign="AbsMiddle" /><asp:DropDownList ID="biglb" runat="server" AutoPostBack="True" OnSelectedIndexChanged="biglb_SelectedIndexChanged">
                          <asp:ListItem>搜索商品[大类]</asp:ListItem>
                      </asp:DropDownList>
                      <asp:DropDownList ID="smalllb" runat="server">
                          <asp:ListItem>搜索商品[小类]</asp:ListItem>
                      </asp:DropDownList><asp:TextBox ID="keywords" runat="server" Width="107px" CssClass="input"></asp:TextBox>
                          </ContentTemplate>
                      </asp:UpdatePanel>
                              </td>
                              <td>
                                  <table border="0" cellpadding="0" cellspacing="1" style="width: 100%">
                                      <tr>
                                          <td align="center" style="height: 22px">
                      <asp:ImageButton ID="imgbtn" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/images/image_btn.jpg" OnClick="imgbtn_Click" TabIndex="100" CausesValidation="False" /></td>
                                          <td align="center" style="height: 22px">
                                              <asp:HyperLink
                          ID="HyperLink10" runat="server" Font-Bold="True" ImageUrl="~/images/image_btn02.jpg"
                          NavigateUrl="~/china/Highseachproduct.aspx" TabIndex="100">高级搜索</asp:HyperLink></td>
                                          <td align="center" style="height: 22px">
                                              <asp:HyperLink ID="HyperLink11" runat="server" ImageUrl="~/images/integral_buy002.gif" NavigateUrl="~/china/intproduct.aspx" ToolTip="积分换赠品" TabIndex="100">积分换赠品</asp:HyperLink></td>
                                      </tr>
                                  </table>
                              </td>
                          </tr>
                      </table>
                  </td>
                  <td colspan="4">
                      <table border="0" cellpadding="0" cellspacing="0" style="background-image: url(../../images/cartbuy_img.png);
                          width: 364px; background-repeat: no-repeat; height: 24px">
                          <tr>
                              <td colspan="3">
                                  &nbsp;<asp:Label ID="Label1" runat="server" Text="购物车0种商品 | 收藏夹 | 我的订单 | 积分 "></asp:Label>
                                  <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/china/cart.aspx" Target="_blank">完成下单</asp:HyperLink></td>
                          </tr>
                      </table>
                  </td>
              </tr>
          </table>
      </DIV><table border="0" cellpadding="0" cellspacing="0" width="100%" height=42>
              <tr>
         <td>
          <table border="0" cellpadding="0" cellspacing="0">
              <tr>
                  <td style="width: 88px; height: 28px;"><div class="index_gg_up"></div></td>
                  <td style="width:888px; height: 28px;"  class="index_gg_bg"><marquee scrollAmount=2 width=888px onmouseover=stop() onmouseout=start()>
                      <asp:Label ID="gg" runat="server" Text="Label"></asp:Label></marquee></td>
                  <td style="width: 10px; height: 28px;"><div class="index_gg_down"></div></td>
            </tr></table></td></tr></table>
      </DIV></DIV>
      </td>
    </tr>
</table>
         
<SCRIPT type=text/javascript>
    // The idea borrowed from dynamicDrive.com
<!--
/*屏蔽所有的js错误*/

function sc1()
{
  document.getElementById(sc1).style.display = "block"
}

function killerrors() { 
return true; 
} 
    window.onerror = killerrors; 
//-->
    var initialtab = [1, "sc1"]
    var previoustab = "";
    var intv;
    
    function expandcontent(cid, aobject)
        {
        stopTimer();
        highlighttab(aobject)
        if (previoustab != "")
        document.getElementById(previoustab).style.display = "none"
        document.getElementById(cid).style.display = "block"
        previoustab = cid
        }

    function highlighttab(aobject)
        {
        stopTimer();
        if (typeof tabobjlinks == "undefined")
            collectddimagetabs()
        for (i = 0; i < tabobjlinks.length; i++)
            tabobjlinks[i].className = ""
        aobject.className = "current"
        }

    function collectddimagetabs()
        {
        var tabobj = document.getElementById("ddimagetabs")
        tabobjlinks = tabobj.getElementsByTagName("A")
        }

    function do_onload()
        {
        collectddimagetabs()
        expandcontent(initialtab[1], tabobjlinks[initialtab[0] - 1])
        }

    function startTimer()
        {
        intv = setTimeout("expandcontent(initialtab[1], tabobjlinks[initialtab[0]-1])", 2000);
        }
    function stopTimer()
        {
        clearTimeout(intv);
        }

    Event.observe(window, 'load', do_onload, false);
    Event.observe('xcx_tabmenu', 'mouseover', function(event)
        {
        stopTimer();
        },        false);

    Event.observe('xcx_tabmenu', 'mouseout', function(event)
        {
        var reltg = (event.relatedTarget) ? event.relatedTarget : event.toElement;

        var tg = (window.event) ? event.srcElement : event.target;

        if (tg.nodeName != 'DIV')
            return;

        while (reltg != tg && reltg.nodeName != 'BODY')
            {
            reltg = reltg.parentNode;

            if (reltg.id == "xcx_tabmenu")
                return;
            }

        if (reltg == tg)
            return;

//        stopTimer();
//        startTimer();
        },false);
</SCRIPT>