<%@ page language="C#" autoeventwireup="true" inherits="general_ClientManage_Qz_ClientCheck, CrmCommand" %>

<!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" >

<head id="Head" runat="server">

    <title>无标题页</title>
    <script src="../../Javascript/Trim.js" language=javascript></script>
     <script src="../../Javascript/Provice.js" type="text/javascript" language=javascript></script>
<SCRIPT LANGUAGE = JavaScript> 
　　function CheckForm()
　　{
　　   if(TrimStr(profile.txtName.value) == "")
　　   {
　　      alert('客户姓名不能为空!');
　　   }
　　   else if(profile.HidProvince.value == "省份")
　　   {
　　      alert('请选择省份!');
　　   }
　　   else if(profile.HidCity.value == "地级市")
　　   {
　　      alert('请选择地级市!');
　　   }
　　   else if(profile.HidArea.value == "市、县级市、县")
　　   {
　　      alert('请选择市、县级市、县!');
　　   }
　　   else
　　   {
　　    // var gg = 'ClientChoice.aspx?name='+profile.txtName.value+'&country='+profile.HidCountry.value+'&province='+profile.HidProvince.value+'&city='+profile.HidCity.value;
        // alert('gg');
　　       location.href='ClientChoice.aspx?name='+escape(TrimStr(profile.txtName.value))+'&province='+escape(profile.HidProvince.value)+'&city='+escape(profile.HidCity.value)+'&area='+escape(profile.HidArea.value);
　　   }
　　   
　　}
</SCRIPT> 
</head>
<body class="bodycolor" topmargin="5">
    <form id="profile" runat="server">
   
		<div id="pnlMain">
	<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big">
						<IMG height="18" src="../images/notify_new.gif" width="18" align="absMiddle"><SPAN class="big3">
								<span id="LblTitle">录入新客户</span></SPAN>
						</TD>
					</TR>
				</TABLE>
				<TABLE class="small" cellSpacing="1" cellPadding="2" width="500" align="center" border="0" bgcolor=#000000>
					<TR>
						<TD class="TableData" noWrap width="100">客户名称：</TD>
						<TD class="TableData"><input name="txtName" id="txtName" type="text" class="BigInput" maxlength="100" size="33" />
						</TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>客户所在地：</TD>
						<TD class="TableData">	<select id="s1" class="BigSelect" runat=server ><option>省份</option></select> 
<select id="s2" class="BigSelect" runat=server  ><option>地级市</option></select> 
<select id="s3" class="BigSelect" runat=server  onchange="setValue();"  ><option>市、县级市、县</option></select> 
						</TD>
					</TR>
		
				
				
			
					<TR class="TableControl" align="center">
						<TD noWrap colSpan="2"><INPUT class="BigButton" onclick="CheckForm();" type="button" value="下一步" id="Button1">&nbsp;&nbsp;
							
						</TD>
					</TR>
				</TABLE>
            <input id="HidProvince" type="hidden" /> <input id="HidCity" type="hidden" /> <input id="HidArea" type="hidden" /><input id="HidCode" type="hidden"  runat=server />
</div>
 <div id="ShowJs" runat="Server"> </div>
    </form>
</body>
</html>