lastScrollY=0;
function heartBeat(){
diffY=document.body.scrollTop;
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.lovexin.style.pixelTop+=percent;
if(document.body.clientWidth>800){
document.all.lovexin.style.pixelLeft=document.body.clientWidth-156;
}else{
document.all.lovexin.style.pixelLeft=1;
}
lastScrollY=lastScrollY+percent;
}
window.setInterval("heartBeat()",1);

//Make reference to the selected link
function makeLinkTo(s) { 
	if (s.options[s.selectedIndex].value != "none")		
	window.location.href = s.options[s.selectedIndex].value;
}