<%@ page language="VB" autoeventwireup="false" inherits="web_aspx_web_Customerserver, App_Web_web_customerserver.aspx.a5bc3c2c" %>
<!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 runat="server">
    <title>您正在与 <%=ubb.xml_tables("web_config.xml", "pz_name")%> 的在线客服 交谈中....</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<style type="text/css">
<!--
body {
	margin-left: 2px;
	margin-top: 1px;
	margin-right: 2px;
	margin-bottom: 1px;
}
.information_text {
	background-image: url(web_aspx_inages/img-2.JPG);
	height: 298px;
	width: 424px;
	overflow: auto;
	font-size: 12px;
	line-height: 25px;
	margin: 5px;
	padding: 5px;
	bottom:0px;
	background-attachment: scroll;
	background-repeat: repeat-x;
	background-color: #FFFFFF;
}

.information_fire {
	background-image: url(web_aspx_inages/img-2.JPG);
	height: 173px;
	width: 434px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	font-size: 12px;
	line-height: 25px;
}
.left_ad {
	background-image: url(web_aspx_inages/img-2.JPG);
	height: 486px;
	width: 204px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	overflow: hidden;
}
.table_button{
	position: absolute;
	text-align: left;
	z-index: 100;
	float: left;
	margin-top: -310px;
	margin-left: 370px;
	font-size: 12px;
	}
-->
</style>
<script language="javascript" type="text/javascript">

    //用于创建XMLHttpRequest对象
    function createXmlHttp() {
        //根据window.XMLHttpRequest对象是否存在使用不同的创建方式
        if (window.XMLHttpRequest) {
            xmlHttp = new XMLHttpRequest(); //FireFox、Opera等浏览器支持的创建方式
        } else {
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); //IE浏览器支持的创建方式
        }
    }

    //直接通过XMLHttpRequest对象获取远程网页源代码
    function getSource() {
        var url = 'web_Customerserver_content.ashx?temp=' + Math.random(); //获取目标地址信息

        createXmlHttp(); //创建XMLHttpRequest对象
        xmlHttp.onreadystatechange = writeSource; //设置回调函数
        xmlHttp.open("GET", url, true);
        xmlHttp.send(null);
    }

    //将远程网页源代码写入页面文字区域
    function writeSource() {
        if (xmlHttp.readyState == 4) {
            document.getElementById("source").innerHTML = xmlHttp.responseText;
        }
    }
  
    var s = setInterval("getSource()", 3000); 

    //=======================================================

    function f32() {
        DataDeal.location.href = "web_Customerserver.aspx?category=CustomerClose";
        return alert("谢谢您对我们的支持，祝您生活愉快。");
    }

    function sc() {
        var e = document.getElementById("information_table")
        e.scrollTop = e.scrollHeight;
    }
    
	
	

 
function check() 
{ 
var lee=document.forms["form1"].lee;
if (lee.checked == true) 
 { 
 sc();
 } 
} 

var s = setInterval("check()", 1000); 

</script>
<link href="../web_css/string.css" rel="stylesheet" type="text/css" />
</head>
<body  onbeforeunload="return f32();" scroll="no">
    <form id="form1" runat="server">
    <iframe id="DataDeal" name="DataDeal" src="about:blank" width="0" height="0" style="display:none"></iframe>
    <%If ubb.query_string("category") <> "CustomerClose" Then%>
    
        <table width="655" border="0" cellpadding="0" cellspacing="1" bgcolor="#176dbf">
           <tr>
             <td height="500" valign="top" bgcolor="a9defd"><table width="100%" border="0" cellspacing="0" cellpadding="0">
               <tr>
                 <td height="24" background="web_aspx_inages/img-1.JPG"><table width="653" border="0" cellspacing="0" cellpadding="0">
                   <tr>
                     <td width="30">&nbsp;</td>
                     <td class="string_12_ffffff">您正在与 <%=ubb.xml_tables("web_config.xml", "pz_name")%> 的在线客服 交谈中....</td>
                   </tr>
                 </table></td>
               </tr>
             </table>
               <table width="100%" border="0" cellspacing="0" cellpadding="0">
                 <tr>
                   <td>
              
                   <div class="information_text" id="information_table">               
<span id="source"></span>
                   </div>
                   <div class="table_button" id="scroll_cs_allchat">
                   <table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><input type="checkbox" id="lee" checked="checked"></td>
    <td>滚屏</td>
  </tr>
</table>
</div>
                   <div class="information_fire">
                     <iframe src="web_Customerserver_add.aspx" width="434" height="173" scrolling="No" frameborder="0" ></iframe>
                   </div>                   </td>
                   <td><div class="left_ad"><%= ubb.guanguao("在线客服右侧", "", " ")%></div></td>
                 </tr>
               </table>
               
             
             </td>
           </tr>
         </table>
       
         <%End If%>

    </form>

</body>
</html>
