﻿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>在线客服/Service</h2>");

document.write("<ul>");

document.write("<li><a href=' http://wpa.qq.com/msgrd?V=1&amp;Uin=498003366&amp;Site=www.findhow.hk&amp;Menu=yes' target='_blank'><img src=' http://wpa.qq.com/pa?p=1:498003366:4'  border='0' alt='498003366' />在线客服QQ</a></li>");

document.write("<li><a href=' http://wpa.qq.com/msgrd?V=1&amp;Uin=498003399&amp;Site=www.findhow.hk&amp;Menu=yes' target='_blank'><img src=' http://wpa.qq.com/pa?p=1:498003399:4'  border='0' alt='498003399' />在线客服QQ</a></li>");

document.write("<li><a href=' http://wpa.qq.com/msgrd?V=1&amp;Uin=1135000888&amp;Site=www.findhow.hk&amp;Menu=yes' target='_blank'><img src=' http://wpa.qq.com/pa?p=1:1135000888:4'  border='0' alt='1135000888' />在线客服QQ</a></li>");

document.write('<li><a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=bd3a9dc986765e2e@apps.messenger.live.com&mkt=zh-HK"><img style="border-style: none;" src="http://messenger.services.live.com/users/bd3a9dc986765e2e@apps.messenger.live.com/presenceimage?mkt=zh-HK" width="20" height="20" alt="msn@findhow.hk"/>MSN Online</a></li>');

document.write('<li><a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=ce39b8c828cd141b@apps.messenger.live.com&mkt=zh-HK"><img style="border-style: none;" src="http://messenger.services.live.com/users/ce39b8c828cd141b@apps.messenger.live.com/presenceimage?mkt=zh-HK" width="20" height="20" alt="service@findhow.hk"/>MSN Online</a></li>');

document.write('<li><a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=aaae8e8f9060dc36@apps.messenger.live.com&mkt=zh-HK"><img style="border-style: none;" src="http://messenger.services.live.com/users/aaae8e8f9060dc36@apps.messenger.live.com/presenceimage?mkt=zh-HK" width="20" height="20" alt="online@findhow.hk"/>MSN Online</a></li>');

document.write('<li><a href="skype:findhow%2Eskype?chat" onclick="return skypeCheck();"><img src="http://mystatus.skype.com/smallicon/findhow%2Eskype" style="border: none;" width="16" height="16" alt="findhow.skype" /></a><a href="skype:findhow%2Eskype?chat" onclick="return skypeCheck();">Skype Online</a></li>');

document.write('<li><a href="skype:findhow%2Eservice?chat" onclick="return skypeCheck();"><img src="http://mystatus.skype.com/smallicon/findhow%2Eservice" style="border: none;" width="16" height="16" alt="findhow.service" /></a><a href="skype:findhow%2Eservice?chat" onclick="return skypeCheck();">Skype Online</a></li>');

document.write('<li><a href="skype:findhow%2Eonline?chat" onclick="return skypeCheck();"><img src="http://mystatus.skype.com/smallicon/findhow%2Eonline" style="border: none;" width="16" height="16" alt="findhow.online" /></a><a href="skype:findhow%2Eonline?chat" onclick="return skypeCheck();">Skype Online</a></li>');

document.write('<li style="color:green;font-size:12px;">电话TEL:4006315316</li>');

document.write('<li style="color:green;font-size:12px;">传真FAX:4006315317</li>');

document.write('<li style="color:green;font-size:13px;font-weight:bold;">email@findhow.hk</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.findhow.hk/QQkefu/images/qq_1.png' class='press' alt='在线客服'></div>");

document.write("</div>");


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;

}


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";

}


if(typeof(HTMLElement)!="undefined") 
{   
      HTMLElement.prototype.contains=function(obj)   
      {   
          while(obj!=null&&typeof(obj.tagName)!="undefind"){
   　　　　if(obj==this) return true;   
   　　　　obj=obj.parentNode;
   　　}   
          return false;   
      };   
}  


function hideMsgBox(theEvent){

　 if (theEvent){

　 var browser=navigator.userAgent;

　 if (browser.indexOf("Firefox")>0){ 

　　 if (document.getElementById('divOnline').contains(theEvent.relatedTarget)) { 

　　 return; 

} 

} 

if (browser.indexOf("MSIE")>0){ 

if (document.getElementById('divOnline').contains(event.toElement)) { 

return; 

}

}

}


document.getElementById("divMenu").style.display = "block";

document.getElementById("divOnline").style.display = "none";

}
