");
document.write("
");
document.write("
");
document.write("
");
document.write("
");
document.write("
");
document.write("
林小姐");
document.write("
蔡小姐");
document.write("
蓝先生");
document.write("
服务热线");
document.write("
4008-355-358");
document.write("
");
document.write("
");
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 = "145px";
}
function onlineout(){
document.getelementbyid("divmenu").style.display = "block";
document.getelementbyid("divonline").style.display = "none";
}
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 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";
}