// JavaScript Document
lastScrollY=0;
function heartBeat(){ 
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
    diffY = document.documentElement.scrollTop;
else if (document.body)
    diffY = document.body.scrollTop
else
    {/*Netscape stuff*/}
    
//alert(diffY);
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.getElementById("lovexin16").style.top=parseInt(document.getElementById("lovexin16").style.top)+percent+"px";
document.getElementById("lovexin17").style.top=parseInt(document.getElementById("lovexin17").style.top)+percent+"px";

lastScrollY=lastScrollY+percent; 
//alert(lastScrollY);
}
suspendcode16="<DIV id='lovexin16' style='left:1px;POSITION:absolute;TOP:430px'><a href=# target=\"_self\" onclick=\"lovexin16.style.display='none'\"><div style=\"font-size: 8pt; cursor: hand;font-weight:bold\" align=\"left\"><span style='text-decoration: none'>关闭广告×</div></a><a href=' http://110338.duduo.net/site-140657.html' target='_blank'><img border=0 src=http://bbs.txcai.com/images/qqq.gif width='200' height='130'></div>"
suspendcode17="<DIV id='lovexin17' style='right:1px;POSITION:absolute;TOP:430px'><a href=# target=\"_self\" onclick=\"lovexin17.style.display='none'\"><div style=\"font-size: 8pt; cursor: hand;font-weight:bold\" align=\"right\"><span style='text-decoration: none'>关闭广告×</div></a><a href='http://110338.duduo.net/site-140657.html' target='_blank'><img border=0 src=http://bbs.txcai.com/images/qq.gif width='200' height='130'></div>"


document.write(suspendcode16); 
document.write(suspendcode17); 
window.setInterval("heartBeat()",1);


function getscrollTop()
{
	var Temp=document.documentElement.scrollTop;
	if(Temp>0)
	{
		return Temp;
	}
	else
	{
		return document.body.scrollTop;
	}
}
function getscrollLeft()
{
	var Temp=document.documentElement.scrollLeft;
	if(Temp>0)
	{
		return Temp;
	}
	else
	{
		return document.body.scrollLeft;
	}
}
function getclientHeight()
{
	var Temp=document.documentElement.clientHeight;
	if(Temp>0)
	{
		return Temp;
	}
	else
	{
		return document.body.clientHeight;
	}
}