﻿//商务通右边浮动代码开始
document.writeln("<div id=\"divQQboxcui\" style=\'right:2px;POSITION:absolute;TOP:100px;\'>");
document.writeln("<div class=\'Qlist\' id=\'divOnline\' style=\'display : none;\'>");
document.writeln("<a onclick=\'closure();\' style=\'cursor: pointer;\'><img border=0 src=\'http:\/\/www.sxfc120.com\/a\/images\/closure_1.gif\'><\/a><br>");
document.writeln("");
document.writeln("<div id=\"divQQboxcui\" style=\'right:2px;POSITION:absolute;TOP:100px;\'>");
document.writeln("<div class=\'Qlist\' id=\'divOnline\' style=\'display : none;\'>");
document.writeln("<a onclick=\'closure();\' style=\'cursor: pointer;\'>");
document.writeln("<\/div>");
document.writeln("<\/div>");
document.writeln("");
document.writeln("<div style=\"\">");
document.writeln("<img src=\"http:\/\/www.sxfc120.com\/a\/images\/fk_rt.png\" border=\"0\" usemap=\"#Map12\">");
document.writeln("<map name=\"Map\" id=\"Map12\">");
document.writeln("  <area shape=\"rect\" coords=\"7,113,106,146\" href=\"http:\/\/lvt.zoosnet.net\/LR\/Chatpre.aspx?id=LVT30190647\" target=\"_blank\" \/>");
document.writeln("  <area shape=\"rect\" coords=\"6,147,107,177\" href=\"http:\/\/lvt.zoosnet.net\/LR\/Chatpre.aspx?id=LVT30190647\" target=\"_blank\" \/>");
document.writeln("  <area shape=\"rect\" coords=\"4,178,108,210\" href=\"http:\/\/lvt.zoosnet.net\/LR\/Chatpre.aspx?id=LVT30190647\" target=\"_blank\" \/>");
document.writeln("  <area shape=\"rect\" coords=\"6,209,107,244\" href=\"tencent:\/\/message\/?uin=465760585&Site=长海医院&Menu=yes\" target=\"_blank\" \/>");
document.writeln("<\/map>");
document.writeln("<\/div>");
document.writeln("");
document.writeln("<\/div>");
document.writeln("<div id=\'divMenu\' onmouseover=\'OnlineOver();\' style=\'right:2px; width: 27px; POSITION:absolute;\'>");
document.writeln("<img src=\'http:\/\/www.sxfc120.com\/a\/images\/rt01fk.gif\' class=\'press\' alt=\'就医服务\'>");
document.writeln("<\/div>");
document.writeln("<\/div>");
//<![CDATA[
var tips; var theTop = 40; var old = theTop;
function initFloatTips() {
  tips = document.getElementById('divQQboxcui');
  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";
 }

//右下角弹出代码开始

var idvs;
function Closeyxj1(){
	if(document.getElementById("rightAd1").style.display=='none')
	{
		document.getElementById("rightAd1").style.display='block';
	}else{
		document.getElementById("rightAd1").style.display='none';
		idvs=window.setInterval(hia,10000);	
}
} 
function hia(){
/*自动清除定时器*/
window.clearInterval(idvs);
/*alert(idvs);*/
	if (document.getElementById("rightAd1").style.display == "none") {
		document.getElementById("rightAd1").style.display="block";		
      } else{
	  
	  }
   return false;
 }

document.writeln("<div id=\"rightAd1\" style=\"display:block;position: absolute;	right: 0;bottom: 0;overflow: hidden;	position: fixed;	_position: absolute;	_bottom: auto;	_top: expression( eval(document.compatMode && document.compatMode==\'CSS1Compat\') ? documentElement.scrollTop + (documentElement.clientHeight - this.clientHeight) - 1 : document.body.scrollTop + (document.body.clientHeight - this.clientHeight) - 1);\">");
document.writeln("<div style=\"\">");
document.writeln("<img src=\"http:\/\/www.sxfc120.com\/a\/images\/online_cn2.gif\" border=\"0\" usemap=\"#Map14\" \/>");
document.writeln("<map name=\"Map\" id=\"Map14\">");
document.writeln("  <area shape=\"rect\" coords=\"89,93,157,124\" href=\"http:\/\/lvt.zoosnet.net\/LR\/Chatpre.aspx?id=LVT30190647\" target=\"_blank\" \/>");
document.writeln("  <area shape=\"rect\" coords=\"287,94,364,125\" href=\"http:\/\/lvt.zoosnet.net\/LR\/Chatpre.aspx?id=LVT30190647\" target=\"_blank\" \/>");
document.writeln("  <area shape=\"rect\" coords=\"386,-1,402,20\" href=\"#\" onclick=\"Closeyxj1();return false\"\/>");
document.writeln("<\/map>");
document.writeln("<\/div>");
document.writeln("<\/div>");



//商务通代码开始
var LiveAutoInvite0='<img src="http://nk.cschyy.cn/images/topzj.jpg" />';
var LiveAutoInvite1='来自首页的对话';
var LiveAutoInvite2='<img src="/images/swt.gif" />';
document.writeln("<script language='javascript' src='http://lvt.zoosnet.net/JS/LsJS.aspx?siteid=LVT30190647&lng=cn'></script>");


