﻿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=fcf784339a3fd63c8bc21eab636f05df668a5cc64fb80fec64423a986c127845\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=fcf784339a3fd63c8bc21eab636f05df668a5cc64fb80fec64423a986c127845';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:1394962862:4' alt=\"点击这里给我发消息\">咨询-黄老师</a></li>");
document.write("<li class=odd><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=453b08c8cef603b9a067807657c8717c18a4698b9b5100cabbb06e035c22eec6\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=453b08c8cef603b9a067807657c8717c18a4698b9b5100cabbb06e035c22eec6';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:1346863063:4' alt=\"点击这里给我发消息\">咨询-陈老师</a></li>");

document.write("<li class=odd><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=fcf784339a3fd63c8bc21eab636f05df668a5cc64fb80fec64423a986c127845\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=fcf784339a3fd63c8bc21eab636f05df668a5cc64fb80fec64423a986c127845';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:1394962862: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/wh' target=_top>首页</a></li>");
document.write("<li class=odd><a href='http://www.gamfe.com/wh/xqjj.shtml' target=_top>学校简介</a></li>");
document.write("<li class=odd><a href='http://www.gamfe.com/wh/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";
}
