
function f_submit(){
	if(document.ff.name.value=="")
	{
		alert("Sorry，姓名不能为空！")
		document.ff.name.focus()
		return false
	}
	if(document.ff.password.value=="")
	{
		alert("Sorry，密码不能为空！")
		document.ff.password.focus()
		return false
	}

	if(document.ff.passwordConfirm.value=="")
	{
		alert("Sorry，请再次确认密码！")
		document.ff.passwordConfirm.focus()
		return false
	}

	if(document.ff.passwordConfirm.value!=document.ff.password.value)
	{
		alert("Sorry，两次输入的密码不一致！")
		document.ff.passwordConfirm.focus()
		return false
	}

	if(document.ff.trueName.value=="")
	{
		alert("Sorry，请输入真实姓名！")
		document.ff.trueName.focus()
		return false
	}

	if(document.ff.organization.value=="")
	{
		alert("Sorry，输入您的单位地址！")
		document.ff.organization.focus()
		return false
	}

	if(document.ff.email.value=="")
	{
		alert("Sorry，输入您的Email地址！")
		document.ff.email.focus()
		return false
	}		

	if(document.ff.phone.value=="")
	{
		alert("Sorry，输入您的电话！")
		document.ff.phone.focus()
		return false
	}	

	if(document.ff.province.value=="")
	{
		alert("Sorry，输入您所在省份！")
		document.ff.province.focus()
		return false
	}			

	if(document.ff.city.value=="")
	{
		alert("Sorry，输入您所在城市！")
		document.ff.city.focus()
		return false
	}	
	if(document.ff.address.value=="")
	{
		alert("Sorry，输入您所在详细地址！")
		document.ff.address.focus()
		return false
	}	
	if(document.ff.zipCode.value=="")
	{
		alert("Sorry，输入您的邮政编码！")
		document.ff.zipCode.focus()
		return false
	}	
	if(document.ff.fax.value=="")
	{
		alert("Sorry，输入您的传真号码！")
		document.ff.fax.focus()
		return false
	}			
		return true;
}

