﻿// 

﻿lastScrollY=0;function rightFloat(){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("rightfloatdiv").style.top=parseInt(document.getElementById("rightfloatdiv").style.top)+percent+"px";lastScrollY=lastScrollY+percent;}
htmlcontent="<div id=\"rightfloatdiv\" style='right: 0px; position: absolute; top: 174px; width: 59px;'><img src=\"images/onlinefloatright.jpg\" width=\"59\" height=\"229\" border=\"0\" usemap=\"#Map\" /><map name=\"Map\" id=\"Map\"><area shape=\"rect\" coords=\"0,33,58,81\" href=\"http://kft.zoosnet.net/LR/Chatpre.aspx?id=KFT32076013\" title=\"在线咨询\" target=\"_blank\" /><area shape=\"rect\" coords=\"1,84,59,129\" href=\"http://wpa.qq.com/msgrd?V=1&Uin=85022222&Site=甘肃省红十字会黄河医院&Menu=yes\" target=\"_blank\" title=\"QQ在线咨询\" /><area shape=\"rect\" coords=\"47,3,59,12\" href=JavaScript:; onclick=\"closeDiv('rightfloatdiv');\" title=\"点击隐藏\" /><area shape=\"rect\" coords=\"2,133,4,135\" href=\"#\" /><area shape=\"rect\" coords=\"2,133,58,178\" href=\"http://tel.hoocoo.net:88/call.php?sid=170&did=168&fromurl=http://www.8502222.com\" target=\"_blank\" title=\"免费电话咨询\" /><area shape=\"rect\" coords=\"2,181,57,229\" href=\"/Yuyue\" title=\"预约挂号\" target=\"_blank\" /></map></div>";document.write(htmlcontent);window.setInterval("rightFloat()",1);function closeDiv(id){var hiddendiv=document.getElementById(id);hiddendiv.style.display="none";}