﻿//右侧就医服务新

document.writeln("<div  id=\"divQQbox\" style='right:2px;POSITION:absolute;TOP:100px;'>");
document.writeln("<div class='Qlist' id='divOnline'>");
document.writeln("<a onclick='closure();' style='cursor: pointer; FLOAT: left'><DIV class=Obtn style='position:relative;background-image:url(template/images/goumai_fudong.gif)'></DIV></a>");
document.writeln("<TABLE style=' font-size:13px; overflow:hidden' border=0 cellSpacing=0 cellPadding=0 width=157 ><TBODY><TR><TD class=main_head height=39 vAlign=top style='background-image:url(template/images/goumai2.gif)'>&nbsp;</TD></TR><TR><TD class=info vAlign=top style='background-image:url(template/images/img3-5_3.png); text-align:center;'><TABLE class=qqtable border=0 cellSpacing=0 cellPadding=0 width=130 style='margin-left:auto; margin-right:auto; overflow:hidden'><TBODY><TR><TD colspan='2' align=middle></TD></TR><TR><TD height=5 colspan='2'></TD></TR><TR><td><img src='template/images/phone_fudong.gif' width='125' /></td></TR><TR><TD height=5 colspan='2'></TD></TR><TR><td style=' border-top:1px #F60 dashed;  border-bottom:1px #F60 dashed'><table><tr><TD width='45' height=30 align='center' valign='middle'><span style='color:#F60'>客服1:</span></TD><TD width='73' headers='30' align='center' valign='middle'><a href='http://sighttp.qq.com/cgi-bin/check?sigkey=cd56718fa87928152c1b9a9c6a734c9d29fc69d0d37b3f318f89f1d076dad8e3'; target=_blank; onclick='var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=cd56718fa87928152c1b9a9c6a734c9d29fc69d0d37b3f318f89f1d076dad8e3';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;'><img border='0' SRC='http://wpa.qq.com/pa?p=1:1404189237:41' alt='您好，有什么需要帮助的吗？'></a></TD></TR><TR><TD height=30 align='center' valign='middle'><span style='color:#F60'>客服2:</span></TD><TD height=30 align='center' valign='middle'><a href='http://sighttp.qq.com/cgi-bin/check?sigkey=fd4ca369bc6d83348551fcf981c5627eefdeb399b085796d83cd1b8828f227fc'; target=_blank; onclick='var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=fd4ca369bc6d83348551fcf981c5627eefdeb399b085796d83cd1b8828f227fc';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;'><img border='0' SRC='http://wpa.qq.com/pa?p=1:1404091591:41' alt='您好，有什么需要帮助的吗？'></a></TD></tr><TR><TD height=30 align='center' valign='middle'><span style='color:#F60'>淘宝:</span></TD><TD height=30 align='center' valign='middle'><a target='_blank' href='http://amos.im.alisoft.com/msg.aw?v=2&uid=%E6%8B%A5%E6%8A%B1%E5%81%A5%E5%BA%B7%E5%BF%AB%E4%B9%90&site=cntaobao&s=1&charset=utf-8' ><img border='0' src='http://amos.im.alisoft.com/online.aw?v=2&uid=%E6%8B%A5%E6%8A%B1%E5%81%A5%E5%BA%B7%E5%BF%AB%E4%B9%90&site=cntaobao&s=1&charset=utf-8' alt='你好，有什么需要帮助的吗？' /></a></TD></tr></table></td></TR><TR><TD height=38 colspan='2' align=middle vAlign=top style='border-bottom:1px #F60 dashed'><A href='http://www.liyuankang.com/index_hdfk.asp' target='_blank'><img src='template/images/hdfk_fudong.gif' width='125' height='60' border='0' /></A></TD></TR><TR><TD colspan='2' align=middle style='border-bottom:1px #F60 dashed'><A href='http://www.liyuankang.com' target='_blank'><img src='template/images/kdfh_fudong.gif' width='125' height='60' border='0' /></A></TD></TR><TR><TD colspan='2' align=middle  style='border-bottom:1px #F60 dashed'><A href='http://shop35323626.taobao.com/' target='_blank'><img src='template/images/taobao_fudong.gif' width='125' height='60' border='0' /></A></TD></TR><TR><TD colspan='2' align=middle><A href='http://shop60316974.taobao.com/' target='_blank'><img src='template/images/taobao_fudong1.gif' width='125' height='60' border='0' /></A></TD></TR></TBODY></TABLE></TD></TR><TR><TD class=down_kefu vAlign=top style='background-image:url(template/images/img3-5_4.png)'></TD></TR></TBODY></TABLE>");
document.writeln("<\/div>");
document.write("<div id='divMenu' onclick='OnlineOver();' style='display : none;right:2px; width: 31px; POSITION:absolute; cursor:pointer'><img src='template/images/goumai_fudong1.gif' class='press' alt='咨询购买'></div>");
document.writeln("<\/div>");


//<![CDATA[
var tips; var theTop = 40/*这是默认高度,越大越往下*/; 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 closure() {

		document.getElementById("divMenu").style.display = "";

		document.getElementById("divOnline").style.display = "none";

	}


	function OnlineOver(){

		document.getElementById("divMenu").style.display = "none";

		document.getElementById("divOnline").style.display = "block";

	}



 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";
 }

