﻿
function close_float_leftaa(){
	leftaa.style.visibility='hidden';
}


document.write('<div id="leftaa" style="position:absolute;visibility:; left:1px; top:300px"><table width="100" border="0" cellpadding="4" cellspacing="1" bgcolor="#39A1D0"><tr><td width="96" bgcolor="#EAF9FD"><table width="100" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"><tr><td height="25" bgcolor="#7BE1F8"  align="center"><b>恩达业务部</b>   |    <a title="关闭窗口" href="javascript:close_float_leftaa();void(0);"><font color="#FF0000">×</font></a></td></tr><tr><td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">')
document.write('')

document.write("<tr><td height=23><br><img src=http://wpa.qq.com/pa?p=1:35430109:17 height=17 border=0 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='tencent://message/?uin=35430109&Site=http://www.iramie.com&Menu=yes' title='在线即时交谈[恩达业务一部|QQ:35430109]'>吴晖</font></a></td></tr>");
document.write('')

document.write("<tr><td height=23><br><img src=http://wpa.qq.com/pa?p=1:921416515:17 height=17 border=0 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='tencent://message/?uin=921416515&Site=http://www.iramie.com&Menu=yes' title='在线即时交谈[恩达业务二部|QQ:921416515]'>唐德荣</font></a></td></tr>");

document.write('')

document.write("<tr><td height=23><br><img src=http://wpa.qq.com/pa?p=1:348262796:17 height=17 border=0 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='tencent://message/?uin=348262796&Site=http://www.iramie.com&Menu=yes' title='在线即时交谈[恩达业务三部|QQ:348262796]'>赵珊</a></td></tr>");

document.write('')

document.write("<tr><td height=23><br><img src=http://wpa.qq.com/pa?p=1:921387846:17 height=17 border=0 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='tencent://message/?uin=921387846&Site=http://www.iramie.com&Menu=yes' title='在线即时交谈[恩达业务四部|QQ:921387846]'>李文英</a></td></tr>");



document.write('</td></tr></table></td></tr></table></td></tr></table></div>')
 
					function CheckUIElements()
					{
							var yMenu1Fromleft,yMenu1Fromright, yMenu1Toleft, yMenu1Toright, yOffset, timeoutNextCheck;
							var wndWidth = parseInt(document.body.clientWidth);

									yMenu1Fromleft   = parseInt (leftaa.style.top, 10);
									yMenu1Toleft    = document.body.scrollTop + 260;<!--距离上面的距离-->
									yMenu1Toright    = document.body.scrollTop + 130;

							timeoutNextCheck = 500;

							if ( yMenu1Fromleft != yMenu1Toleft ) {
									yOffset = Math.ceil( Math.abs( yMenu1Toleft - yMenu1Fromleft ) / 20 );
									if ( yMenu1Toleft < yMenu1Fromleft )
											yOffset = -yOffset;

							leftaa.style.top = parseInt (leftaa.style.top, 10) + yOffset;
									timeoutNextCheck = 10;
							}
							
							
							if ( yMenu1Fromright != yMenu1Toright ) {
									yOffset = Math.ceil( Math.abs( yMenu1Toright - yMenu1Fromright ) / 20 );
									if ( yMenu1Toright < yMenu1Fromright )
											yOffset = -yOffset;
							}

							setTimeout ("CheckUIElements()", timeoutNextCheck);
					}

					function MovePosition()
					{
							var wndWidth = parseInt(document.body.clientWidth);

									leftaa.style.top = document.body.scrollTop + 70;
									leftaa.style.visibility = "visible";
									CheckUIElements();
							return true;
					}


MovePosition();


