﻿
 //alert(a+b);
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); 
//alert(percent);
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";

lastScrollY=lastScrollY+percent; 
//alert(lastScrollY);
}

suspendcode12="<DIV id=\"lovexin12\" style='right:22px;POSITION:absolute;top:"+(((window.screen.height))-(200*2))+"pt;z-index:100'>";
var recontent='<table align="left" style="margin-right:10px;width:90px" border="0" cellpadding=0 cellspacing=0 height="32">' + 
'<tr>' + 
'<td style="padding:2px 0;font-size:13px" height="1" align="left">'+
'<div id="qq1" style="float:left; background:url(images/scroll.gif) no-repeat; width:168px; height:209px;">'+
'<div st></div>'+
 ' <ul>'+

	' <li> </li>'+
 ' </ul>'+
 ' <ol>'+
'<li> </li>'+
  '   <li></li>'+
'	 <li></li><li>客服热线:</li><li>40081－40080</li><li id=\"bb\"><a href="http://sighttp.qq.com/cgi-bin/check?sigkey=72d35736d0c176d2d652a72e52d779794c2793a854b4a39ac5f968f851ae41259fe774a98d1333282efdc69149fc7b03a5e260efcf9b20f7"; target=_blank; onclick="var tempSrc=\'http://sighttp.qq.com/wpa.js?rantime=\'+Math.random()+\'&sigkey=72d35736d0c176d2d652a72e52d779794c2793a854b4a39ac5f968f851ae41259fe774a98d1333282efdc69149fc7b03a5e260efcf9b20f7\';var oldscript=document.getElementById(\'testJs\');var newscript=document.createElement(\'script\');newscript.setAttribute(\'type\',\'text/javascript\'); newscript.setAttribute(\'id\', \'testJs\');newscript.setAttribute(\'src\',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;"><img width=\"23px\" height=\"16px\" border=\"0\" SRC=\'http://wpa.qq.com/pa?p=1:631955254:4\' alt="631955254">631955254</a></li><li></li>'+
'	 <li  style=\"text-align:right;width:130px\"><a  style=\"cursor:hand;\" onclick=\"closediv()\">关闭</a></li>'+
 ' </ol>'+
 ' </div>'+
'</td>' + 
'</tr>' + 
'</table>' + 
'<style>'+
'#qq1 ul{ list-style:none; float:left; margin-left:20px; margin-top:60px; width:90px;}'+
'#bb{ width:90px; line-height:25px; float:left; padding-left:0px;}'+
'#qq1 ol{ list-style:none; float:left; margin-left:10px; width:140px; margin-top:10px;}'+
'#qq1 ol li{ line-height:20px; font-size:13px;}'+
'</style>'+
'<map name="MapMapMap" onclick="far_close()" style="cursor:handle">' + 
'<area shape="rect" coords="71,8,102,30" href="#">' + 
'</map>';

document.write(suspendcode12); 
document.write(recontent); 
document.write("</div>"); 
window.setInterval("heartBeat()",1);
function far_close()
{
document.getElementById("lovexin12").innerHTML="";
}

function setfrme()
{
var tr=document.getElementById("lovexin12");
var twidth=tr.clientWidth;
var theight=tr.clientHeight;
var fr=document.getElementById("frame55la");
fr.width=twidth-1;
fr.height=theight-30;

}
setfrme();

function closediv()
{
	document.getElementById("lovexin12").style.display="none";
}