window.onresize = resize_wm;
window.onerror = function(){}
var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,mytm,i = 0;
function getMsg()
{
try
{
divTop = parseInt(document.getElementById("ctpop").style.top,10)
divLeft = parseInt(document.getElementById("ctpop").style.left,10)
divHeight = parseInt(document.getElementById("ctpop").offsetHeight,10)
divWidth = parseInt(document.getElementById("ctpop").offsetWidth,10)
docWidth = document.body.clientWidth;
docHeight = document.body.clientHeight;
document.getElementById("ctpop").style.top = parseInt(document.body.scrollTop,10) + docHeight + 10;// divHeight
document.getElementById("ctpop").style.left = parseInt(document.body.scrollLeft,10) + docWidth - divWidth
document.getElementById("ctbody").style.visibility="visible"
objTimer = window.setInterval("move_wm()",400)
//setTimeout("move_wm()", 30);
autocls()
}
catch(e){}
}
function resize_wm()
{
i+=1
try
{
	if(ctpop.style.visibility=="hidden") //如果被屏蔽
{
   ctpop.style.visibility="visible"; //恢复显示
}
divHeight = parseInt(document.getElementById("ctpop").offsetHeight,10)
divWidth = parseInt(document.getElementById("ctpop").offsetWidth,10)
docWidth = document.body.clientWidth;
docHeight = document.body.clientHeight;
document.getElementById("ctpop").style.top = docHeight - divHeight + parseInt(document.body.scrollTop,10)
document.getElementById("ctpop").style.left = docWidth - divWidth + parseInt(document.body.scrollLeft,10)
}
catch(e){}
}
function move_wm()
{
try
{
if (parseInt(document.getElementById("ctpop").style.top,10)-100 <= (docHeight - divHeight + parseInt(document.body.scrollTop,10)))
{
window.clearInterval(objTimer)
objTimer = window.setInterval("resize_wm()",50)
}
divTop = parseInt(document.getElementById("ctpop").style.top,10)
document.getElementById("ctpop").style.top = divTop - 50
}
catch(e){}
}
function close_wm()
{
document.getElementById('ctpop').style.visibility='hidden';
document.getElementById('ctbody').style.visibility='hidden';
document.getElementById('opwm').style.visibility='hidden';
if(objTimer) window.clearInterval(objTimer);
}
function mini_wm() 
{
document.getElementById('ctbody').style.visibility='hidden';
document.getElementById("opwm").style.visibility="visible";
}
function reop_wm(){
document.getElementById("opwm").style.visibility="hidden";
document.getElementById('ctbody').style.visibility='visible';
} 
function hold_wm()
{
if(mytm) clearTimeout(mytm);
}

function autocls()
{
mytm=setTimeout("mini_wm()",4000);
}
document.write("<style type='text/css'>"+ "<!--"+ ".STYLE32 {color: #0089D5}"+ ".STYLE22 {color: #0089D5}"+ ".STYLE47 {font-size: 11px;color: #FFFFFF;}"+ ".STYLE23 {color: #FC0202}"+ "=-->"+ "</style>");//样式
document.write("<DIV id=ctpop style='LEFT: 0px; VISIBILITY: visible; WIDTH: 109px; POSITION: absolute; TOP: 0px; HEIGHT: 60px;z-index:10;' onmouseover='hold_wm()'onmouseout='autocls()' oncontextmenu='self.event.returnValue=false'>"+"<div id=opwm style='position:relative; VISIBILITY: hidden;left:0px; top:189px; height:22px; width:109px;'>");
document.write("<div align='center' class='STYLE47' onClick='reop_wm()' style='width:109px;height:22px;border:double 3px #7B869A;background-color:#7B869A;line-height:22px'>在线联系 请点击</div></div>");																																																																																																																																																																																																															var qqid1="739888170",qqpt1="业务咨询1",qqkey1="e8c0bfa763c91d119856bd4e1e5a25bcfbbc1467b4799a91914606a73f974928",qqid2="364032361",qqpt2="业务咨询2",qqkey2="66cac5cce4eb040297981d2f9f084e8b59551422ede6d25e6030fec01921a827",msnid="zhtcc@hotmail.com",msnpt="业务&nbsp;咨询",tqid="8553754";																																																																																																																																																																																																																						document.write("<DIV id=ctbody style='LEFT: 0px; VISIBILITY: hidden; WIDTH: 109px; POSITION: relative;filter:alpha(opacity=92);background:#ffffff'; TOP: 0px; HEIGHT: 206px;'>"+"<div align='center' class='STYLE47' onClick='mini_wm()' style='width:109px;height:22px;border:double 3px #7B869A;background-color:#7B869A;line-height:22px'>至腾在线列表&nbsp;&nbsp;&nbsp;&nbsp;X</div>"+"<div align='center' style='width:113px;height:22px;border-left:solid 1px #7B869A;border-right:solid 1px #7B869A;border-bottom:solid 1px #7B869A;'>"+ "<div align='center' class='STYLE22 STYLE23' style='width:109px;height:20px;line-height:20px;font-size: 9pt'><img height='13' src='qq/qq_ico1.gif' width='16'>QQ用户</div>"+ "<div align='center' style='height:25px;font-size:9pt;line-height:25px;'><a target=blank href=http://sighttp.qq.com/cgi-bin/check?sigkey="+qqkey1+"><img border=0 SRC=qq/QQonline.gif>&nbsp;&nbsp;<span class=STYLE32>"+qqpt1+"</span></a></div>"+ "<div align='center' style='height:25px;font-size:9pt;line-height:25px;'><a target=blank href=http://sighttp.qq.com/cgi-bin/check?sigkey="+qqkey2+"><img border=0 SRC=qq/QQonline.gif>&nbsp;&nbsp;<span class=STYLE32>"+qqpt2+"</span></a></div>"+ "<div align='center' class='STYLE22 STYLE23' style='width:109px;height:20px;line-height:20px;font-size: 9pt'><img height='13' src='qq/qq_ico1.gif' width='16'>MSN用户</div>" + "<div align='center' style='height:25px;font-size:9pt;line-height:25px;'><a target=blank href=msnim:chat?contact="+msnid+"><img border=0 SRC=qq/MSNonline.gif>&nbsp;&nbsp;<span class=STYLE32>"+msnpt+"</span></a></div>"+ "<div align='center' class='STYLE22 STYLE23' style='width:109px;height:20px;line-height:20px;font-size: 9pt'><img height='13' src='qq/qq_ico1.gif' width='16'>非QQ用户</div>"+ "<div align='center' style='height:25px;width:100%;font-size:9pt;line-height:25px;'><a href=http://float2006.tq.cn/static.jsp?uin="+ tqid+ "&ltype=0 target=_blank><img src=qq/c1.gif width='81' height='21' border='0' /></a></div>"+"</DIV>"+"</DIV>");
setTimeout("getMsg();",300);
