function CheckForm( theform )
{
	var bMissingFields = false;
	var strFields = "";
	if( theform.firstname.value == ''){
		bMissingFields = true;
		strFields += "     . Forename\n";
	}
	if( theform.lastname.value == '' ){
		bMissingFields = true;
		strFields += "     . Surname\n";
	}
	if( theform.email.value == '' ){
		bMissingFields = true;
		strFields += "     . E-Mail Address\n";
	}
	if( theform.email2.value > theform.email.value){
		bMissingFields = true;
		strFields += "     . Please Correct/Verify Email Address\n";
	}
	if( theform.email2.value < theform.email.value){
		bMissingFields = true;
		strFields += "     . Please Correct/Verify Email Address\n";
	}

	if( bMissingFields ) {
		alert( "Please complete the following field(s) before continuing:\n" + strFields );
		return false;
	}
	return true;
}
