<!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>
</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="head">

<div class="top1">
<div class="top1_c">
     <span class="login_zhuangtai">
<%<Hi:Common_CurrentUser runat="server" ID="lblCurrentUser"/>%> 
<%<Hi:Common_MyAccountLink ID="linkMyAccount" runat="server" />%>
<b>
<%<Hi:Common_LoginLink ID="Common_Link_Login1" runat="server" />%>
<%<Hi:Common_Link_OpenId runat="server" ImageUrl="images/alipay_small.png" /> %>
</b> 
</span>
<span><a href="url:productunslaes">下架区</a></span>
<span>|</span>
<span><a href="url:distributorLogin">分销商登录</a></span>
<span>|</span>
<span><a href="url:LeaveComments">店铺交流区</a> </span>
<span>|</span>
<span><a href="url:AllHelps">帮助中心</a> </span>
<span>|</span>
<span><%<Hi:Common_OnlineGiftLink runat="server" text="积分商城"/> %> </span>
</div>
</div>
<div class="lo_search">
<div class="logo">
<a href="url:home"><%<Hi:Common_Logo runat="server" />%></a>
</div>
<div class="search_hot">
<div class="search">
			<span style="display:none;"><%<Hi:Search_Class ID="Search_Class" runat="server" />%></span>
 
<input type="text" Id="txt_Search_Keywords" class="input1" />
<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 class="hot">
<%<Hi:HotKeywords ID="HotKeywords1" runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-HotKeywords.ascx" />%></div>
</div>

</div>
<div class="nav">

<div  class="nav_c"  id="ty_menu_title">
<ul id="nav_top" >
<li><b><a class="drop" href="url:home"><span>首页</span></a></b></li>
<Hi:Common_PrimaryClass runat="server" MaxCNum="7" />
</ul>
</div>
</div>
<div class="link_cart">
<ul class="nav_link">
<li> <a href="url:user_MyAccountSummary">我的帐户</a></li>
<li> <a href="url:user_UserOrders">订单查询</a></li>
<li> <a href="url:AllArticles">商城资讯</a></li>
<li  class="qiang_icon" > <% <Hi:Common_CountDownLink runat="server" text="限时抢购"/> %></li>
<li> <% <Hi:Common_GroupBuyLink runat="server" text="团购"/> %></li>
<li> <a href="url:brand">品牌专卖</a></li>
<li><a href="url:Promotes">优惠活动中心</a></li>
</ul>

<ul class="cart_info">
<li  class="cart_infol"></li>
<li  class="cart_infom"><%<Hi:Common_ShoppingCart_Info runat="server" />%></li>
<li  class="cart_go"><Hi:SiteUrl UrlName="shoppingCart" Target="_blank" runat="server"> <img src="/images/m18/cart_go.jpg" /> </Hi:SiteUrl></li>
<li  class="cart_infor"></li>
</ul>

</div>

<div class="top_banner"><Hi:Common_ShowAds runat="server" AdsName="AD1" /></div>
</div>

