document.write("<div class='QQbox' id='divQQbox' >");
document.write("<div class='Qlist' id='divOnline' onmouseout='hideMsgBox(event);' style='display : none;'>");
document.write("<div class='t'></div>");
document.write("<div class='infobox'>我们营业的时间<br>9:00-18:00</div>");
document.write("<div class='con'>");

document.write("<ul >");
document.write("<li>业务客服</li>");

var q = new Array(4);

q[0]="<li><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=c6a2d32c109d7451941b4d54fb49eb8f02e3f3880d97d733d99b5b494f10b7af\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=c6a2d32c109d7451941b4d54fb49eb8f02e3f3880d97d733d99b5b494f10b7af';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC='http://wpa.qq.com/pa?p=1:996984679:45' alt='QQ' /> 996984679</a></li>";
q[1]="<li><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=5f894ee798a20bbc8cbf32ec70ba6232bcd6211cba42b96e1ec648fc43ce5909\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=5f894ee798a20bbc8cbf32ec70ba6232bcd6211cba42b96e1ec648fc43ce5909';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC='http://wpa.qq.com/pa?p=1:994761224:45' alt='QQ' /> 994761224</a></li>";
q[2]="<li><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=b8e90c877bb886ce1840eb5b54d410195ed0edbc303457e3a89b1ab60427346e\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=b8e90c877bb886ce1840eb5b54d410195ed0edbc303457e3a89b1ab60427346e';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border='0' SRC='http://wpa.qq.com/pa?p=1:942346333:45' alt='QQ' /> 942346333</a></li>";
//q[3]="<li><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=8626dc1c59c386fd03cdb77712752f594f675c9ba6fce91fb151052f53321d86\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=8626dc1c59c386fd03cdb77712752f594f675c9ba6fce91fb151052f53321d86';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC='http://wpa.qq.com/pa?p=1:1377459327:45' alt='QQ' /> 1377459327</a></li>";
q[3]="<li><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=f97e37048d03777b28496203b2462ea6eb6641ab5974476c25f8187c9720d8b1\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=f97e37048d03777b28496203b2462ea6eb6641ab5974476c25f8187c9720d8b1';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC='http://wpa.qq.com/pa?p=1:1435861084:45' alt='QQ' /> 1435861084</a></li>";
var tmp = [q[0], q[1], q[2], q[3]];
 qq = randomOrder(tmp);

for(var i=0;i<4;i++)
{
　　　　document.write(qq[i]);
}
document.write("<li>技术支持</li>");
document.write("<li><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=82e5427df65de91f990d45bbc4c3faffc77967a962606ed7d685c47884436997\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=82e5427df65de91f990d45bbc4c3faffc77967a962606ed7d685c47884436997';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC='http://wpa.qq.com/pa?p=1:1157956623:45' alt='QQ' /> 1157956623</a></li>");
document.write("<li>财务结算</li>");
document.write("<li><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=e36e8c15953245885435dfa1d4a5a30768b1e33b298c2322db5b77a17fa32b03\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=e36e8c15953245885435dfa1d4a5a30768b1e33b298c2322db5b77a17fa32b03';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC='http://wpa.qq.com/pa?p=1:1425275309:45' alt='QQ' /> 1425275309</a></li>");
//document.write('<li>咨询电话：010-88888888</li>');

document.write("</ul>");

document.write("</div>");

document.write("<div class='b'></div>");

document.write("</div>");

document.write("<div id='divMenu' onmouseover='OnlineOver();'><img src='images/qq/qq_1.gif' class='press' alt='在线咨询'></div>");

document.write("</div>");

function randomOrder (targetArray)
{
var arrayLength = targetArray.length
//
//先创建一个正常顺序的数组
var tempArray1 = new Array();

for (var i = 0; i < arrayLength; i ++)
{
tempArray1 [i] = i
}
//
//再根据上一个数组创建一个随机乱序的数组
var tempArray2 = new Array();

for (var i = 0; i < arrayLength; i ++)
{
//从正常顺序数组中随机抽出元素
tempArray2 [i] = tempArray1.splice (Math.floor (Math.random () * tempArray1.length) , 1)
}
//
//最后创建一个临时数组存储 根据上一个乱序的数组从targetArray中取得数据
var tempArray3 = new Array();

for (var i = 0; i < arrayLength; i ++)
{
tempArray3 [i] = targetArray [tempArray2 [i]]
}
//
//返回最后得出的数组
return tempArray3
}

//<![CDATA[

var tips; var theTop = 145/*这是默认高度,越大越往下*/; 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 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")    //给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";

}









   
