 /**
 * 函数作用：打开登录页时让输入框得到焦点
 * 参数说明：
 *    updateId 操作更新的区域ID
 *	   formId 要提交的表单ID
 *    '{$sort_mode}','{$orderBy}'
 */
forget_onload = function(){

	var user_mail_name = document.getElementById("user_mail_name");	
	var sel_domain = document.getElementById("sel_domain");
	var USER_SIGN = document.getElementById("USER_SIGN");
	if(user_mail_name.value == ""){
		user_mail_name.focus();
		alert("用户名不能为空");
		return false;
	}
	if(sel_domain.value == ""){
		sel_domain.focus();
		alert("域名不能为空！");
		return false;
	}
	USER_SIGN.submit();	
};

back_onload = function(){
	window.location.href='login.php';
};

