//	Performs the validation of the Rate Content form.
//	Must be included after the communfunctions.js file.
//
//	Returns:
//	false:	If any validation fails.
//	true:	If validation passes.
function validateRateContentForm()
{
	var form = document.rateContentForm;
	var wantedInfo = form.wantedInfo;
	var usefulInfo = form.useful;	
	var sValue = true;
	var bReturn = true;
		
	// Determine if option is selected
	if(sValue)
	{
		sValue = getRadioValue(wantedInfo)
		if(!sValue) {
			bReturn = false;
			alert("I'm sorry, you need to select yes or no for both options.");
		}

	} // End if
	if(sValue)
	{
		sValue = getRadioValue(usefulInfo)
		if(!sValue) {
			bReturn = false;
			alert("I'm sorry, you need to select yes or no for both options.");
		}

	} // End if
		
	return bReturn;	
	
} // End validateRateContentForm
