-->"); s = s.replace(/onmouse/gi,""); s = s.replace(/onclick/gi,""); s = s.replace(/onload/gi,""); s = s.replace(/onchange/gi,""); s = s.replace(/onkey/gi,""); return s;};/** end of 发送信息的函数组 *****//* 为对象绑定事件 *****/function AttachEventEx(eid,env,action){ var object = typeof(eid)=='object'?eid:document.getElementById(eid); if (object && object.addEventListener){ object.addEventListener(env,action,true); }else if(object){ object.attachEvent(env,action); };};function ClearMsg(){ editor.ClearHtmlContent();}; /* 禁用右键菜单 *****//* document.oncontextmenu = function(){return false;} *****//* 初始化页面 *****/window.onload = function(){ getMsgTimer = setInterval("GetMsg()",1000 * 3); /* 定时读取新信息 *****/ /*if(screen.height <= 600) document.body.scroll = "auto";*/};/* 页面关关闭或刷新时 *****/window.onunload = function(){ if(noSendQuitMsg) return; var form = document.forms['mainform']; var query = ""; for(var i=0;i",Msg); MSG1.rect(null,null,null,screen.height-50); MSG1.speed = 5; MSG1.step = 5; /* alert(MSG1.top); *****/ MSG1.show(); /*} */ }catch(e){ };};/** 音频面板 *****/function RejectAudio(){ SendMessage($("FromName").value + " Rejection pronunciation dialogue request…",7); /* 拒绝语音 *****/};function CloseAudio(isNoSendMsg){ $("AudioTd").innerHTML = ""; $("AudioContainer").style.display = 'none'; if(!isNoSendMsg) SendMessage($("FromName").value + " Withdrew from the pronunciation dialogue…",8); /* 退出语音 *****/};function MinAudio(){ $("AudioTr").style.display = 'none';};function MaxAudio(){ AttachAudio();};function AttachAudio(isAccept){ if($("AudioTd").innerHTML == ""){ var flashUrl = "flashcom/Client/webcallclient.swf?SiteID=" + $("SiteID").value + "&Lang=en"; flashUrl += "&MsgFrom=" + $("MsgFrom").value; flashUrl += "&FromName=" + $("FromName").value; flashUrl += "&MsgTo=" + $("MsgTo").value; flashUrl += "&ToName=" + $("ToName").value; flashUrl += "&CheckSum=" + $("CheckSum").value; flashUrl += "&Server=" + window.location.hostname + "" ; var flash = ""; flash += ""; flash += ""; flash += ""; flash += ""; flash += ""; flash += ""; flash += ""; $("AudioTd").innerHTML = flash; if(isAccept) SendMessage($("FromName").value + " Accepts the pronunciation dialogue request…",6); /* 接受语音 *****/ else SendMessage($("FromName").value + " The request carries on the pronunciation dialogue, please wait for opposite party confirmed",5); /* 请求语音 *****/ }; var AudioContainer = $("AudioContainer"); AudioContainer.style.left = getOffsetLeft($('ChatBoardContainer')) + $('ChatBoardContainer').clientWidth - parseInt(AudioContainer.style.width) - 25; AudioContainer.style.top = getOffsetTop($('ChatBoardContainer')) + 10; AudioContainer.style.display = ''; $("AudioTr").style.display = '';};/** end of 音频面板 *****//* 快捷回复设置面板 *****/function ShowQuickSendPanel(){ var p = $("QuickSendPanel"); p.style.left = getOffsetLeft(event.srcElement.parentElement); p.style.top = getOffsetTop(event.srcElement) - 60; p.style.display = 'block';};function HideQuickSendPanel(){ var p = $("QuickSendPanel"); p.style.display = 'none';};/** end of 快捷回复设置面板 *****//** tips *****/function ShowTips(s){ var dvTips = $('dvTips'); if(!dvTips){ dvTips = document.createElement("DIV"); dvTips.id = 'dvTips'; dvTips.style.border = '1px solid black'; dvTips.style.background = '#F0EEC1'; dvTips.style.position = 'absolute'; dvTips.style.padding = '3px'; document.body.appendChild(dvTips); }; dvTips.innerHTML = ""+ s +""; dvTips.style.left = event.clientX + 5; dvTips.style.top = event.clientY + 5; dvTips.style.display = '';};function HideTips(){ var dvTips = $('dvTips'); if(dvTips) dvTips.style.display = 'none';};window.onfocus = function(){ needShowPopu = false;};window.onblur = function(){ needShowPopu = true;};
  Close Window
 
  Current dialogue person: 华籁-客服部
 
Press Ctrl+Enter To Send