﻿document.write("<div class='QQbox' id='divQQbox' width='125px'>");

document.write("<div class='Qlist' id='divOnline' style='display : block;'>");

document.write("<div class='t'></div>");

document.write("<div class='con'>");

document.write("<h2>在线咨询</h2>");  

//document.write("<li class=font_qq_1_2>尚学堂彭老师<a href='http://sighttp.qq.com/cgi-bin/check?sigkey=b34214e9878b1932aba67b0ff472eea16e556f08de7373e3ba8219bf0834b649'; target=_blank><img border='0' SRC='http://wpa.qq.com/pa?p=1:906260616:7' alt='点击这里与我通话或留言:QQ号:906260616'></a></li>");

document.write("<li class=font_qq_1_2>尚学堂王老师<a href='http://sighttp.qq.com/authd?IDKEY=25e4b7d40169434887bb3b89f7161d7e15dd9baf36078077'; target=_blank><img border='0' SRC='http://wpa.qq.com/pa?p=1:1092735976:7' alt='点击这里与我通话或留言:QQ号:1092735976'></a></li>");

document.write("<li class=font_qq_1_2>尚学堂郑老师<a href='http://wpa.qq.com/msgrd?v=3&uin=1371581453&site=qq&menu=yes'; target=_blank><img border='0' SRC='http://wpa.qq.com/pa?p=1:1371581453:7' alt='点击这里与我通话或留言:QQ号:1371581453'></a></li>");

document.write("<li class=font_qq_1_2>尚学堂李老师<a href='http://sighttp.qq.com/authd?IDKEY=81d33ec7f9f53f07100c71982e6b78a5e1c1d66585f2cfc0'; target=_blank><img border='0' SRC='http://wpa.qq.com/pa?p=1:894383965:7' alt='点击这里与我通话或留言:QQ号:894383965'></a></li>");

document.write("<li class=font_qq_1_2>尚学堂刘老师<a href='http://sighttp.qq.com/authd?IDKEY=4e635574b1bdebb361ca7f25f08b65c704c22816b5f4b4c5'; target=_blank><img border='0' SRC='http://wpa.qq.com/pa?p=1:253375502:7' alt='点击这里与我通话或留言:QQ号:253375502'></a></li>");


//document.write("<li class=odd>尚学堂樊老师<a href='http://sighttp.qq.com/authd?IDKEY=4d77c67345e07ddb6c0033c7eb9536e0e2120cffa20a418b'; target=_blank><img border='0' SRC='http://wpa.qq.com/pa?p=1:296621778:7'></a></li>");

document.write("</div>");

document.write("<div class='b'></div>");

document.write("</div>");

<!--document.write("<div id='divMenu' onmouseover='OnlineOver();'><img src='http://www.xasxt.com/templates/default/index/imgs/qq_1.png' class='press' alt='QQ客服热线'></div>");-->

document.write("</div>");



//<![CDATA[

var tips; var theTop = 100/*这是默认高度,越大越往下*/; 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 = "125px";

}



function OnlineOut(){

document.getElementById("divMenu").style.display = "block";

document.getElementById("divOnline").style.display = "none";



}



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";

}