<div class="main">	<!-- InstanceBeginEditable name="编辑区" -->	
<div class="message_nav"><a href="url:home">首页</a> > 填写注册信息</div>
	<!--页面位置导航_end-->

	<!--注册填写信息_start-->
	<div class="registeragreement_fx">
	<h4  class="martb">请如实填写以下申请信息：</h4>
		<%<Hi:SmallStatusMessage id="Status" runat="server" Visible="False" />%>
		<ul><table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
          <tr>
            <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                <ul>
                  <li class="title">分销商名称：<em>*</em></li>
                  <li>
                    <asp:TextBox ID="txtUserName" runat="server" CssClass="Skin_RegisterInput" /> <span id="txtUserNameTip" runat="server"></span>			             
                  </li>
                </ul>
              </div>
			   
            </td>
          </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">电子邮件： <em>*</em></li>
                    <li>
                       <asp:TextBox ID="txtEmail" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtEmailTip" runat="server"></span> 
                    </li>
                  </ul>
              </div>     
              </td>                          
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">登录密码： <em>*</em></li>
                    <li>
                      <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="Skin_RegisterInput1" /> <span id="txtPasswordTip" runat="server"></span>
                    </li>
                  </ul>
              </div>                 
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">重复登录密码： <em>*</em></li>
                    <li>
                      <asp:TextBox ID="txtPasswordCompare" runat="server" TextMode="Password" CssClass="Skin_RegisterInput1" /> <span id="txtPasswordCompareTip" runat="server"></span>
                    </li>
                  </ul>
              </div>              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                <ul>
                  <li class="title">交易密码： <em>*</em></li>
                  <li>
                    <asp:TextBox ID="txtTransactionPassword" runat="server" TextMode="Password" CssClass="Skin_RegisterInput1" /> <span id="txtTransactionPasswordTip" runat="server"></span>
                  </li>
                </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">重复交易密码：<em>*</em> </li>
					<li class="bTopPadding5">
					  <asp:TextBox ID="txtTransactionPasswordCompare" runat="server" TextMode="Password"  CssClass="Skin_RegisterInput1" /> <span id="txtTransactionPasswordCompareTip" runat="server"></span>
					</li>
                  </ul>
              </div>              
              </td>
            </tr>
          </table>
	<h4  class="martb">详细信息：</h4>
		  <div class="Skin_Register_xy2"></div>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">真实姓名： </li>
                    <li>
                      <asp:TextBox ID="txtRealName" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtRealNameTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
             
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">公司名： </li>
                    <li>
                      <asp:TextBox ID="txtCompanyName" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtCompanyNameTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">地区： </li>
                    <li>
                      <Hi:RegionSelector runat="server" ID="dropRegion" />
                    </li>
                  </ul>
              </div></td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">详细地址： </li>
                    <li>
                      <asp:TextBox ID="txtAddress" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtAddressTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">邮编： </li>
                    <li>
                      <asp:TextBox ID="txtZipcode" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtZipcodeTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <div class="regstepalert">提示：QQ,旺旺,MSN,三者必填其一</div>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">QQ： </li>
                    <li>
                      <asp:TextBox ID="txtQQ" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtQQTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">旺旺： </li>
                    <li>
                      <asp:TextBox ID="txtWangwang" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtWangwangTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">MSN： </li>
                    <li>
                      <asp:TextBox ID="txtMSN" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtMSNTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <div class="regstepalert">提示：固定电话和手机,二者必填其一</div>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">固定电话： </li>
                    <li>
                      <asp:TextBox ID="txtTelPhone" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtTelPhoneTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">手机： </li>
                    <li>
                      <asp:TextBox ID="txtCellPhone" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtCellPhoneTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
              
              </td>
            </tr>
          </table>
	<h4  class="martb">高级设置：</h4>
		  <div class="Skin_Register_xy2"></div>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">密保问题： </li>
                    <li>
                      <asp:TextBox ID="txtPasswordQuestion" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtPasswordQuestionTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
             
              </td>
            </tr>
          </table>
		  <table border="0" cellspacing="0" cellpadding="0" class="Skin_RegisterInfo_w" >
            <tr>
              <td width="50%" valign="top"><div class="Skin_RegisterInfo_row">
                  <ul>
                  <li class="title">密保答案： </li>
                    <li>
                      <asp:TextBox ID="txtPasswordAnswer" runat="server" CssClass="Skin_RegisterInput1" /> <span id="txtPasswordAnswerTip" runat="server"></span>
                    </li>
                  </ul>
              </div>
             
              </td>
            </tr>
          </table>
		  <div class="Skin_Register_xy">
		  </div>
		  <div style=" padding-left:140px; padding-top:10px;">
		 <%<asp:Button ID="btnOK" Text="提交注册" runat="server"  CssClass="btncss_next"  />%> 
 
		  </div>
		</ul>
	</div>
	<div class="aClear"></div>
	<script type="text/javascript" language="javascript">
	    function InitValidators() {
	        initValid(new InputValidator('distributorsRegister_txtUserName', 2, 60, false, null, '用户名不能为空，长度限制在2-60个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtEmail', 1, 256, false, '[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\.[\\w-]+)+', '请输入正确电子邮件，长度在1-256个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtPassword', 6, 20, false, null, '密码不能为空，长度在6-20个字符之间'));
	        initValid(new CompareValidator('distributorsRegister_txtPasswordCompare', 'distributorsRegister_txtPassword', '两次输入的密码不一致请重新输入'));
	        initValid(new InputValidator('distributorsRegister_txtTransactionPassword', 6, 20, false, null, '交易密码不能为空，长度在6-20个字符之间'));
	       	initValid(new InputValidator('distributorsRegister_txtTransactionPasswordCompare', 6, 20, false, null, '重复交易密码不能为空，长度在6-20个字符之间'));
	        initValid(new CompareValidator('distributorsRegister_txtTransactionPasswordCompare', 'distributorsRegister_txtTransactionPassword', '两次输入的交易密码不一致请重新输入'));
	        initValid(new InputValidator('distributorsRegister_txtRealName', 0, 20, true, null, '真实姓名必须控制在20个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtCompanyName', 0, 60, true, null, '公司名称必须控制在60个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtAddress', 0, 100, true, null, '街道地址必须控制在100个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtZipcode', 3, 20, true, '^[0-9]*$', '邮政编码长度限制在3-20个字符之间，只能输入数字'));
	        initValid(new InputValidator('distributorsRegister_txtQQ', 3, 20, true, '^[0-9]*$', 'QQ号长度限制在3-20个字符之间，只能输入数字'));
	        initValid(new InputValidator('distributorsRegister_txtWangwang', 0, 20, true, null, '旺旺号必须控制在20个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtMSN', 1, 256, true, '([a-zA-Z\\.0-9_-])+@([a-zA-Z0-9_-])+((\\.[a-zA-Z0-9_-]{2,3}){1,2})', '请输入正确MSN帐号，长度在1-256个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtTelPhone', 3, 20, true, '^[0-9-]*$', '电话号码长度限制在3-20个字符之间，只能输入数字和字符“-”'));
	        initValid(new InputValidator('distributorsRegister_txtCellPhone', 3, 20, true, '^[0-9]*$', '手机号码长度限制在3-20个字符之间,只能输入数字'));
	        initValid(new InputValidator('distributorsRegister_txtPasswordQuestion', 0, 20, true, null, '密保问题必须控制在20个字符以内'));
	        initValid(new InputValidator('distributorsRegister_txtPasswordAnswer', 0, 20, true, null, '密保答案必须控制在20个字符以内'));
	    }
	    $(document).ready(function() {
	        InitValidators();
	        $("#distributorsRegister_btnOK").click(function() {
	            if(!PageIsValid()){
	                alert("部分信息没有通过检验，请查看页面提示");
	                return false;
	            }
	            if ($("#distributorsRegister_txtQQ").val() == "" && $("#distributorsRegister_txtWangwang").val() == "" && $("#distributorsRegister_txtMSN").val() == "") {
	                alert("QQ,旺旺,MSN,三者必填其一")
	                return false;
	            }
	            if ($("#distributorsRegister_txtTelPhone").val() == "" && $("#distributorsRegister_txtCellPhone").val() == "") {
	                alert("固定电话和手机,二者必填其一")
	                return false;
	            }
	        });
	    });
</script>
<!-- InstanceEndEditable --></div>

<div class="footer">
<div class="footer_ad"><Hi:Common_ShowAds runat="server" AdsName="AD19" /></div>
<div class="foot_help">
<ul>
	<%<Hi:Common_Help runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-Common_Help.ascx"  />%>
</ul>
</div>
<div class="foot_friendlink">
<table width="980" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="foot_friendlinkt" valign="top">友情链接:</td>
    <td valign="top"><div class="foot_friendlinkc"><%<Hi:Common_FriendLinks runat="server" TemplateFile="/ascx/tags/Common_Comment/Skin-Common_FriendLinks.ascx" />%></div></td>
  </tr>
</table>	
</div>
<div  class="footer_info">
<div><%<Hi:PageFooter runat="server" />%></div>
</div>

</div>

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