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


<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
     <script>
var menu_id=0;

function setPointer(theRow, thePointerColor,menu_id_over)
{
  if(menu_id!=menu_id_over)
  {
	if(thePointerColor == "#B3D1FF")
		theRow.className="menu_active";
	else
		theRow.className="menu_comon";
   }
}

function view_menu1()
{
 
   
  if(menu_id!=0)
    menu_main.location="ClientContactList.aspx?id="+document.form1.HidCid.value;
   menu_id=1;
   menu_1.className="menu_active";
   menu_2.className="menu_comon";
   menu_3.className="menu_comon";
   menu_4.className="menu_comon";
   
}

function view_menu2()
{

   menu_main.location="ClientTract.aspx?id="+document.form1.HidCid.value;
   menu_id=2;
   menu_1.className="menu_comon";
   menu_2.className="menu_active";
   menu_3.className="menu_comon";
   menu_4.className="menu_comon";
     
}



function view_menu3()
{
 menu_main.location="ClientCon.aspx?id="+document.form1.HidCid.value;
   menu_id=3;
   menu_1.className="menu_comon";
   menu_2.className="menu_comon";
   menu_3.className="menu_active";
   menu_4.className="menu_comon";
    
}
function view_menu4()
{
 menu_main.location="ClientService.aspx?id="+document.form1.HidCid.value;
   menu_id=4;
   menu_1.className="menu_comon";
   menu_2.className="menu_comon";
   menu_3.className="menu_comon";
      
   menu_4.className="menu_active";
}
 function OpenWin(str)
   {
      var id=document.getElementById("Hidden1").value;
      var url=str+"&Product_id="+id;
      if(str.indexOf("修改")>-1)
      {
         if(id=="0" || id=="")
         {
           alert('请您选择需要修改的产品类型！');
         }
         else
         {
              var R=  window.showModalDialog(url,"水平","dialogWidth=460px;dialogHeight=280px");
              alert(R);
              if(R == "ok")
              {
                  location.reload();
              }
         }
     }
    else
    {
       var dd=window.showModalDialog(url,"水平","dialogWidth=460px;dialogHeight=280px");
     }
   }
     function Open(str)
    {
         var id=document.getElementById("HidCid").value;
          url = str+"?type=zs&id="+id
         location.href=url;
    }
   function hid()
   {
      if(tr1.style.display == "none")
      {
          tr1.style.display = "";
           tr2.style.display = "";
            tr3.style.display = "";
             tr4.style.display = "";
              tr5.style.display = "";
               tr6.style.display = "";
      }
      else
      {
         tr1.style.display = "none"
          tr2.style.display = "none";
           tr3.style.display = "none";
            tr4.style.display = "none";
             tr5.style.display = "none";
             tr6.style.display = "none";
      }
   }
   
