qq在线客服代码
样式一:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>右侧悬浮的QQ在线客服</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
.qqbox a:link {
color: #000;
text-decoration: none;
}
.qqbox a:visited {
color: #000;
text-decoration: none;
}
.qqbox a:hover {
color: #f80000;
text-decoration: underline;
}
.qqbox a:active {
color: #f80000;
text-decoration: underline;
}
.qqbox{
width:132px;
height:auto;
overflow:hidden;
position:absolute;
right:0;
top:100px;
color:#000000;
font-size:12px;
letter-spacing:0px;
}
.qqlv{
width:25px;
height:256px;
overflow:hidden;
position:relative;
float:right;
z-index:50px;
}
.qqkf{
width:120px;
height:auto;
overflow:hidden;
right:0;
top:0;
z-index:99px;
border:6px solid #138907;
background:#fff;
}
.qqkfbt{
width:118px;
height:20px;
overflow:hidden;
background:#138907;
line-height:20px;
font-weight:bold;
color:#fff;
position:relative;
border:1px solid #9CD052;
cursor:pointer;
text-align:center;
}
.qqkfhm{
width:112px;
height:22px;
overflow:hidden;
line-height:22px;
padding-right:8px;
position:relative;
margin:3px 0;
}
.bgdh{
width:102px;
padding-left:10px;
}
</style>
</head>
<body>
<div class="qqbox" id="divQQbox">
<div class="qqlv" id="meumid" onmouseover="show()"><img src="http://www.codefans.net/jscss/demoimg/200905/qq.gif"></div>
<div class="qqkf" style="display:none;" id="contentid" onmouseout="hideMsgBox(event)">
<div class="qqkfbt" onmouseout="showandhide('qq-','qqkfbt','qqkfbt','K',5,1);" id="qq-1" onfocus="this.blur();">客 服 中 心</div>
<div id="K1">
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
<div class="qqkfhm bgdh">手机:13922222222</div>
</div>
<div class="qqkfbt" onClick="showandhide('qq-','qqkfbt','qqkfbt','K',5,2);" id="qq-2" onfocus="this.blur();">财 务 充 值</div>
<div id="K2" style="display:none">
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
<div class="qqkfhm bgdh">手机:13955432222</div>
</div>
<div class="qqkfbt" onClick="showandhide('qq-','qqkfbt','qqkfbt','K',5,3);" id="qq-3" onfocus="this.blur();">机 房 值 班</div>
<div id="K3" style="display:none">
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
<div class="qqkfhm bgdh">手机:13222235523</div>
</div>
<div class="qqkfbt" onClick="showandhide('qq-','qqkfbt','qqkfbt','K',5,4);" id="qq-4" onfocus="this.blur();">渠 道 咨 询</div>
<div id="K4" style="display:none">
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
<div class="qqkfhm bgdh">手机:13222225523</div>
</div>
<div class="qqkfbt" onClick="showandhide('qq-','qqkfbt','qqkfbt','K',5,5);" id="qq-5" onfocus="this.blur();">投 诉 建 议</div>
<div id="K5" style="display:none">
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
<div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
<div class="qqkfhm bgdh">手机:13952222523</div>
</div>
</div>
</div>
<script language="javascript">
function showandhide(h_id,hon_class,hout_class,c_id,totalnumber,activeno) {
var h_id,hon_id,hout_id,c_id,totalnumber,activeno;
for (var i=1;i<=totalnumber;i++) {
document.getElementById(c_id+i).style.display='none';
document.getElementById(h_id+i).className=hout_class;
}
document.getElementById(c_id+activeno).style.display='block';
document.getElementById(h_id+activeno).className=hon_class;
}
var tips;
var theTop = 100;
var old = theTop;
function initFloatTips()
{
tips = document.getElementById('divQQbox');
moveTips();
}
function moveTips()
{
var tt=50;
if (window.innerHeight)
{
pos = window.pageYOffset
}else if (document.documentElement && document.documentElement.scrollTop) {
pos = document.documentElement.scrollTop
}else if (document.body) {
pos = document.body.scrollTop;
}
//http:
pos=pos-tips.offsetTop+theTop;
pos=tips.offsetTop+pos/10;
if (pos < theTop){
pos = theTop;
}
if (pos != old) {
tips.style.top = pos+"px";
tt=10;//alert(tips.style.top);
}
old = pos;
setTimeout(moveTips,tt);
}
initFloatTips();
if(typeof(HTMLElement)!="undefined")//给firefox定义contains()方法,ie下不起作用
{
HTMLElement.prototype.contains=function (obj)
{
while(obj!=null&&typeof(obj.tagName)!="undefind"){//
if(obj==this) return true;
obj=obj.parentNode;
}
return false;
}
}
function show()
{
document.getElementById("meumid").style.display="none"
document.getElementById("contentid").style.display="block"
}
function hideMsgBox(theEvent){
if (theEvent){
var browser=navigator.userAgent;
if (browser.indexOf("Firefox")>0){//Firefox
if (document.getElementById("contentid").contains(theEvent.relatedTarget)) {
return
}
}
if (browser.indexOf("MSIE")>0 || browser.indexOf("Presto")>=0){
if (document.getElementById('contentid').contains(event.toElement)) {
return;//结束函式
}
}
}
document.getElementById("meumid").style.display = "block";
document.getElementById("contentid").style.display = "none";
}
</script>
</body>
</html>
样式二:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>QQ在线客服</title>
</head>
<body>
<DIV id=divStay style="POSITION: absolute">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="7%"></TD></TR></TBODY></TABLE></DIV>
<SCRIPT language=javascript>
function picsize(obj,MaxWidth){
img=new Image();
img.src=obj.src;
if (img.width>MaxWidth)
{
return MaxWidth;
}
else
{
return img.width;
}
}
function CloseQQ()
{
divStayTopleft.style.display="none";
return true;
}
var online= new Array();
</SCRIPT>
<div id="divStayTopleft" style="POSITION: absolute">
<table cellspacing="0" cellpadding="0" width="109" border="0">
<tr>
<td colspan="3">
<a onclick="CloseQQ()" href="javascript:;" shape="circle" coords="91,16,12">
<img height="34" src="http://www.codefans.net/jscss/demoimg/qq_top.gif" width="109" usemap="#Map" border="0"></a></td>
</tr>
<tr>
<td width="6"><img height="100" src="http://www.codefans.net/jscss/demoimg/qq_life.gif" width="6"></td>
<td valign="top" width="96" background="sto/qq_bg.gif">
<table cellspacing="0" cellpadding="0" width="90" align="center" border="0">
<tr>
<td height="30">
<table cellspacing="0" cellpadding="0" width="90" border="0">
<tr>
<td>
<img height="13" src="http://www.codefans.net/jscss/demoimg/qq_ico1.gif" width="16"><span class="font_12">
<span style="font-size: 12px">在线客服</span></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellpadding="2" id="table47">
<tr>
<td width="15" valign="top" height="23">
<img border="0" src="http://www.codefans.net/jscss/demoimg/qq_v01.gif" width="16" height="16"></td>
<td valign="bottom"><script>document.write("<a target=blank href=tencent://message/?uin=123456&Site=源码爱好者&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:615050000:10 alt=[源码爱好者]></a>");</script></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellpadding="2" id="table47">
<tr>
<td width="15" valign="top" height="23">
<img border="0" src="http://www.codefans.net/jscss/demoimg/qq_n01.gif" width="16" height="16"></td>
<td valign="bottom"><script>document.write("<a target=blank href=tencent://message/?uin=123456&Site=源码爱好者&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:43486831:10 alt=[源码爱好者]></a>");</script></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
<td width="7"><img height="100" src="http://www.codefans.net/jscss/demoimg/qq_right.gif" width="7"></td>
</tr>
<tr>
<td colspan="3">
<img height="30" src="http://www.codefans.net/jscss/demoimg/qq_bottom1.gif" width="109"></td>
</tr>
<tr>
<td colspan="3"><a href="http://www.codefans.net" target="_blank"><img height="33" src="http://www.codefans.net/jscss/demoimg/qq_logo.gif" width="109" border="0"></a></td>
</tr>
</table>
</div>
<script type="text/javascript">
function FloatTop()
{
var startX1 =document.body.offsetWidth-125 ,startY1 = 5;
var startX2 =0,startY2 = 95;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id,startX,startY)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startX;
el.y = startY;
return el;
}
window.stayTopLeft=function()
{
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY1 - ftlObj.y)/8;
ftlObj1.y += (pY + startY2 - ftlObj1.y)/8;
ftlObj.sP(document.body.scrollLeft+document.body.offsetWidth-125, ftlObj.y);
ftlObj1.sP(ftlObj1.x, ftlObj1.y);
setTimeout("stayTopLeft()", 30);
}
ftlObj = ml("divStay",(document.body.scrollLeft+document.body.offsetWidth)/2+379,0);
ftlObj1 = ml("divStayTopLeft",(document.body.scrollLeft+document.body.offsetWidth)/2+379,30);
stayTopLeft();
}
FloatTop();
</script>
<!--End -->
<table><tr><td height="800"></td></tr></table>
</body>
</html>
样式三:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>左右悬浮可分组的网站QQ在线客服代码</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
.qqwid{width:142px;background-image:url(/jscss/demoimg/201011/qq_bg.gif);color:#000000;}
.qqwid a{text-decoration:none;}
.qqwid a:link{color:#000000;}
.qqwid a:visited{color:#000000;}
.qqwid a:hover{color:#FF0000;}
.qqwid a:active{color:#000000;}
.qqwid .qqnei{margin-left:5px;margin-right:5px;line-height:25px;}
.qqwid .qqnei img{margin-left:3px;margin-right:5px;vertical-align:middle;}
.qqwid td{font-size:12px;height:25px;line-height:25px;}
</style>
</head>
<body>
<div style="height:2000px;"></div>
<!--左漂浮-->
<div id="leftfu" name="leftfu" style="position:absolute;left:1px;top:125px;">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="10" border="0" cellspacing="0" cellpadding="0" id="leftmenu">
<tr>
<td><a href="#" onclick="window.open('http://#','','width=800,height=600,top=0,left=100,status=yes')">
<img src="/jscss/demoimg/201011/qq_Asall.jpg" border="0"></a></td>
</tr>
<tr>
<td><a target="_blank" href="http://sighttp.qq.com/authd?IDKEY=534e023a34d2ce9548a6e7e0f92cd59c2bd5c36a2f7f25d6"><imgsrc="/jscss/demoimg/201011/qq_Online.jpg" border="0" ></a></td>
</tr>
<tr>
<td align="right"><a href="javascript:" onclick="javascript:divclose('leftmenu');"><img src="/jscss/demoimg/201011/close.jpg" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!--左漂浮-->
<!--右漂浮-->
<div id="rightfu" name="rightfu" style="position:absolute;right:1px;top:125px;">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div class="qqwid" id="showrightmenu_1" style="filter:alpha(opacity=80);z-index:1; display:none;" onmouseover="javascript:showrightmenuover(1);" onmouseout="javascript:showrightmenuout(1);">
<div><img src="/jscss/demoimg/201011/qq_top.gif"></div>
<div class="qqnei">
<table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=86);">
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes" target="_blank">在线客服</a></td>
</tr>
</table>
</div>
<div><img src="/jscss/demoimg/201011/qq_bottom.gif" width="142" height="6"></div>
</div>
<div class="qqwid" id="showrightmenu_2" style="filter:alpha(opacity=80);z-index:1;margin-top:87px;display:none;" onmouseover="javascript:showrightmenuover(2);" onmouseout="javascript:showrightmenuout(2);">
<div><img src="/jscss/demoimg/201011/qq_top.png"></div>
<div class="qqnei">
<table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=86);">
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
</table>
</div>
<div><img src="/jscss/demoimg/201011/qq_bottom.png" width="142" height="6"></div>
</div>
<div class="qqwid" id="showrightmenu_3" style="filter:alpha(opacity=80);z-index:1;margin-top:174px;display:none;" onmouseover="javascript:showrightmenuover(3);" onmouseout="javascript:showrightmenuout(3);">
<div><img src="/jscss/demoimg/201011/qq_top.png"></div>
<div class="qqnei">
<table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=90);">
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
<tr>
<td><img src="http://wpa.qq.com/pa?p=1:23132:17" height="17" border="0" align="middle">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=23132&site=#&menu=yes">在线客服</a></td>
</tr>
</table>
</div>
<div><img src="/jscss/demoimg/201011/qq_bottom.png" width="142" height="6"></div>
</div>
</td>
<td valign="top">
<table width="10" border="0" cellspacing="0" cellpadding="0" id="rightmenu">
<tr>
<td><a href="javascript:" onmouseover="javascript:showrightmenuover(1);" onmouseout="javascript:showrightmenuout(1);">
<img src="/jscss/demoimg/201011/qq_Atuo.jpg" border="0"></a></td>
</tr>
<tr>
<td><a href="javascript:" onmouseover="javascript:showrightmenuover(2);" onmouseout="javascript:showrightmenuout(2);">
<img src="/jscss/demoimg/201011/qq_Adns.jpg" border="0" ></a></td>
</tr>
<tr>
<td><a href="javascript:" onmouseover="javascript:showrightmenuover(3);" onmouseout="javascript:showrightmenuout(3);">
<img src="/jscss/demoimg/201011/qq_Beian.jpg" border="0"></a></td>
</tr>
<tr>
<td align="left"><a href="javascript:" onclick="javascript:divclose('rightmenu');">
<img src="/jscss/demoimg/201011/close.jpg" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!--右漂浮-->
<script event="fscommand()" for="eccoolad" type="text/javascript"></script>
<script type="text/javascript">
//leftfu.style.visibility='hidden';
//sorollDiv1.style.visibility='hidden';
var lastScrollY=0;
var setup=0.02
function heartBeat(){
diffY=document.documentElement.scrollTop;
percent=setup*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.getElementById("leftfu").style.top=parseInt(document.getElementById("leftfu").style.top)+percent+"px";
document.getElementById("rightfu").style.top=parseInt(document.getElementById("rightfu").style.top)+percent+"px";
lastScrollY=lastScrollY+percent;
}
window.setInterval("heartBeat()",1);
function divclose(name){
document.getElementById(name).style.visibility='hidden';
}
function showqqdivover(i)
{
document.getElementById("showqq"+i).style.display="block";
}
function showqqdivout(i)
{
document.getElementById("showqq"+i).style.display="none";
}
function showleftmenuover(id)
{
document.getElementById("showleftmenu_"+id).style.display="block";
}
function showleftmenuout(id)
{
document.getElementById("showleftmenu_"+id).style.display="none";
}
function showrightmenuover(id)
{
document.getElementById("showrightmenu_"+id).style.display="block";
}
function showrightmenuout(id)
{
document.getElementById("showrightmenu_"+id).style.display="none";
}
</script>
</body>
</html>