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("<ul>");

document.write("<li><a href=' http://wpa.qq.com/msgrd?V=1&amp;Uin=1105920914&amp;Site=服饰招商网&amp;Menu=yes' target='_blank'><img src='http://www.texhr.cn/images/qq.gif'  border='0' alt='QQ' /> 企业客服</a></li>");
document.write("<li><a href=' http://wpa.qq.com/msgrd?V=1&amp;Uin=1105920914&amp;Site=服饰招商网&amp;Menu=yes' target='_blank'><img src='http://www.texhr.cn/images/qq.gif'  border='0' alt='QQ' /> 经销商客服</a></li>");
document.write("<li>联系人：徐先生 </li>");
document.write("<li>热线：0579-83911356 </li>");
document.write("<li>在线留言： </li>");
document.write("<li class='conxx'><form action='/minibook/tellme.asp' method='post' name='form114' id='form114' > <label>  <textarea name='tellme_content' style='width:125px;height:80px;'></textarea>  </label> </li>");
document.write("<li>您的电话：<br/><input type='text' name='tel' style='width:100px'></li>");
document.write("<li> <input type='button' value='发 送'  border='0' style='BORDER-RIGHT: #FADDC0 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #FADDC0 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#FBC0A2); BORDER-LEFT: #FADDC0 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #FADDC0 1px solid'  onclick=javascript:if(document.form114.tellme_content.value==''||document.form114.tel.value==''){alert('请输入反馈内容和联系电话！');}else{document.form114.submit();} /> </form></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_1.png' class='press' alt='QQ客服热线'></div>");

document.write("</div>");



//<![CDATA[

var tips; var theTop = 80/*这是默认高度,越大越往下*/; 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";

}
