//var weburl="http://070080.cn"; //网址的全地址,如果不能正常显示,就使用 var weburl="http://zxkf.070080.com/"; // var img_top= weburl + "zgsoft/index_5.gif"; //最顶部图片 var img_mid= weburl + "zgsoft/index_12.gif"; //中间背景图片 var img_bottom= weburl + "zgsoft/index_14.gif"; //最下部图片 var img_head= weburl + "zgsoft/im.gif"; //头像图片,最好是13*13像素 var img_banner= weburl + "zgsoft/index_10.gif"; //在线客服后面的背景 var img_botton= weburl + "zgsoft/index_6.gif"; //隐藏时点击的按钮. var style_left=375-5; //左边距离 var style_top=120; //顶端距离 var mid_line=0; //参考中线,以此计算左右偏移的位置; var ifright=0; style_left=400-5; //左右计算距离不同 //位置靠左还是靠右,0为居左,1为居右,如:1024*768的分辨率,如果居右离右边边框215+style_left的值, var ifshow=0; //初始状态是否隐藏 var default_style=1; //0是必须要设置left,top,1代表左上角:top为0,left为(中线-512);2代表右上角;3代表左下角;4代表右下角 var cid=88855; //系统分配的公司ID号 function getCookie(){ var strCookie=document.cookie;var arrCookie=strCookie.split("; "); for(var i=0;i"); //离线 var isIE = /*@cc_on!@*/false; var isIE6 = isIE && navigator.appVersion.indexOf("IE 6") != -1; var W3CDOM = (document.getElementsByTagName && document.createElement); var byId = function(id){ return document.getElementById(id); } var getByHash = function(hash){ return byId(hash.replace('#', '')); } function getDatal(url){ var createXMLHttpRequest = function(){ try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {} try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {} try { return new XMLHttpRequest(); } catch(e) {} alert("XMLHttpRequest not supported"); return null; } var xmlhttp = createXMLHttpRequest();//创建XMLHTTPRequest对象,需MSXML4.0支持["MSXML2.XMLHTTP.4.0","MSXML2.DOMDocument.4.0"] var word=""; xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 1) { } if (xmlhttp.readyState == 4 && xmlhttp.status == 200){ word = xmlhttp.responseText; return word; } } try { xmlhttp.open("GET",url,true,"",""); //使用HTTP GET初始化HTTP请求 xmlhttp.send(null); //return xmlhttp.responseText; } catch(e) { //alert(e.message); } } function getword(url){ var aa=getDatal(url); } window.onunload=function(){ getword("/offline.aspx?u=88850562com&v="+ vistorid +"&test="+Math.random()); }