<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<%<Hi:HeadContainer ID="HeadContainer1" runat="server" />%>
<%<Hi:PageTitle runat="server" />%>
<%<Hi:MetaTags runat="server" />%>
<link href="/style/main.css" rel="stylesheet" type="text/css" />
<link href="/style/m18.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/style/pagevalidator.css" type="text/css" media="screen" />
<script src="/utility/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/utility/jquery.cookie.js" type="text/javascript"></script>
<script src="/utility/validate/pagevalidator.js" type="text/javascript"></script>
<script src="/utility/globals.js" type="text/javascript"></script>
<script src="/script/web_qq.js" type="text/javascript"></script>
<script>
function Showxinren_tab()
{
    document.getElementById("xinren_tab").style.display= "block";
}

function Hiddenxinren_tab()
{
    document.getElementById("xinren_tab").style.display = "none";
}
</script>
</head>

<body>
<form runat="server" id="form1">

<!--在线客服-->
<div id="qq_right" style="top:30px;left:-146px;position:absolute;z-index:100;">
<div class="a">
  <div class="b"></div>
  <div class="c">
  <%<Hi:OnlineServer runat="server" />%>
	<div class="closekf" onclick="closekf();">关闭在线客服</div>
  </div>
  <div class="d"></div>
</div>
<div class="e" id="e" onmouseover="showKefu(this);"></div>
</div>
<!--新top-->
	
	<!--{{顶部栏 开始}}-->
<div class="web_topb1">
<div class="web_topb2">
<div class="logininfo"><span class="login_zhuangtai">
<%<Hi:Common_MobileSet runat="server" ID="lblmobilset" CssClass="mobile"/>%>
<%<Hi:Common_CurrentUser runat="server" ID="lblCurrentUser"/>%> 
<%<Hi:Common_MyAccountLink ID="linkMyAccount" runat="server" />%>
<%<Hi:Common_LoginLink ID="Common_Link_Login1" runat="server" />%>
<span id="xinren_Frame">
		  <em onmouseover="Showxinren_tab();" onmouseout="Hiddenxinren_tab();">信任登录</em>  
		  <div id="xinren_tab" onmouseover="Showxinren_tab();" onmouseout="Hiddenxinren_tab();">
		 <div class="xinren_tab_tishi"> 您还可以使用以下账号</div>
<%<Hi:Common_Link_OpenId runat="server" ImageUrl="images/alipay_small.png" /> %>
          </div>
		  </span>
</span>
<span  class="top_cartinfo">
<%<Hi:Common_ShoppingCart_Info runat="server" />%>
</span>
</div>

<ul class="toplink" id="navtoplink">
    <li class="menu2" onMouseOver="this.className='menu1'" onMouseOut="this.className='menu2'"><a href="#"  >我的会员中心</a>    
    <div class="navtop_list">
        <a href="url:user_MyAccountSummary">我的帐户</a>
        <a href="url:user_UserOrders">订单查询</a>
        <a href="url:AllHelps">帮助中心</a>
    </div>
    </li>
    <li><%<Hi:Common_OnlineGiftLink runat="server" text="积分商城"/> %></li>
    <li><a href="url:LeaveComments">客户留言</a></li>
    </ul>
</div>
</div>

<div class="headtop">
<div class="logo"><a href="url:home"><%<Hi:Common_Logo runat="server" />%></a></div>
<div class="t_search">
<div class="search_link">
<div class="s_l1"></div>
<span style="display:none;"><%<Hi:Search_Class ID="Search_Class" runat="server" />%></span>
<div class="s_l2"><input type="text" Id="txt_Search_Keywords"  /></div>
<div class="s_l3"><input type="button" value=" " onclick="searchs()" class="sub" /></div>

 


<script type="text/javascript">
      function searchs() {
          var item = $("#drop_Search_Class").val();
          var key = $("#txt_Search_Keywords").val();
          if (key == undefined)
              key = "";

          var url = applicationPath + "/listProduct.aspx?keywords=" + key + "&categoryId=" + item;
          window.location.href = encodeURI(url);
      }

      $(document).ready(function() {
          $('#txt_Search_Keywords').keydown(function(e) {
			  if (e.keyCode == 13) {
                  searchs();
				  return false;
              }
          })
		  $("a").not("#ty_menu_title ul a").bind("click",function(){
		  		$.cookie("class",-2,{expires: 7, path: "/"});
		  });
		  $("#ty_menu_title ul a").each(function(i,k){
					$(this).bind("click",function(){
						var liobj=null;
						if($(this).attr("class")==""){
							liobj=$(this).parents("li:eq(1)");
						}else{
							liobj=$(this).parents("li");
						}
						var suoyin=$("#ty_menu_title ul li").index(liobj);
						$.cookie("class",suoyin,{expires: 7, path: "/"});
					});
		  });

		  if($.cookie("class")!=null&&$.cookie("class")!="undefined"&&document.forms[0].action.indexOf("default.aspx")<0&&$.cookie("class")!=-2){
		  		$("#ty_menu_title ul li:eq("+$.cookie("class")+") a:eq(0)").attr("class","ty_menu_select");
		  }else if($.cookie("class")==-2){
		  		$.cookie("class",null,{expires: 7, path: "/"});
		  }
		  else{
		  		$("#ty_menu_title ul li:eq(0) a:eq(0)").attr("class","ty_menu_select");
		  }
      });
	  
  </script>
