var site=''; var ChatWidth=560; var ChatHeight=400; var ChatLeft=(window.screen.width-ChatWidth)/2; var ChatTop=(window.screen.height-ChatHeight)/2; var jkcallonline=false; var jkwebcallsid=""; //sid=0为公司 sid>0为客服号 var jkwebcallautoturn="no";//yes或no 点击交谈时是否出现所有客服列表 var jkwebcallOnline="";//自定义在线图像的地址 默认为空,可以不设置 var jkwebcallOffline="";//自定义离线图像的地址 默认为空,可以不设置 //////以上需要填写////////////////////////////////// var jkwebcalladomain="http://"+document.domain;//例http://www.abc.com 不要以/结尾 var pa='sid='+jkwebcallsid+'&type=pic&online='+jkwebcallOnline+'&offline='+jkwebcallOffline; var s1=''; try{document.getElementById("jkwebcallimg").innerHTML=s1+s2+s3;}catch(e){}; var online=new Array(); if (!document.layers) document.write('
'); document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write('
'); if (!document.layers) document.write('
'); var gWebcallOnline=false; function KillError() { //alert('javascript error!'); return false; } window.onerror=KillError; var where = document.referrer if (where == '') { where='a'; }; function aobj(IdStr){ try{ return document.getElementById(IdStr);}catch(e){}; } function requestQQchat(qqno){ try{location.href='Tencent://Message/?menu=yes&exe=&uin='+a2117[1]+'';}catch(e){}; return; } function requestWebchat(sid){ a2118=window.open('/mychatserver/a1152.asp?autoturn=no&sid='+sid+'&where='+escape(where),'new', 'menubar=no,toolbar=no,status=no,width='+ChatWidth+',height='+ChatHeight+',left='+ChatLeft+',top='+ChatTop+',scrollbars=no, resizable=no'); } function requestemail(){ a2118=window.open('/mychatserver/lya.asp','new', 'menubar=no,toolbar=no,status=no,width='+ChatWidth+',height='+ChatHeight+',left='+ChatLeft+',top='+ChatTop+',scrollbars=no, resizable=no'); } var margin=1; var leftx,topy; var docbd=document.compatMode=="CSS1Compat" ? document.documentElement: document.body; var FloatLayer=document.getElementById("divStayTopLeft"); FloatLayer.style.display=""; function MoveLayer(){ topy=docbd.scrollTop + docbd.clientHeight/3; if (site=="right"){leftx=docbd.clientWidth-FloatLayer.clientWidth-margin}else{leftx=docbd.scrollLeft+margin};   FloatLayer.style.top =topy+"px"; FloatLayer.style.left =leftx+"px"; setTimeout("MoveLayer();",20); } MoveLayer();