// JavaScript Document

function passwordFindCheckAndSubmit()
{
	if( document.postForm.user_name.value.length < 1 && document.postForm.email.value.length < 1 )
	{ 
		alert('敬告：请填写用户名 或 电子邮件!') ;
		document.postForm.user_name.focus() ;
		return false ;
	}
	
	if( document.postForm.email.value !=  '' )
	{
		if( !isRightStr4Email(document.postForm.email.value) )
		{
			alert('敬告：请正确填写电子邮件!!');
			document.postForm.email.select();
			return false;
		}
	}	
	if(document.postForm.isLoverGift.value.length<1)
	{ 
		alert('敬告：请填写验证码!');
		document.postForm.isLoverGift.focus();
		return false;
	}
	document.postForm.submit() ;
}