function ckuser(){
	if (user_top.u_email.value ==""){
		alert('请输入用户名');
		user_top.u_email.focus();
		return false;
	}
	if (user_top.u_password.value ==""){
		alert('请输入密码');
		user_top.u_password.focus();
		return false;
	}
	if (user_top.code.value ==""){
		alert('请输入验证码');
		user_top.code.focus();
		return false;
	}
	return true;
}

function showreq(id){
	//alert('ok');
	if (id =='ent'){
		document.getElementById("div_ent").style.display = 'block';
		document.getElementById("div_ind").style.display = 'none';
		//document.getElementById("td7").style.backgroundColor = '#FFFFFF';
		//document.getElementById("td8").style.backgroundColor = '#EEEEEE';
		document.getElementById("td70").className = "divchange_nobottom";
		document.getElementById("td80").className = "divchange_bottom";
		
	}
	if (id =='ind'){
		document.getElementById("div_ent").style.display = 'none';
		document.getElementById("div_ind").style.display = 'block';
		//document.getElementById("td8").style.backgroundColor = '#FFFFFF';
		//document.getElementById("td7").style.backgroundColor = '#EEEEEE';
		document.getElementById("td80").className = "divchange_nobottom";
		document.getElementById("td70").className = "divchange_bottom";
	}
	if (id =='bank01'){
		document.getElementById("div_bank01").style.display = 'block';
		document.getElementById("div_bank02").style.display = 'none';
		//document.getElementById("td71").style.backgroundColor = '#FFFFFF';
		//document.getElementById("td81").style.backgroundColor = '#EEEEEE';
		document.getElementById("div_org1").style.display = 'block';
		document.getElementById("div_org2").style.display = 'none';
		document.getElementById("td71").className = "divchange_nobottom";
		document.getElementById("td81").className = "divchange_bottom";
	}
	if (id =='bank02'){
		document.getElementById("div_bank01").style.display = 'none';
		document.getElementById("div_bank02").style.display = 'block';
		//document.getElementById("td81").style.backgroundColor = '#FFFFFF';
		//document.getElementById("td71").style.backgroundColor = '#EEEEEE';
		document.getElementById("div_org2").style.display = 'block';
		document.getElementById("div_org1").style.display = 'none';
		document.getElementById("td81").className = "divchange_nobottom";
		document.getElementById("td71").className = "divchange_bottom";
	}
}

function randomNumberIndex() {
	today = new Date();
	num = Math.abs(Math.sin(today.getTime()));
	return num;  
}
