var _zcms_d,_zcms_s,_zcms_c,_zcms_l,_zcms_t,_zcms_s; var _zcms_st=new date().gettime(); var _zcms_stat = function(param){ var p = {}; if(param){ var arr = param.split("&"); for(var i=0;i]+>/g,'')); p["url"] = _zcms_stat.eu(location.href); p["source"]=_zcms_source(); p["host"] = location.host; var dest = _zcms_d; p["dest"] = false; dest = dest+"?"+_zcms_stat.mq(p); var s = document.createelement("script"); s.src = dest; (document.getelementsbytagname("head")[0]||document.getelementsbytagname("body")[0]).appendchild(s); }; _zcms_stat.eu = function(str){ return encodeuri(str).replace(/=/g,"%3d").replace(/\+/g,"%2b").replace(/\?/g,"%3f").replace(/\&/g,"%26").replace(/\#/g,"%23"); } _zcms_stat.mq = function(map){ var sb = []; for(var prop in map){ if(map[prop]){ sb.push(prop+"="+map[prop]); } } return sb.join("&"); } _zcms_stat.trim = function(str){ return str.replace(/(^\s*)|(\s*$)/g,""); } _zcms_stat.cookieget=function(name){ var cs = document.cookie.split("; "); for (i = 0; i < cs.length; i++) { var arr = cs[i].split("="); var n = _zcms_stat.trim(arr[0]); var v = arr[1] ? _zcms_stat.trim(arr[1]) : ""; if (n === name) { return decodeuricomponent(v); } } return null; } _zcms_stat.je = function(){ var je=""; var n=navigator; je = n.javaenabled()?1:0; return je; } _zcms_stat.fv = function(){ var f="",n=navigator; if(n.plugins && n.plugins.length){ for(var ii=0;ii=2;ii--){ try{ var fl=eval("new activexobject('shockwaveflash.shockwaveflash."+ii+"');"); if(fl){ f=ii + '.0'; break; } }catch(e){} } } return f; } _zcms_stat.ce = function(){ var c_en = (navigator.cookieenabled)? 1 : 0; return c_en; } _zcms_stat.vq = function(){ var cs = document.cookie.split("; "); var name = _zcms_s+"_vq"; var vq = 1; for(i=0; i60000){ _zcms_lt_ka = t; var p = {}; p["event"] = "keepalive"; p["siteid"] = _zcms_s; var dest = _zcms_d+"?"+_zcms_stat.mq(p); var s = document.createelement("script"); s.src = dest; (document.getelementsbytagname("head")[0]||document.getelementsbytagname("body")[0]).appendchild(s); } if(t-_zcms_lt>60000){ _zcms_nt += 10000; }else{ _zcms_nt += t-_zcms_lt; } _zcms_lt = t; } function _zcms_source(){ var hash=location.hash; var subindex=hash.indexof("#_z_s="); if(subindex==-1){ return ""; }else{ var source=hash.substring(subindex+6); location.hash=hash.substring(0,subindex); if((location.hash=="#"||location.hash=="")&&history.replacestate){ history.replacestate(null,'',location.pathname+location.search); } return source; } } var pos = []; function _zcms_cr(evt){ var x = evt.clientx, y=evt.clienty; var src = evt.srcelement; if(!src){ var node = evt.target; while(node&&node.nodetype!=1)node=node.parentnode; src = node; } var win; if(src.ownerdocument.defaultview){ win = src.ownerdocument.defaultview; }else{ win = src.ownerdocument.parentwindow; } x += math.max(win.document.body.scrollleft, win.document.documentelement.scrollleft); y += math.max(win.document.body.scrolltop, win.document.documentelement.scrolltop); pos.push([x,y]); } if(window.attachevent){ window.attachevent("onbeforeunload",_zcms_bu); document.attachevent("onclick",_zcms_ka); document.attachevent("onkeydown",_zcms_ka); document.attachevent("onmousemove",_zcms_ka); window.attachevent("onscroll",_zcms_ka); }else if(window.addeventlistener){ window.addeventlistener('beforeunload',_zcms_bu,false); document.addeventlistener("click",_zcms_ka,false); document.addeventlistener("click",_zcms_cr,false); document.addeventlistener("keydown",_zcms_ka,false); document.addeventlistener("mousemove",_zcms_ka,false); window.addeventlistener("scroll",_zcms_ka,false); }