function validateForm(formInfo)
{
	var outTxt = "";

	if (formInfo.Fname.value == "")
	{ outTxt += "Please fill in the First Name field.\n"; }
	if (formInfo.Lname.value == "")
	{ outTxt += "Please fill in the Last Name field.\n"; }
	if (formInfo.Address1.value == "")
	{ outTxt += "Please fill in the Address field.\n"; }
	if (formInfo.City.value == "")
	{ outTxt += "Please fill in the City field.\n"; }
	if (formInfo.State.value == "")
	{ outTxt += "Please select your State.\n"; }
	if (formInfo.Zip.value == "")
	{ outTxt += "Please fill in the Zip field.\n"; }
	if (formInfo.Country.value == "")
	{ outTxt += "Please select your Country.\n"; }
	if (!formInfo["Email Address"].value.match(/.+@.+\..+/))
	{ outTxt += "Your email is invalid.\n"; }
	if (formInfo.Rules.checked == false)
	{ outTxt += "You must agree to the Privacy Policy, Rules and Terms of Service.\n"; }
 	
	if (outTxt != "")
	{
		alert("The following information is incorrect:\n" + outTxt);
		return false;
	}
	return true;
}

function validateFriends(formInfo)
{
	var outTxt = "";

	if (formInfo.name.value == "")
	{ outTxt += "Please fill in the Name field.\n"; }
	if (!formInfo.email.value.match(/.+@.+\..+/))
	{ outTxt += "Your email is invalid.\n"; }
	if (formInfo.friends.value == "")
	{ outTxt += "Please fill in the Friend's email address field.\n"; }
 	
	if (outTxt != "")
	{
		alert("The following information is incorrect:\n" + outTxt);
		return false;
	}
	return true;
}