<%@ Page Language="C#" AutoEventWireup="true" CodeFile="chat.aspx.cs" Inherits="wangkems_Default"%>
<!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>
<title>WangkeMS</title>
<meta http-equiv="pragma" content="no-cache" />
<script type="text/javascript" src="scripts/chat_sys.js"></script>
<script type="text/javascript" src="scripts/chat_tip.js"></script>
<link href="style/global.css" rel="stylesheet" type="text/css">
</head>
<body onload="loadInit();" onunload="closeWin();" oncontextmenu="return false;" style="background:#cfe9ed;">
  <table width="684" height="465" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="58" background="images/top_bg.png"><table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src='images/logo.png' width='58' height='46' border='0' /></td>
            <td width="390" class="title">客服 "<%=Session["UserNickName"]%>" 正在为您服务</td>
            <td width="210" align="right" class="titlecolor"><%=Session["Ipaddress"]%></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td style="background:#ffffff"><table height="6" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="6"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="443" style="border-bottom:1px solid #C1D8E1;"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="6"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="223" style="border-bottom:1px solid #C1D8E1;"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="6" style="border-right:1px solid #B4BCC0"><img src="images/transparent.gif" width="1" height="1" /></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td valign="top"><table width="684"  height="370" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <tr>
            <td width="6" ><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="443" valign="top" ><table width="100%" height="370" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><table style="border:1px solid #C1D8E1;border-top:0px;" width="443" height="227"  border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td background="images/title_bg.png" style="width: 442px; height: 23px;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="24" align="center" style="height: 15px"><img src="images/msg.gif" width="17" height="15" border="0"/></td>
                              <td valign="bottom" style="height: 15px"><span style="color:#44828D" id="chat_title_div">在线洽谈</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="FONT-SIZE: 12px;" id="wait_time"></span></td>
                              <td width="16" style="height: 15px"><img src="images/dot.gif" width="8" height="8" /></td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr>
                        <td style="width:442px">
                        <iframe frameborder="0" id="receivertb" name="receivertb" src="chatbody.aspx" width="100%" height="200px" scrolling="yes" style="overflow-x:visible;"></iframe>
                        </td>
                      </tr>
                    </table>
                    <table width="100%"  height="6" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                      <tr>
                        <td width="223" style="border-bottom:1px solid #C1D8E1;"><img src="images/transparent.gif" width="1" height="1" /></td>
                      </tr>
                    </table>
                    <table  style="border:1px solid #C1D8E1;border-top:0px;" width="100%" height="165"  border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="26" colspan="2" background="images/toolbar_bg.png" style="border-bottom:1px solid #C1D8E1;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="1" bgcolor="#FFFFFF" style="height: 25px"></td>
                              <td width="56" align="center" style="height: 25px"><a href="#" onClick="javascript:selectFace();return false;" class="faceico">表情</a></td>
                              <td width="1" style="height: 25px"><img src="images/toolbar_s.gif" width="1" height="25" /></td>
                              <td width="56" align="center" style="height: 25px"><a href="javascript:saveasMsg();" class="saveico">保存</a></td>
                              <td width="1" style="height: 25px"><img src="images/toolbar_s.gif" width="1" height="25" /></td>
                              <td width="56" align="center" style="height: 25px"><a href="javascript:printMsg();" class="printico">打印</a></td>
                              <td style="height: 25px">&nbsp;</td>
                              <td width="16" style="height: 15px"><img src="images/dot.gif" width="8" height="8" /></td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr>
                        <td width="72%" align="center">
                         <form id="form1" runat="server" name="frmSend" action="" method="post">
                            <asp:TextBox ID="sendmsgtb" runat="server" Height="130px" TextMode="MultiLine" Width="338px" BorderWidth="0px" BorderStyle="None" CssClass="textarea"></asp:TextBox>
                         </form>
                        </td>
                        <td width="20%" align="center" valign="middle">
                            <img height="72" src="images/btn_send.png" onclick="sendMsg('talk');" width="82" style="cursor:pointer;" onmouseover="this.src='images/btn_send_select.png'" onmouseout="this.src='images/btn_send.png'" alt="按Ctrl+Enter或者按Alt+S键可快捷发送信息" />
                      </tr>
                    </table></td>
                </tr>
              </table></td>
            <td width="6"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="223" valign="top"  >
                <table width="223"  height="227" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                <tr>
                  <td width="223" align="center" valign="top" background="images/ad_bg.png" style="border-left:1px solid #C1D8E1;border-right:1px solid #C1D8E1;border-bottom:1px solid #C1D8E1;">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="205" background="images/title_bg.png" style="height:23px;color:#44828D">客服公告</td><td width="16" background="images/title_bg.png" style="height: 15px"><img src="images/dot.gif" width="8" height="8" /></td>
                      </tr>
                      <tr>
                        <td colspan="2" style="text-align:left;text-indent:2em;line-height:180%;padding-top:5px;"><span id="sys_ad"><img src="images/loading.gif" hspace="3" align="absMiddle">正在加载…</span></td>
                      </tr>
                    </table></td>
                </tr>
              </table>
              <table  height="6" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                <tr>
                  <td width="223" style="border-bottom:1px solid #C1D8E1;"><img src="images/transparent.gif" width="1" height="1" /></td>
                </tr>
              </table>
              <table style="border-left:1px solid #C1D8E1;border-right:1px solid #C1D8E1;border-bottom:1px solid #C1D8E1;" width="100%" height="165" border="0" cellpadding="0" cellspacing="0">
                <tr>
                   <td height="25" align="center" colspan="2" background="images/toolbar_bg.png" style="border-bottom:1px solid #C1D8E1;">
                     <table width="100%" border="0" cellspacing="0" cellpadding="0">
                       <tr>
                         <td style="height: 25px;color:#44828D"><%=Session["UserNickName"]%>的名片</td><td width="16" style="height: 15px"><img src="images/dot.gif" width="8" height="8" /></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td colspan="2" align="center" valign="middle">
                    <table width="208" height="126" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #AFC6CF">
                      <tr>
                        <td height="30" align="center" valign="middle" style="border-bottom:solid 3px #B7DDE3;padding-top:5px;"><%=Session["CompanyName"]%></td>
                      </tr>
                      <tr>
                        <td align="center" width="208" style="height:18px;padding-top:5px;"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="20%">姓名：</td><td width="80%" align="left"><%=Session["UserNickName"]%></td>
                            </tr>
                          </table></td> 
                      </tr>
                      <tr>
                        <td height="18" align="center"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="20%">电话：</td><td width="80%" align="left"><%=Session["Telephone"]%></td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr>
                        <td height="18" align="center"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="20%">邮箱：</td><td width="80%" align="left"><%=Session["Email"]%></td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr>
                        <td align="center" height="25"></td>
                      </tr>
                    </table>
                    </td>
                </tr>
              </table></td>
            <td width="6" style=" border-right:1px solid #B4BCC0;">&nbsp;</td>
          </tr>
        </table>
        <table height="6" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <tr>
            <td width="6"  style="border-bottom:1px solid #B4BCC0;"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="443" style="border-bottom:1px solid #B4BCC0;"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="6" style="border-bottom:1px solid #B4BCC0;"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="223" style="border-bottom:1px solid #B4BCC0;"><img src="images/transparent.gif" width="1" height="1" /></td>
            <td width="6" style="border-bottom:1px solid #B4BCC0;border-right:1px solid #B4BCC0"><img src="images/transparent.gif" width="1" height="1" /></td>
          </tr>
        </table></td>
    </tr>
  </table>
  <div id='dialog' class='dialog'>
  <div id='dialog_title' class='dialog_title'></div>
  <div id='dialog_body' class='dialog_body'></div>
  <div id='dialog_btn' class='dialog_btn'></div>
  </div>
  <div id='dialog_bg' class='dialog_bg'></div>
</body>
</html>
