﻿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
{}
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.getElementById("rightmenubox").style.top=parseInt(document.getElementById("rightmenubox").style.top)+percent+"px";
lastScrollY=lastScrollY+percent;
}
suspendcode14="<div id=rightmenubox style='right:0px;POSITION:absolute;TOP:60px;width:110px;height:285px;background:url(/images/ny2.png) no-repeat;font-size:12px;text-align:center;padding-top:55px; line-height:29px;list-style:none; margin-right:0px; '><ul style='list-style:none;padding:0px;width:90px;height:271px; margin:0px 0px 0px 20px;'><li style=\"list-style:none;width:90px;clear:both;\"><a href=\"/nyspecial/nyzaoxie/\" style=\"color:#FFF\">早泄</a></li><li style=\"list-style:none;width:90px;clear:both;\"><a style=\"color:#FFF\" href=\"/nyspecial/nywtrl/\">无痛人流 </a></li><li style=\"list-style:none;width:90px;clear:both;\"><a href=\"/nyspecial/nywczx/\" style=\"color:#FFF\">妇科微创</a></li><li style=\"list-style:none;width:90px;clear:both;\"><a href=\"/nyspecial/nybaby/\" style=\"color:#FFF\">不孕不育</a></li><li style=\"list-style:none;width:90px;clear:both;\"><a href=\"/nyspecial/nyzgjl/\" style=\"color:#FFF\">子宫肌瘤 </a></li><li style=\"list-style:none;width:90px;clear:both;\"><a href=\"/nyspecial/nyfkyz/\" style=\"color:#FFF\">妇科炎症</a></li><li style=\"list-style:none;width:90px;clear:both;\"><a href=\"/nyspecial/nybpbj/\" style=\"color:#FFF\">包皮包茎</a></li><li  style=\"margin-top:5px;list-style:none;width:90px;clear:both;\"><a href=\"/nyspecial/nysjys/\" style=\"color:#FFF;\">输卵管不通 </a></li><li style=\"margin-top:5px;list-style:none;list-style:none;width:90px;clear:both;\"><a href=\"/\" style=\"color:#FFF;\">返回首页</a></li></ul></div>"
document.write(suspendcode14);
window.setInterval("heartBeat()",1);







