//统计代码
//右侧就医服务新
document.writeln("<div id=\"divQQbox\" style='left:2px;POSITION:absolute;TOP:120px;'>");
document.writeln("<div class='Qlist' id='divOnline'>");
document.writeln("<div onclick='OnlineOut();' style='cursor: pointer;'>关闭</div>");
document.writeln("<div>");
document.writeln("<a href='#' target='_blank' title='在线咨询'><img border=0 src=js/n5.gif></a><br><a href='http://net.zoosnet.net/LR/chatwin.aspx?id=NET29319538&cid=6344789666582912509022&lng=cn&sid=6344796012798250004791&p=http%3A//www.hi253.com/&rf1=&rf2=&e=%25u6765%25u81EA%25u9996%25u9875%25u7684%25u5BF9%25u8BDD&d=1312336602875' target='_blank' title='在线咨询'><img border=0 src=js/n6.gif></a><br><a href='http://net.zoosnet.net/LR/chatwin.aspx?id=NET29319538&cid=6344789666582912509022&lng=cn&sid=6344796012798250004791&p=http%3A//www.hi253.com/&rf1=&rf2=&e=%25u6765%25u81EA%25u9996%25u9875%25u7684%25u5BF9%25u8BDD&d=1312336602875' target='_blank' title='在线咨询'><img border=0 src=js/n9.gif></a><br><a href='http://net.zoosnet.net/LR/chatwin.aspx?id=NET29319538&cid=6344789666582912509022&lng=cn&sid=6344796012798250004791&p=http%3A//www.hi253.com/&rf1=&rf2=&e=%25u6765%25u81EA%25u9996%25u9875%25u7684%25u5BF9%25u8BDD&d=1312336602875' target='_blank' title='在线咨询'><img border=0 src=js/n7.gif></a><br><a href='http://net.zoosnet.net/LR/chatwin.aspx?id=NET29319538&cid=6344789666582912509022&lng=cn&sid=6344796012798250004791&p=http%3A//www.hi253.com/&rf1=&rf2=&e=%25u6765%25u81EA%25u9996%25u9875%25u7684%25u5BF9%25u8BDD&d=1312336602875' target='_blank' title='在线咨询'><img border=0 src=js/n8.gif></a><br><a href='http://net.zoosnet.net/LR/chatwin.aspx?id=NET29319538&cid=6344789666582912509022&lng=cn&sid=6344796012798250004791&p=http%3A//www.hi253.com/&rf1=&rf2=&e=%25u6765%25u81EA%25u9996%25u9875%25u7684%25u5BF9%25u8BDD&d=1312336602875' target='_blank' title='在线咨询'><img border=0 src=js/n1.gif></a><br><a href='#' target='_blank' title='预约挂号'><img border=0 src=js/n3.gif></a><br><a href='#' target='_blank' title='免费电话咨询'><img border=0 src=js/n10.gif></a><br><a href='tencent://message/?uin=1564630599&amp;Site=肛肠专家&amp;Menu=yes'  title='在线QQ咨询'><img border=0 src=js/n2.gif></a>");
document.writeln("<\/div>");
document.writeln("<\/div>");
document.write("<div id='divMenu' onmouseover='OnlineOver();' style='display:none; left:2px; width: 31px; POSITION:absolute;'><img src='js/nn.gif' class='press' alt='就医服务'></div>");
document.writeln("<\/div>");


//<![CDATA[
var tips; var theTop = 76/*这是默认高度,越大越往下*/; 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 OnlineOver(){
		document.getElementById("divMenu").style.display = "none";
		document.getElementById("divOnline").style.display = "block";
		document.getElementById("divQQbox").style.width = "111px";
	}
	
	function OnlineOut(){
		document.getElementById("divMenu").style.display = "block";
		document.getElementById("divOnline").style.display = "none";

	}

 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";
 }
