function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function showHH(n) { window.open('/statqq/qq/huihua.asp?id='+ n,'','width=600,height=400,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no') } function showLY(m,na) { window.open('/statqq/qq/liuyan.asp?id='+ m +'&n='+ na,'','width=450,height=328,toolbar=no, menubar=no, scrollbars=no, resizable=yes, location=no, status=no') } var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); var qqapptxt; function checkapp(){ xmlhttp.open("GET", '/statqq/qq/appfc.asp',true); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) { qqapptxt= xmlhttp.responseText; if(qqapptxt.length > 1 ){ if(qqapptxt=='fc'){location.reload(); window.focus();}else location.href='/statqq/qq/huihua.asp?t=yes&id='+qqapptxt; } setTimeout('checkapp()',4000); } } xmlhttp.send(null); } function setqqwz() { topp868=Number(qqwz868.height)+(document.body.scrollTop+1-qqwz868.height)*0.3; qqwz868.height = topp868; qqwz868.width = document.body.scrollLeft + qqleft868; } function Move86822(n){ qqleft868-=n; if(qqleft868<=17){qqleft868=17;document.cookie='q_bb=y';} else window.setTimeout("Move86822("+n+")",100); } function Move868222(n){ qqleft868+=n; if(qqleft868>=140){qqleft868=140;document.cookie='q_bb=n';} else window.setTimeout("Move868222("+n+")",100); } function HideFC(){LayerFC.style.visibility = 'hidden';}