document.write("<div class='QQbox' id='divQQbox' >");

document.write("<div class='Qlist' id='divOnline' onmouseout='hideMsgBox(event);' style='display : none;'>");

document.write("<table border=0 width=452 id=table1 height=158 cellspacing=0 cellpadding=0><tr><td width=33><img border=0 src=2010kefu/images/qq_1.png width=33 height=158></td><td align=center valign=center background=2010kefu/images/bg.gif>");
document.write("<table width=100% border=0 cellpadding=1 cellspacing=1 bgcolor=#CCCCCC height=155>");
document.write("<tr><td align=center bgcolor=#DDEEFF><P class=STYLE2010>原料专员 电话：0571-83786603&nbsp;&nbsp;<a href=http://sighttp.qq.com/cgi-bin/check?sigkey=5642d9c44162644cd70d635b50e79ccd399fb736aefb3463d70d4f350b80d09a; target=_blank; onClick=var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=5642d9c44162644cd70d635b50e79ccd399fb736aefb3463d70d4f350b80d09a';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:1240703653:44' alt=></a></td></tr>");
document.write("<tr><td align=center bgcolor=#DDEEFF><P class=STYLE2010>纱线专员 电话：0571-83786604&nbsp;&nbsp;<a href=http://sighttp.qq.com/cgi-bin/check?sigkey=5eedc7e3147fbefea4ede5206019df678e50b3c2423c5c4ac0df269773456de6; target=_blank; onClick=var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=5eedc7e3147fbefea4ede5206019df678e50b3c2423c5c4ac0df269773456de6';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:137849511:44' alt=></a></td></tr>");
document.write("<tr><td align=center bgcolor=#DDEEFF><P class=STYLE2010>坯布专员 电话：0571-83786605&nbsp;&nbsp;<a href=http://sighttp.qq.com/cgi-bin/check?sigkey=659c822db524de48a89e76c286d987d507accc147c6d450c0c302f7b798a60f1; target=_blank; onClick=var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=659c822db524de48a89e76c286d987d507accc147c6d450c0c302f7b798a60f1';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:109553067:44' alt=></a></td></tr>");
document.write("<tr><td align=center bgcolor=#DDEEFF><P class=STYLE2010>面料专员 电话：0571-83786606&nbsp;&nbsp;<a href=http://sighttp.qq.com/cgi-bin/check?sigkey=13fb26ffda6942d9f0fcf52e9d2730c8b5dbb8f8512b6ba30fa7aa89f813a9a8; target=_blank; onClick=var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=13fb26ffda6942d9f0fcf52e9d2730c8b5dbb8f8512b6ba30fa7aa89f813a9a8';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:363662979:44' alt=></a></td></tr>");
document.write("<tr><td align=center bgcolor=#DDEEFF><P class=STYLE2010>传真：0571-83786595</P></td></tr>");
document.write("</table></td></tr></table>");




document.write("</div>");

document.write("<div id='divMenu' onmouseover='OnlineOver();'><img src='2010kefu/images/qq_1.png' class='press' alt=''></div>");

document.write("</div>");



//<![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 = "452px";

}



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";

}