

document.write("<div style='Z-INDEX: 99;right: 2px;WIDTH: 170px;POSITION: absolute;TOP: 145px;display:block;' id='divQQbox' >");
document.write("<div id='divOnline' style='display : block;'>");
document.write("<div style='BACKGROUND: url(http://meet.ie100.net/zixun/jinghua/siderIM_title.gif); HEIGHT: 33px;'><span style='float:right;display:block;line-height:33px;padding:0 7px 0 0'><a href='#' style='font-size:12px;text-decoration:none;color:#ffffff;display:block;' onmousedown='Onlineclose();'>关闭</a></span><p style='display:block;font-size:12px;color:#ffffff;font-weight:normal;margin-left:8px;height:33px;line-height:33px;text-align:left'>江苏省京华大酒店</p></div>");
document.write("<div style='BACKGROUND: url(http://meet.ie100.net/zixun/jinghua/siderIM_bg.gif) repeat-y;padding-left:5px'>");
document.write("<img src=\"http://meet.ie100.net/zixun/jinghua/kefu.jpg\" style=\"height:144px; width:160px\" />");
document.write("<div style=\"width:112px;  margin-top:5px; margin-left:6px;\">");
document.write("<a href=\"http://cs.ie100.net/jh/loading_client.html\" target=\"_blank\">");
document.write("<img src=\"http://meet.ie100.net/zixun/jinghua/n_ljzx.jpg\" width=\"112\" height=\"26\" border=\"0\" style='margin:0px 0px 5px 20px' />");
document.write("</a>");
document.write("<a href=\"http://cs.ie100.net/jh/loading_admin.html\" target=\"_blank\">");
document.write("<img src=\"http://meet.ie100.net/zixun/jinghua/n_ljzx_login.jpg\" width=\"112\" height=\"26\" border=\"0\" style='margin:0px 0px 5px 20px' />");
document.write("</a>");
document.write("</div>");
document.write("</div>");
document.write("<div style='BACKGROUND: url(http://skin.ie100.net/skin08/skin08/siderIM_bottom.gif); OVERFLOW: hidden; HEIGHT: 25px'></div>");
document.write("</div>");
document.write("<div id='divMenu' onmousedown='OnlineOver();' style='display:none'><img src='http://skin.ie100.net/skin08/skin08/kf-one.gif' style='right: 0px; WIDTH: 28px; CURSOR: pointer; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; POSITION: absolute; HEIGHT: 170px; BORDER-BOTTOM-STYLE: none' alt='在线咨询'></div>");
document.write("</div>");
function showandhide(h_id,hon_class,hout_class,c_id,totalnumber,activeno) {
    var h_id,hon_id,hout_id,c_id,totalnumber,activeno;
    for (var i=1;i<=totalnumber;i++) {
        document.getElementById(c_id+i).style.display='none';
        document.getElementById(h_id+i).className=hout_class;
    }
    document.getElementById(c_id+activeno).style.display='block';
    document.getElementById(h_id+activeno).className=hon_class;
}

var tips; 
var theTop = 80;
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();

	if(typeof(HTMLElement)!="undefined")    //给firefox定义contains()方法，ie下不起作用
		{  
		  HTMLElement.prototype.contains=function (obj)  
		  {  
			  while(obj!=null&&typeof(obj.tagName)!="undefind"){ //通过循环对比来判断是不是obj的父元素
	   　　 　if(obj==this) return true;  
	   　　　	　obj=obj.parentNode;
	   　　	  }  
			  return false;  
		  }
	}

function show()
{
	document.getElementById("meumid").style.display="none"
	document.getElementById("contentid").style.display="block"
}
	function hideMsgBox(theEvent){
	  if (theEvent){
		var browser=navigator.userAgent;
		if (browser.indexOf("Firefox")>0){  //如果是Firefox
		    if (document.getElementById("contentid").contains(theEvent.relatedTarget)) {  //如果是子元素
				return
			}
		}
		if (browser.indexOf("MSIE")>0 || browser.indexOf("Presto")>=0){  //如果是IE
	        if (document.getElementById('contentid').contains(event.toElement)) {  //如果是子元素
			    return;  //结束函式
		    }
		}
	  }
	  document.getElementById("meumid").style.display = "block";
	  document.getElementById("contentid").style.display = "none";
 	}



window.setInterval("heartBeat()",1);

function OnlineOver(){
document.getElementById("divMenu").style.display = "none";
document.getElementById("divOnline").style.display = "block";
document.getElementById("divQQbox").style.width = "170px";
}
function Onlineclose(){
document.getElementById("divMenu").style.display = "block";
document.getElementById("divOnline").style.display = "none";
document.getElementById("divQQbox").style.width = "170px";
}
