// 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*/}
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.getElementById("lovexin12").style.top=parseInt(document.getElementById
("lovexin12").style.top)+percent+"px";
document.getElementById("lovexin14").style.top=parseInt(document.getElementById
("lovexin12").style.top)+percent+"px";
lastScrollY=lastScrollY+percent; 
}
function closediv1()
{
   document.getElementById("lovexin14").style.display="none";
   document.getElementById("close2").style.display="none";
}
function closediv()
{
 document.getElementById("lovexin12").style.display="none";
   document.getElementById("close1").style.display="none";
}
suspendcode12="<DIV id=\"lovexin12\" style='left:2px;POSITION:absolute;TOP:120px;' ><img src='/images/left.png' width='98'  height='399'/><div id=\close1\" style='position:absolute;Top:400px;left:2px;width:100px;height:14px;z-index:4;' onClick='closediv()'><img src='/images/close.gif'></div></div>"
suspendcode14="<DIV id=\"lovexin14\" style='right:2px;POSITION:absolute;TOP:120px;'><img src='/images/right.png' width='98'  height='399'/><div id=\close2\" style='position:absolute;Top:400px;right:2px;width:100px;height:14px;z-index:4;' onClick='closediv1()'><img src='/images/close.gif'></div></div>"

document.write(suspendcode12); 
document.write(suspendcode14); 

window.setInterval("heartBeat()",1);
