// JavaScript Document
document.ns = navigator.appName == "Microsoft Internet Explorer"
 function myload()
{
document.all.myright.style.posTop = -200;
document.all.myright.style.visibility = "visible";
mymove();
}
function mymove()
{
	var x =60;//距右
	 var y =280;//距上
	 var sumY=0;
	
	 var divHeight=316;
	 var pageHeight=document.documentElement.clientHeight;
	 var bodyHeight=document.documentElement.scrollHeight;
	 var scrollTop=document.documentElement.scrollTop;
	 var diff = (document.documentElement.scrollTop + y -document.all.myright.style.posTop)*.40;
	 var diff1 = (document.documentElement.scrollTop - document.all.myright.style.posTop)*.40;
	 if((divHeight+y)>=pageHeight)
	 {
		 
		 if(bodyHeight>scrollTop+divHeight)
		 {
			if(scrollTop>=y)
			{
				y = scrollTop-diff1;	
			}
		 }
	 }
	 else
	 {
		
		     y = scrollTop + y-diff;
	 }
	 eval("document.all.myright.style.posTop = parseInt(y)");
	 eval("document.all.myright.style.posRight = x");
	 setTimeout("mymove();",50);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true)

function close_float_right(){
 myright.style.visibility='hidden';
}
document.writeln('<link rel="stylesheet" type="text/css" href="http://www.hxb.com.cn/chinese/css1/main.css" />')
document.write("<div id=myright style='position: absolute;width:280;visibility: hidden;z-index: 1;top:285px;left:850px'>");
//document.write("<DIV id=myright style='WIDTH: 76px; POSITION: absolute; HEIGHT: 419px'>");
document.write("<div id='quickmenu1'>");
document.write("<a href='javascript:close_float_right()'>");
document.write("<img src='http://www.hxb.com.cn/chinese/images/right_img1.gif' alt='关闭快捷菜单' border='0' /><br />");
document.write("</a>");
document.write("<h5>");
document.write("<a href='http://www.hxb.com.cn/chinese/callcenter/network.jsp?cid2=691113' target='_blank'>");
document.write("<img src='http://www.hxb.com.cn/chinese/images/right_img3.gif' alt='营业网点' border='0' />");
document.write("</a>");
document.write("</h5>");
document.write("<h5>");
document.write("<a href='http://www.hxb.com.cn/chinese/callcenter/guiyuan.jsp?cid2=67' target='_blank'>");
document.write("<img src='http://www.hxb.com.cn/chinese/images/right_img4.gif' alt='自助柜员机' border='0' />");
document.write("</a>");
document.write("</h5>");
document.write("<h5>");
document.write("<a href='http://www.hxb.com.cn/chinese/callcenter/zizhu.jsp?cid2=68' target='_blank'>");
document.write("<img src='http://www.hxb.com.cn/chinese/images/right_img5.gif' alt='自助服务区' border='0' />");
document.write("</a>");
document.write("</h5>");
document.write("<h5>");
document.write("<a href='http://www.hxb.com.cn/chinese/callcenter/faq.jsp?cid2=63' target='_blank'>");
document.write("<img src='http://www.hxb.com.cn/chinese/images/right_img6.gif' alt='常见问题' border='0' />");
document.write("</a>");
document.write("</h5>");
document.write("<h5>");
document.write("<a href='http://www.hxb.com.cn/chinese/callcenter/tehui.jsp?cid2=691119' target='_blank'>");
document.write("<img src='http://www.hxb.com.cn/chinese/images/right_img7.gif' alt='特约商户' border='0' />");
document.write("</a>");
document.write("</h5>");
document.write("<img src='http://www.hxb.com.cn/chinese/images/right_img2.gif' alt='快速通道' /><br />");
document.write("</div>");
document.write("</div>");

function fnStartInit()
{
   if (document.readyState=="complete")
   {
      myload();
   }
}

if(document.ns){
//myload()
}