</script>
</head>
<body class="bodycolor">
    <form id="form1" runat="server">
      <div id="pnlMain">
    	<TABLE class="small" cellSpacing="1" cellPadding="3" width="800" align="center" border="0" bgcolor="black" >
    	<tr>
    	<td class="TableData" noWrap width=150><font size=4><b>客户信息</b></font>:</td><td class="TableData" noWrap width=300 ><font color=red>
            <asp:Label ID="LblName" runat="server" Text=""></asp:Label></font></td>
		<td class="TableData" align="center" width=100 colspan="2"> <input id="Button4" type="button" onclick="hid();"  class="SmallButton" value="隐藏<<<" /></td>
    	</tr>
    	
    	<tr id="tr1">
    	<td class="TableData" noWrap>保护开始日期:</td><td class="TableData" noWrap><asp:Label ID="LblBeginDate" ForeColor=red  runat="server" Text=""></asp:Label></td><td class="TableData" noWrap>保护截止日期:</td><td class="TableData" noWrap><asp:Label ID="LblEndDate" ForeColor=red runat="server" Text=""></asp:Label></td>
    	</tr>
    	<tr id="tr2">
    	<td class="TableData" noWrap>电话:</td><td class="TableData" noWrap><asp:Label ID="LblTel" runat="server" Text=""></asp:Label></td><td class="TableData" noWrap>
            传真:</td><td class="TableData" noWrap><asp:Label ID="Fax" runat="server" Text=""></asp:Label></td>
    	</tr>
    	<tr id="tr3">
    	<td class="TableData" noWrap>所在地:</td><td class="TableData" noWrap>省份:<asp:Label ID="LblProvince"  CssClass="big3" ForeColor=red  runat="server" Text=""></asp:Label>
                        地级市:<asp:Label ID="LblCity"  CssClass="big3" ForeColor=red  runat="server" Text=""></asp:Label>
                        市、县级市、县:<asp:Label ID="LblArea"  CssClass="big3" ForeColor=red  runat="server" Text=""></asp:Label></td><td class="TableData" noWrap>行业:</td><td class="TableData" noWrap><asp:Label ID="LblHy" runat="server" Text=""></asp:Label></td>
    	</tr>
         <tr id="tr4">
    	<td class="TableData" noWrap >详细地址:</td><td colspan=3 class="TableData" noWrap><asp:Label ID="LblAdr" runat="server" Text=""></asp:Label></td>
    	</tr>
    	<tr id="tr5">
    	<td class="TableData" noWrap>网址:</td><td class="TableData" noWrap><asp:Label ID="LblWeb" runat="server" Text=""></asp:Label></td><td class="TableData" noWrap>E-Mail:</td><td class="TableData" noWrap><asp:Label ID="LblMail" runat="server" Text=""></asp:Label></td>
    	</tr>
    	<tr id="tr6">
    	<td class="TableData" noWrap>客户类型:</td><td class="TableData" noWrap>
            &nbsp;<asp:Label ID="LblType" runat="server" Text=""></asp:Label></td><td class="TableData" noWrap>客户积分:</td><td class="TableData" noWrap><asp:Label ID="LblPoint" runat="server" Text=""></asp:Label></td>
    	</tr>
    	
    	<tr>
    	<td class="TableData"  colspan=4 noWrap>
    <TABLE class="big" cellspacing="0" height="100%" width="100%" bgcolor="#DDDDDD" border="1" cellpadding="1" bordercolorlight="#000000" bordercolordark="#FFFFFF">
 <TR>

   <TD title="联系人信息" id="menu_1" onclick="view_menu1()" onmouseover="setPointer(this, '#B3D1FF',1)" onmouseout="setPointer(this, '#DDDDDD',1)" style="cursor:hand">
       <img src="../images/menu/sms.gif" WIDTH="20" HEIGHT="20" align="absmiddle"><b><font color="#000000"> 联系人信息</font></b>
   </TD>

   <TD title="客户跟踪" id="menu_2" onclick="view_menu2()" onmouseover="setPointer(this, '#B3D1FF',2)" onmouseout="setPointer(this, '#DDDDDD',2)" style="cursor:hand">
       <img src="../images/menu/sms.gif" WIDTH="20" HEIGHT="20" align="absMiddle"><b><font color="#000000"> 客户跟踪</font></b>
   </TD>
   

   
   <TD title="客户合同" id="menu_3" onclick="view_menu3()" onmouseover="setPointer(this, '#B3D1FF',3)" onmouseout="setPointer(this, '#DDDDDD',4)" style="cursor:hand">
       <img src="../images/menu/sms.gif" WIDTH="20" HEIGHT="20" align="absMiddle"><b><font color="#000000"> 客户合同</font></b>
   </TD>

   <TD title="售后服务" id="menu_4" onclick="view_menu4()" onmouseover="setPointer(this, '#B3D1FF',4)" onmouseout="setPointer(this, '#DDDDDD',5)" style="cursor:hand">
       <img src="../images/menu/sms.gif" WIDTH="20" HEIGHT="20" align="absMiddle"><b><font color="#000000"> 售后服务</font></b>
   </TD>

   </TR>
</TABLE></td>
    	</tr>
    	<tr>
    	<td class="TableData" noWrap  colspan=4><iframe name="menu_main" height="380px" width="100%"   border="0" frameborder="0" src="ClientContactList.aspx?id=<%=GetCid()%>"></iframe></td>
    	</tr>

    <input id="HidCid" runat=server  type="hidden" />
       </TABLE>
           <div id="ShowJs" runat="Server"> </div>
       </div>
    </form>
</body>
</html>

