﻿// JavaScript Document
var w3c = (document.getElementById) ? true : false;
var agt = navigator.userAgent.toLowerCase();
var ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1) && (agt.indexOf("omniweb") == -1));
var mymovey = new Number();
function IeTrueBody(){
	return (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;
}
function GetScrollTop(){
	return ie ? IeTrueBody().scrollTop : window.pageYOffset;
}
function CloseQQ()
{
divStayTopleft.style.display="none";
return true; 
}

document.write('<div style="width:900px;margin-left:auto;margin-right:auto;"><div style="float:right;width:1px;"><div id="divStayTopleft" style="POSITION: absolute;width:109px;"><div style="margin:0px; height:34px; overflow:hidden"><a onClick="CloseQQ()" href="javascript:;" shape="circle" coords="91,16,12"><img src="images/qq_top.gif" border="0" height="34"/></a></div><div style="background:url(images/bg.jpg); margin:0px; padding:10px 0px 10px 18px;"><a target=blank href=tencent://message/?uin=523656159&Site=欣网软件&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:278758096:7 alt=[欣网软件]></a><a target=blank href=tencent://message/?uin=278758096&Site=欣网软件&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:523656159:7 alt=[欣网软件]></a><a target=blank href=tencent://message/?uin=523656159&Site=欣网软件&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:523656159:7 alt=[欣网软件]></a></div><img src="images/bq.jpg"/></div></div></div>');
function heartBeat(){
				diffY=GetScrollTop(); 
				mymovey += Math.floor((diffY-document.getElementById('divStayTopleft').style.top.replace("px","")+100)*0.1);
				document.getElementById('divStayTopleft').style.top = mymovey+"px";
			} 
			window.setInterval("heartBeat()",1);
