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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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";

}

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";
 
}


 function OpenWin(str)
   {
      var id=document.getElementById("HidCid").value;
     url = str+"?id="+id
        
              var R=  window.showModalDialog(url,"水平","dialogWidth=500px;dialogHeight=500px");
             
              if(R == "ok")
              {
                  location.reload();
              }
         return false;
  
   }
    function Open(str)
    {
         var id=document.getElementById("HidCid").value;
          url = str+"?type=public&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" noWrap width=100> <input id="Button4" type="button" onclick="hid();"  class="SmallButton" value="隐藏<<<" /></td><td class="TableData" noWrap> <input id="Button1" type="button"  class="SmallButton" value="修改客户信息" onclick="Open('EditClient.aspx')" style="width: 100px" /> </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  width="50%" 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 width="50%" 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>
   
  

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

    <tr><td align=center  colspan=4 class="TableData"><TABLE class="small" cellSpacing="0" cellPadding="0" width="100%">
								<TR><td class="TableData" noWrap>&nbsp;&nbsp;</td></tr>
    </TABLE> 
</td></tr>

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