var QQ="1102359855"; document.write("
"); document.write(""); document.write("
在线咨询
"); document.write("
"); // initFloatTips(); function OnlineOver(){ document.getElementById("divMenu").style.display = "none"; document.getElementById("divOnline").style.display = "block"; document.getElementById("divQQbox").style.width = "170px"; } function OnlineOut(){ document.getElementById("divMenu").style.display = "block"; document.getElementById("divOnline").style.display = "none"; } if(typeof(HTMLElement)!="undefined") //lfirefox定义contains()ҎQie下不起作? { HTMLElement.prototype.contains=function(obj) { while(obj!=null&&typeof(obj.tagName)!="undefind"){ //通过循环Ҏ来判断是不是obj的父元素     if(obj==this) return true;     obj=obj.parentNode;   } return false; }; } function hideMsgBox(theEvent){ //theEvent用来传入事gQFirefox的方?   if (theEvent){   var browser=navigator.userAgent; //取得览器属?   if (browser.indexOf("Firefox")>0){ //如果是Firefox    if (document.getElementById('divOnline').contains(theEvent.relatedTarget)) { //如果是子元素    return; //l束函式 } } if (browser.indexOf("MSIE")>0){ //如果是IE if (document.getElementById('divOnline').contains(event.toElement)) { //如果是子元素 return; //l束函式 } } } /*要执行的操作*/ document.getElementById("divMenu").style.display = "block"; document.getElementById("divOnline").style.display = "none"; } һëƬ߲