﻿//置底随机数
//声明一个随机数变量，默认为1
var GetRandomn = 15;
//获取随机范围内数值的函数
function GetRandom(n){GetRandomn=Math.floor(Math.random()*n+15)}
GetRandom("15");

//置底信息
document.writeln("<style>");
document.writeln("BODY {");
document.writeln("	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px");
document.writeln("}");
document.writeln("#fdc{ z-index:100;background:#fff ; width:100%; position:fixed; height:37px; left:0; bottom:0;}");
document.writeln("#fdc .fdcnr {margin:0 auto; width:960px; position:relative; height:37px; overflow:hidden; background:url(/Skin/Images/bottom_zd_3.jpg) no-repeat;}");
document.writeln(".fdcleft{float:left; width:440px;}");
document.writeln(".fdcleft1{ float:left; margin:7px 0 0 98px; *margin:6px 0 0 98px; color:#FFFFFF; font-size:12px;}");
document.writeln("img{border:0;}");
document.writeln("</style>");
document.writeln("<!--[if lte IE 6]>");
document.writeln("<script type=\"text/javascript\">");
document.writeln("if(typeof document.compatMode!=\'undefined\'&&document.compatMode!=\'BackCompat\'){");
document.writeln("    cot_t1_DOCtp=\"_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}\";");
document.writeln("}else{");
document.writeln("    cot_t1_DOCtp=\"_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}\";");
document.writeln("}");
document.writeln("var fdc_bodyCSS=\'* html {background:url(/app/footcontact/images/blank.gif) fixed;}\';");
document.writeln("var fdcCSS=\'#fdc {position:fixed;\';");
document.writeln("var fdcCSS=fdcCSS+\'_position:absolute;\';");
document.writeln("var fdcCSS=fdcCSS+\'width:100%;\';");
document.writeln("var fdcCSS=fdcCSS+\'bottom:0px;\';");
document.writeln("var fdcCSS=fdcCSS+\'right:0px;\';");
document.writeln("var fdcCSS=fdcCSS+\'clip:rect(0 100% 100% 0);\';");
document.writeln("var fdcCSS=fdcCSS+cot_t1_DOCtp;");
document.writeln("document.write(\'<style type=\"text/css\">\'+fdc_bodyCSS+fdcCSS+\'</style>\');");
document.writeln("</script>");
document.writeln("<![endif]-->");
document.writeln("<!--[if lte IE 7]>");
document.writeln("<script type=\"text/javascript\">");
document.writeln("if(typeof document.compatMode!=\'undefined\'&&document.compatMode!=\'BackCompat\'){");
document.writeln("    cot_t1_DOCtp=\"_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}\";");
document.writeln("}else{");
document.writeln("    cot_t1_DOCtp=\"_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}\";");
document.writeln("}");
document.writeln("var fdc_bodyCSS=\'* html {background:url(/app/footcontact/images/blank.gif) fixed;}\';");
document.writeln("var fdcCSS=\'#fdc {position:fixed;\';");
document.writeln("var fdcCSS=fdcCSS+\'_position:absolute;\';");
document.writeln("var fdcCSS=fdcCSS+\'width:100%;\';");
document.writeln("var fdcCSS=fdcCSS+\'bottom:0px;\';");
document.writeln("var fdcCSS=fdcCSS+\'right:0px;\';");
document.writeln("var fdcCSS=fdcCSS+\'clip:rect(0 100% 100% 0);\';");
document.writeln("var fdcCSS=fdcCSS+cot_t1_DOCtp;");
document.writeln("document.write(\'<style type=\"text/css\">\'+fdc_bodyCSS+fdcCSS+\'</style>\');");
document.writeln("</script>");
document.writeln("<![endif]-->");
document.writeln("");
document.writeln("<!--[if lte IE 8]>");
document.writeln("<script type=\"text/javascript\">");
document.writeln("if(typeof document.compatMode!=\'undefined\'&&document.compatMode!=\'BackCompat\'){");
document.writeln("    cot_t1_DOCtp=\"_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}\";");
document.writeln("}else{");
document.writeln("    cot_t1_DOCtp=\"_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}\";");
document.writeln("}");
document.writeln("var fdc_bodyCSS=\'* html {background:url(/app/footcontact/common/blank.gif) fixed;}\';");
document.writeln("var fdcCSS=\'#fdc {position:fixed;\';");
document.writeln("var fdcCSS=fdcCSS+\'_position:absolute;\';");
document.writeln("var fdcCSS=fdcCSS+\'width:100%;\';");
document.writeln("var fdcCSS=fdcCSS+\'bottom:0px;\';");
document.writeln("var fdcCSS=fdcCSS+\'right:0px;\';");
document.writeln("var fdcCSS=fdcCSS+\'clip:rect(0 100% 100% 0);\';");
document.writeln("var fdcCSS=fdcCSS+cot_t1_DOCtp;");
document.writeln("document.write(\'<style type=\"text/css\">\'+fdc_bodyCSS+fdcCSS+\'</style>\');");
document.writeln("</script>");
document.writeln("<![endif]-->");
document.writeln("");
document.writeln("<div id=\"fdc\"> ");
document.writeln("<table width=\"960\" border=\"0\" align=\"center\">");
document.writeln("  <tr>");
document.writeln("    <td><div class=\"fdcnr\"><div class=\"fdcleft\"><a href=\"/answer.asp?id=BFT88595360&e=bottom\" target=\"_blank\"><img src=\"/Skin/Images/blank.gif\" width=\"220\" height=\"37\" /></a><a href=\"http://net.zoosnet.net/LR/freetel.aspx?siteid=BFT88595360&skid=&sk=&lng=cn&oname=&p=http://net.zoosnet.net/lrwebs/preview0.aspx?id=BFT88595360&imgint=10&cid=6341012736715087507086&sid=6341012736715087507086\" target=\"_blank\"><img src=\"/Skin/Images/blank.gif\" width=\"205\" height=\"37\" /></a></div><div class=\"fdcleft1\">"+GetRandomn+"</div></div></td>");
document.writeln("  </tr>");
document.writeln("</table>");
document.writeln("</div>");
GetRandom("40");






//右侧就医服务新

//document.writeln("<div id=\"divQQbox\" style=\'right:2px; z-index:100; POSITION:absolute; TOP:100px;\'>");
//document.writeln("<div id=\'divOnline\'>");
//document.writeln("<a onclick=\'closure();\' style=\'cursor: pointer;\'><img border=0 src=\'/skin/Images/closure_1.gif\'></a><br>");
//document.writeln("<a href=\'/answer.asp?id=BFT88595360&e=index\' target=\'_blank\'><img border=0 src=/skin/Images/online_cn.jpg></a>");
//document.writeln("</div>");
//document.writeln("<div id=\'divMenu\' onmousemove=\'OnlineOver();\' style=\'display:none;right:2px; width:27px; POSITION:absolute;\'><img src=\'/skin/Images/kf-off.jpg\' class=\'press\' alt=\'在线咨询\'></div>");
//document.writeln("</div>");
//document.writeln("");

//<![CDATA[
var tips; var theTop = 20/*这是默认高度,越大越往下*/; 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";
 }
