function checkform1(form){
	
		if(form.username.value == ""){
			alert("please input your account!");
			return false;
		}
		if(form.password.value == ""){
			alert("please input your password!");
			return false;
		}
		if(form.password.value != form.repassword.value){
			alert("please input right password!");
			return false;
		}
		
	if(form.email.value == ""){
		alert("please input your email!");
		return false;
	}
	if(form.recovercode.value == ""){
		alert("please input recovercode!");
		return false;
	}

	return true;
}

function checkform2(form){
	        if(form.password.value == "")
			{
			alert("please input your new password!");
			return false;
			}
		    if(form.password.value != form.repassword.value){
			alert("please input right password!");
			return false;
		    }
			return true;
	}

function checkform3(form){
	        if(form.accountname.value == "")
			{
			alert("please input your account name!");
			return false;
			}
			if(form.accountpassword.value == "")
			{
			alert("please input your account password!");
			return false;
			}
			if(form.email.value == "")
			{
			alert("please input your email!");
			return false;
			}
			if(form.safepassword.value == "")
			{
			alert("please set safe password!");	
			return false;
			}
			if(form.phone.value == "")
			{
			alert("please input your phone number!");
			return false;
			}
			if(form.accountpassword.value != form.reaccountpassword.value)
			{
			alert("please input right password!");	
			return false;
			}
			if(form.safepassword.value != form.resafepassword.value)
			{
			alert("please input right safe password!");	
			return false;
			}
			if(form.safepassword.value == form.accountpassword.value)
			{
			alert("the safe password must be different from your account password!");
			return false;
			}
			return true;
	}
	
	