﻿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='con'>");
document.write("<h2>学习咨询</h2>");
document.write("<ul>");
document.write("<li class=odd><a href=\" http://sighttp.qq.com/cgi-bin/check?sigkey=c5eff3fdb9217c074d7673b38949b46a566f375366c4b1f11edac40ff81a690c\"; target=_blank; onclick=\"var tempSrc=' http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=c5eff3fdb9217c074d7673b38949b46a566f375366c4b1f11edac40ff81a690c';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:1214598314:4' alt=\"点击这里给我发消息\">咨询-陈老师</a></li>");
document.write("<li class=odd><a href=\" http://sighttp.qq.com/cgi-bin/check?sigkey=2d1fcd32f77f2573f6657f5f1438c352ac46cbeebc139577c975cc0898c0f3ed\"; target=_blank; onclick=\"var tempSrc=' http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=2d1fcd32f77f2573f6657f5f1438c352ac46cbeebc139577c975cc0898c0f3ed';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:1394180582:4' alt=\"点击这里给我发消息\">咨询-李老师</a></li>");
document.write("<li class=odd><a href=\" http://sighttp.qq.com/cgi-bin/check?sigkey=2b7d1af7ba0bd23e56b035f50732ebd5e7f5124835a06e585dcdc93e7ae0c375\"; target=_blank; onclick=\"var tempSrc=' http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=2b7d1af7ba0bd23e56b035f50732ebd5e7f5124835a06e585dcdc93e7ae0c375';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:489585278:4' alt=\"点击这里给我发消息\">咨询-刘老师</a></li>");
document.write("<li class=odd><a href=\" http://sighttp.qq.com/cgi-bin/check?sigkey=0f34d857db4f6a137549b9cd78e0c06e41a63e483cbb304bfcdac05aac0c6774\"; target=_blank; onclick=\"var tempSrc=' http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=0f34d857db4f6a137549b9cd78e0c06e41a63e483cbb304bfcdac05aac0c6774';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:1464707240:4' alt=\"点击这里给我发消息\">咨询-黄老师</a></li>");
document.write("<li class=odd><a href=\" http://sighttp.qq.com/cgi-bin/check?sigkey=e7a22ed3326812c82708f171bd7672367e9b82553a3b708ed6d1591e38f123fb\"; target=_blank; onclick=\"var tempSrc=' http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=e7a22ed3326812c82708f171bd7672367e9b82553a3b708ed6d1591e38f123fb';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:304185082:4' alt=\"点击这里给我发消息\">咨询-罗老师</a></li>");
document.write("</ul>");
document.write("<h2>网站导航</h2>");
document.write("<ul>");
document.write("<li class=odd><a href='http://www.gamfe.com/cq' target=_top>首页</a></li>");
document.write("<li class=odd><a href='http://www.gamfe.com/cq/xqjj.shtml' target=_top>学校简介</a></li>");
document.write("<li class=odd><a href='http://www.gamfe.com/cq/kctx.shtml' target=_top>课程体系</a></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='http://www.gamfe.com/userfiles/uploadfile/2009-5/20090521140516471.gif' class='press' alt='汇众教育QQ客服系统'></div>");
document.write("</div>");

//<![CDATA[
var tips;
var theTop = 40;/*这是默认高度,越大越往下*/
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 = "145px";
}
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";
}