//右侧就医服务新
document.writeln("<div class=\"QQbox\" id=\"divQQbox\" style='right:2px;POSITION:absolute;TOP:100px;'>");
document.writeln("<div class='Qlist' id='divOnline';>");
document.writeln("<div class=\"con\">");
//document.writeln("<a href='http://lr.zoosnet.net/LR/Chatpre.aspx?id=LEF14870630' target='_blank' title='在线咨询'><img border=0 src=http://www.hzqs.com.cn/images/zixun722.gif></a><br><a href='http://www.koocall.com/qyxx/thcl.jsp?id=604135' target='_blank' title='免费电话'><img border=0 src=http://www.hzqs.com.cn/images/dianhua722.gif></a>");
document.writeln("<a href='http://dx.zoosnet.net/lrserver/LR/Chatpre.aspx?id=LZS95992751' target='_blank' title='在线咨询'><img border=0 src=http://www.zjnkyy.com/1_01.jpg></a><br><a href='http://wpa.qq.com/msgrd?V=1&amp;Uin=133556120&amp;Site=在线咨询&amp;Menu=no' target='_blank' title='QQ咨询'><img border=0 src=http://www.zjnkyy.com/1_02.jpg></a><br><a href='http://tel.hoocall.cn:88/call.php?sid=2&did=3'_blank' title='电话预约'><img border=0 src=http://www.zjnkyy.com/1_03.jpg></a><br><a href='http://www.zjnkyy.com/yy.html' target='_blank' title='预约挂号'><img border=0 src=http://www.zjnkyy.com/1_04.jpg></a>");
document.writeln("<\/div>");
document.writeln("<\/div>");
document.writeln("<\/div>");

//<![CDATA[
var tips; var theTop = 110/*这是默认高度,越大越往下*/; 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;
  }
  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();

 function hideMsgBox(theEvent){  //theEvent用来传入事件，Firefox的方式
 　       if (theEvent){
   　           var browser=navigator.userAgent;   //取得浏览器属性
   　           if (browser.indexOf("Firefox")>0){  //如果是Firefox
    　　             if (document.getElementById('divOnline').contains(theEvent.relatedTarget)) {  //如果是子元素
     　　                  return;   //结束函式
                        } 
                  } 
                  if (browser.indexOf("MSIE")>0){  //如果是IE
                         if (document.getElementById('divOnline').contains(event.toElement)) {  //如果是子元素
                                return;  //结束函式
                          }
                   }
             }
            /*要执行的操作*/
		//document.getElementById("divMenu").style.display = "block";
		//document.getElementById("divOnline").style.display = "none";
 }
