<!--
function validateReferral()
{
	fv = new formValidator();

	if (fv.isEmpty("your_name"))
		fv.raiseError("Please specify your name.");
		
	if (fv.isEmpty("your_email"))
		fv.raiseError("Please specify your email address.");
	else
	if (!fv.isEmailAddress("your_email"))
		fv.raiseError("Please specify a valid email address.");

	if (fv.isEmpty("your_friends_name"))
		fv.raiseError("Please specify your friend's name.");

	if (fv.isEmpty("your_friends_email"))
		fv.raiseError("Please specify your friend's email.");
	else
	if (!fv.isEmailAddress("your_friends_email"))
		fv.raiseError("Please specify a valid email address for your your friend.");
		
	if (fv.isEmpty("your_comments"))
		fv.raiseError("Please specify your comments / message.");
		
	if (fv.isEmpty("code"))
		fv.raiseError("Please specify the spam code.");
		
	if (fv.numErrors() > 0)
	{
		fv.displayErrors();
		return false;
	}
	else
		return true;
}
-->
