function validateUser(theForm)
{
	if (!validRequired(theForm.txtName,"Name"))
		return false;
	if (!validRequired(theForm.txtEmailAddress,"Email Address"))
		return false;
	if (!validRequired(theForm.txtPassword,"Password"))
		return false;
	if (!validRequired(theForm.varConfirmPassword,"Confirm Password"))
		return false;
	if (!validMatch(theForm.txtPassword,"Password",theForm.varConfirmPassword,"Confirm Password"))
		return false;
	return true;
}

function validateEnquiry(theForm)
{
	if (!validRequired(theForm.txtName,"Name"))
		return false;
	if (!validEmail(theForm.txtEmailAddress,"email address",true))
		return false;
	return true;
}

function validateNewsletter(theForm)
{
	if (!validRequired(theForm.txtName,"Name"))
		return false;
	if (!validEmail(theForm.txtEmailAddress,"email address",true))
		return false;
	return true;
}

function validateDesign(theForm)
{
	if (!validRequired(theForm.txtName,"Name"))
		return false;
	return true;
}

function validateForSale(theForm)
{
	if (!validRequired(theForm.txtAddress,"Address"))
		return false;
	if (!validRequired(theForm.txtFeature1,"Feature 1"))
		return false;
	if (!validRequired(theForm.txtPrice,"Price"))
		return false;
	return true;
}
