document.writeln("
"); document.writeln("
<\/div>"); document.writeln("
"); document.writeln("
客 服 中 心<\/div>"); document.writeln("
") document.writeln("

客服1: \'在线咨询\'<\/a><\/p>"); document.writeln("

客服2: \'在线咨询\'<\/a><\/p>"); document.writeln("

客服3: \'在线咨询\'<\/a><\/p>"); document.writeln("

客服4: \'在线咨询\'<\/a><\/p>"); document.writeln("

旺旺: \'在线咨询\'<\/a><\/p>"); document.writeln("<\/div><\/div><\/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 = 150; 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"){ 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){ if (document.getelementbyid('contentid').contains(event.toelement)) { return; } } } document.getelementbyid("meumid").style.display = "block"; document.getelementbyid("contentid").style.display = "none"; }