function updateResponseRate(){
var type=XMLHttpReq.responseXML.getElementsByTagName("type");
//判断转向
var forwardJsp = XMLHttpReq.responseXML.getElementsByTagName("forwardJsp");
var userId = XMLHttpReq.responseXML.getElementsByTagName("userId");
	if(type[0].firstChild.data=="ins"){
		var userName=XMLHttpReq.responseXML.getElementsByTagName("userName");
		if(userName[0].firstChild!=null){
			var account=XMLHttpReq.responseXML.getElementsByTagName("account");
			var webtradeUrl=XMLHttpReq.responseXML.getElementsByTagName("webtradeUrl");
			var lastDate=XMLHttpReq.responseXML.getElementsByTagName("lastDate");
			
			var inInfo = "<ul>";
			inInfo +="<li><span style='line-height: 125%;'>"+userName[0].firstChild.data+"！</span></li>";
			inInfo +="<li>上次登录："+lastDate[0].firstChild.data+"</li>";
			inInfo +="<li><a href=\"/account/pop_user.jsp\" target=\"_blank\" class=\"goldlink\">个人资料</a>　　<a href=\"#\" class=\"goldlink\" onclick=\"window.open('/account/pop_edit.jsp','popedit','height=570,width=755,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no')\">修改密码</a></li>";
			if(account[0].firstChild.data=="0"){
				inInfo +="<li> <a href=\"#this\" class=\"goldlink\" onclick=\"window.open('"+webtradeUrl[0].firstChild.data.replace(",","&")+"','myNewWindow2','height=515,width=617,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no')\">关联交易帐户</a></li>";
			}else{
				inInfo +="<li> <a href=\"#this\" class=\"goldlink\">您是交易客户</a></li>";
			}
			inInfo +="</ul>";
			document.getElementById("layout-center-bj").innerHTML=inInfo;
			document.getElementById("layout-center-button").innerHTML = document.getElementById("layout-center-button-hidden").innerHTML;
			isChk=false;
		}
		var failedInfo=XMLHttpReq.responseXML.getElementsByTagName("failedInfo");
		if(failedInfo[0].firstChild!=null)
		alert(failedInfo[0].firstChild.data);
		changeVerifyCodeImage();
	}else if(type[0].firstChild.data=="yes"){
		var userName=XMLHttpReq.responseXML.getElementsByTagName("userName");
		if(userName[0].firstChild!=null){
			var account=XMLHttpReq.responseXML.getElementsByTagName("account");
			var webtradeUrl=XMLHttpReq.responseXML.getElementsByTagName("webtradeUrl");
			var lastDate=XMLHttpReq.responseXML.getElementsByTagName("lastDate");
			var inInfo = "<ul>";
			inInfo +="<li><span style='line-height: 125%;'>"+userName[0].firstChild.data+"！</span></li>";
			inInfo +="<li>上次登录："+lastDate[0].firstChild.data+"</li>";
			inInfo +="<li><a href=\"/account/pop_user.jsp\" target=\"_blank\" class=\"goldlink\">个人资料</a>　　<a href=\"#\" class=\"goldlink\" onclick=\"window.open('/account/pop_edit.jsp','popedit','height=570,width=755,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no')\">修改密码</a></li>";
			if(account[0].firstChild.data=="0"){
				inInfo +="<li> <a href=\"#this\" class=\"goldlink\" onclick=\"window.open('"+webtradeUrl[0].firstChild.data.replace(",","&")+"','myNewWindow2','height=515,width=617,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no')\">关联交易帐户</a></li>";
			}else{
				inInfo +="<li> <a href=\"#this\" class=\"goldlink\">您是交易客户</a></li>";
			}
			inInfo +="</ul>";
			document.getElementById("layout-center-bj").innerHTML=inInfo;
			document.getElementById("layout-center-button").innerHTML = document.getElementById("layout-center-button-hidden").innerHTML;
			isChk=false;
			var initFlag=XMLHttpReq.responseXML.getElementsByTagName("initFlag");
			if(initFlag[0].firstChild.data=="n"){
				document.location="/space/index.jsp";
			}
		}
	}else if(type[0].firstChild.data=="remove"){
		document.getElementById("layout-center-bj").innerHTML=document.getElementById("layout-center-bj-old").innerHTML;
		document.getElementById("layout-center-button").innerHTML = document.getElementById("layout-center-button-old").innerHTML;
		isChk=true;
	}else{
		var userName=XMLHttpReq.responseXML.getElementsByTagName("userName");
		var failedInfo=XMLHttpReq.responseXML.getElementsByTagName("failedInfo");
		var isCfts = XMLHttpReq.responseXML.getElementsByTagName("isCfts");
		if(userName.length>0){
			if(failedInfo[0].firstChild!=null && forwardJsp.length > 0  &&  forwardJsp[0].firstChild.data!=null){
				window.open("/account/activeAccount.jsp?userName="+userName[0].firstChild.data,"activeAccount","height=515,width=800,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no");
				changeVerifyCodeImage();
				// 财富泰山客户 但是体验期已过期 直接登录
			} else  if(isCfts[0].firstChild.data=="1") { 
			if(userName[0].firstChild!=null){
			var account=XMLHttpReq.responseXML.getElementsByTagName("account");
			var webtradeUrl=XMLHttpReq.responseXML.getElementsByTagName("webtradeUrl");
			var lastDate=XMLHttpReq.responseXML.getElementsByTagName("lastDate");
			var inInfo = "<ul>";
			inInfo +="<li><span style='line-height: 125%;'>"+userName[0].firstChild.data+"！</span></li>";
			inInfo +="<li>上次登录："+lastDate[0].firstChild.data+"</li>";
			inInfo +="<li><a href=\"/account/pop_user.jsp\" target=\"_blank\" class=\"goldlink\">个人资料</a>　　<a href=\"#\" class=\"goldlink\" onclick=\"window.open('/account/pop_edit.jsp','popedit','height=570,width=755,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no')\">修改密码</a></li>";
			if(account[0].firstChild.data=="0"){
				inInfo +="<li> <a href=\"#this\" class=\"goldlink\" onclick=\"window.open('"+webtradeUrl[0].firstChild.data.replace(",","&")+"','myNewWindow2','height=515,width=617,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no')\">关联交易帐户</a></li>";
			}else{
				inInfo +="<li> <a href=\"#this\" class=\"goldlink\">您是交易客户</a></li>";
			}
			inInfo +="</ul>";
			document.getElementById("layout-center-bj").innerHTML=inInfo;
			document.getElementById("layout-center-button").innerHTML = document.getElementById("layout-center-button-hidden").innerHTML;
			isChk=false;
			var initFlag=XMLHttpReq.responseXML.getElementsByTagName("initFlag");
			if(initFlag[0].firstChild.data=="n"){
				document.location="/space/index.jsp";
			}
		}
					}
		}else{
			if(failedInfo[0].firstChild!=null &&
			type[0].firstChild.data=="no"){
				if(failedInfo[0].firstChild.data=="0" ){
		             if(confirm("对不起，您帐号的体验期已过！需要绑定交易账户才能继续使用。是否现在绑定？")){
						   window.open("https://trade.easysino.com/webtrade/app/web/login.jsp?userId="+userId[0].firstChild.data+"&islogin=1","bangWeb","height=515,width=617,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no");
					  }
				}else {
					alert(failedInfo[0].firstChild.data);
				}
				changeVerifyCodeImage();
			}
			
			
			
		}
	}
}