</div>
<div class="hotkey">
<em>热门搜索：</em><%<Hi:HotKeywords Maxnum="6" runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-HotKeywords.ascx" />%>
</div>
</div>
<div class="phone_ad"><Hi:Common_ShowAds runat="server" AdsName="AD1" /></div>
</div>

<div class="nav_big">
<div class="nav_biglbg"></div>
<ul  class="nav_bigmbg">
<li><a class="drop" href="url:home"><span>首页</span></a></li>
<li> <a href="url:AllArticles">商城资讯</a></li>
<li> <a href="url:brand">品牌专卖</a></li>
<li><a href="url:Promotes">优惠活动中心</a></li>
<li> <a href="url:LeaveComments">店铺交流区</a></li>
<li> <a href="url:productunslaes">下架区</a></li>
<li  class="qiang_icon" > <% <Hi:Common_CountDownLink runat="server" text="限时抢购"/> %></li>
<li> <% <Hi:Common_GroupBuyLink runat="server" text="团购"/> %></li>
<li><%<Hi:Common_OnlineGiftLink runat="server" text="积分商城"/> %></li>
</ul>
<div class="nav_bigrbg"></div>
</div>

<div  class="nav_cate"  id="ty_menu_title">
<ul id="nav_top" >

<Hi:Common_PrimaryClass runat="server" MaxCNum="7" />
</ul>
</div>
<div class="main">
<!-- InstanceBeginEditable name="编辑区" -->
        <!--页面位置导航_start-->

        <script src="/script/HishopUI.js" type="text/javascript"></script>

        <%<Hi:SmallStatusMessage id="Status" runat="server" Visible="False" />%>
        <div class="trationbj">
            <div class="tration">
                <h1 class="YaHei">
                    新用户注册</h1>
                <div class="fomeinput">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="fomeinput">
                        <tr>
                            <td width="8%" align="right" valign="middle">
                                用户名：
                            </td>
                            <td width="69%" valign="middle">
                                <%<asp:TextBox ID="txtUserName" CssClass="inputbj" runat="server"  width="240" />%>
                                <span id="txtUserNameTip" runat="server"></span>
                            </td>
                            <td width="23%" rowspan="7" valign="top">
                                <ul>
                                    <li class="dotted">已有会员帐号？可以<a href="url:login"> 直接登录</a></li>
                                    <li class="dotted">其它登录方式</li>
                                    <li>
                                        <%<Hi:Common_Link_OpenId runat="server"  /> %>
                                    </li>
                                </ul>
                            </td>
                        </tr>
                        <tr valign="middle">
                            <td align="right">
                                手机号码：
                            </td>
                            <td>
                                <%<asp:TextBox ID="txtMobile" runat="server"  CssClass="inputbj"  width="240" />%><span
                                    id="txtMobileTip" runat="server"></span>
                            </td>
                        </tr>
                        <tr valign="middle">
                            <td align="right">
                                电子信箱：
                            </td>
                            <td>
                                <%<asp:TextBox ID="txtEmail"   CssClass="inputbj"    runat="server"   width="240" />%>
                                <span id="txtEmailTip" runat="server"></span>
                            </td>
                        </tr>
                        <tr valign="middle">
                            <td align="right">
                                密码：
                            </td>
                            <td>
                                <%<asp:TextBox ID="txtPassword" runat="server"  CssClass="inputbj"  TextMode="Password"   width="240" />%><span
                                    id="txtPasswordTip" runat="server"></span>
                            </td>
                        </tr>
                        <tr valign="middle">
                            <td align="right">
                                确认密码：
                            </td>
                            <td>
                                <%<asp:TextBox ID="txtPassword2"   CssClass="inputbj"  runat="server" TextMode="Password"  width="240"/>%>
                                <span id="txtPassword2Tip" runat="server"></span>
                            </td>
                        </tr>
                        <tr valign="middle">
                            <td align="right">
                                验证码：
                            </td>
                            <td>
                                <%<asp:TextBox ID="txtNumber"   CssClass="inputbj"  runat="server" MaxLength="4"/>%>
                                &nbsp;<img id="img_txtNumber" src="" alt="" />
                                <a href="javascript:refreshCode();">
                                    <img id="imgVerifyCode" src='' style="vertical-align: middle; border-style: none;"
                                        alt="" /></a>
                            </td>
                        </tr>

                        <script language="javascript" type="text/javascript">
                            var temp = "";
                            document.getElementById('imgVerifyCode').src = applicationPath + "/VerifyCodeImage.aspx";
                            function refreshCode() {
                                var img = document.getElementById("imgVerifyCode");

                                if (img != null) {
                                    var currentDate = new Date();
                                    img.src = applicationPath + "/VerifyCodeImage.aspx?t=" + currentDate.getTime();
                                    $("#img_txtNumber").hide();
                                    temp = "";
                                    $("#register_txtNumber").val("");
                                }
                            }
                        </script>

                        <tr valign="middle">
                            <td align="center">
                            </td>
                            <td>
                                <span>
                                    <%<asp:CheckBox ID="chkAgree" runat="server" Checked="true" Text="本人已阅读、理解并同意本站的"/>%></span>
                                <a href="RegisterAgreement.aspx" class="cORed" target="_blank">会员注册协议</a>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                            </td>
                            <td valign="top">
                                <%<asp:Button ID="btnRegister"  runat="server"  Text="同意以上协议并注册"  CssClass="btncss register_btn" OnClientClick="return PageIsValid();"  />%>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>

        <script type="text/javascript" language="javascript">
            function InitValidators() {
                initValid(new InputValidator('register_txtUserName', 2, 20, false, '[\u4e00-\u9fa5a-zA-Z]+[\u4e00-\u9fa5_a-zA-Z0-9]*', '用户名不能为空，必须以汉字或是字母开头,且在2-20个字符之间'))
                initValid(new InputValidator('register_txtEmail', 3, 255, false, '[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\.[\\w-]+)+', '电子信箱不能为空，在3-255个字符之间,且格式不能错'))
                initValid(new InputValidator('register_txtMobile', 0, 20, true, null, '手机号码的长度限制在20个字符以内'));
                initValid(new InputValidator('register_txtPassword', 6, 20, false, null, '密码不能为空，且在6-20个字符之间'))
                initValid(new InputValidator('register_txtPassword2', 6, 20, false, null, '确认密码不能为空，且在6-20个字符之间'))
                appendValid(new CompareValidator('register_txtPassword2', 'register_txtPassword', '两次输入的密码不对'));
            }
            $(document).ready(function() {
                InitValidators();
                $("#img_txtNumber").hide();
                $("#register_txtNumber").keyup(function() {
                    var value = $(this).val();
                    if (value.length < 4) {
                        $("#img_txtNumber").hide();
                        temp = "";
                    }
                    else if (value.length == 4) {
                        if (temp != value) {
                            $("#img_txtNumber").show();
                            $.ajax({
                                url: "Register.aspx",
                                type: 'post', dataType: 'json', timeout: 10000,
                                data: {
                                    isCallback: "true",
                                    code: $("#register_txtNumber").val()
                                },
                                async: false,
                                success: function(resultData) {
                                    var flag = resultData.flag;
                                    if (flag == "1") {
                                        $("#img_txtNumber").attr("src", "/images/true.gif");
                                    }
                                    else if (flag == "0") {
                                        $("#img_txtNumber").attr("src", "/images/false.gif");
                                    }
                                }
                            });
                        }
                        temp = value;
                    }
                });
            });
        </script>

        <!-- InstanceEndEditable -->
</div>
<div class="footer">
<div class="foot_ad"><Hi:Common_ShowAds runat="server" AdsName="AD10" /></div>
<div class="foot_help">
<div class="foot_helplist">
<ul>
<%<Hi:Common_Help runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-Common_Help.ascx"  />%>
</ul>
</div>
<div class="foot_ad2"><Hi:Common_ShowAds runat="server" AdsName="AD11" /></div>
</div>
<div class="foot_friend_link">
<%<Hi:Common_FriendLinks runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-Common_FriendLinks.ascx" />%>
</div>
<div class="foot_friend_custom">
<%<Hi:PageFooter runat="server" />%>
<%<Hi:SiteCopyright runat="server" />%>
<%<Hi:CnzzShow runat="server" />%>
<%<Hi:LicenseControl runat="server" />%>
</div>
</div>

</form>
</body>
<!-- InstanceEnd --></html>
