function validateForm()
{
}
function fillPoint(idx)
{
	obj.elements['point_'+idx].value = obj.elements['answer_'+idx].selectedIndex;
	fillTotal();
}
function fillTotal()
{
	totalPoints = 0;
	for(var i = 1; i <= numQuestions; i++)
	{
		if(obj.elements['point_'+i].value != '')
			totalPoints+= parseInt(obj.elements['point_'+i].value);
	}
	obj.total.value = totalPoints;
}
function validateForm()
{
	trimFields();
	/*for(var i = 1; i <= numQuestions; i++)
	{
		if(obj.elements['answer_'+i].selectedIndex == 0)
		{
			alert("Please answer for Question# " + i+'.');
			obj.elements['answer_'+i].focus();
			return false;
		}
	}*/
	if(obj.rated_person_name.value == '')
	{
		alert("Please provide the name of the person being rated.");
		obj.rated_person_name.focus();
		return false;
	}
	if(obj.rating_person_name.value == '')
	{
		alert("Please enter your Name.");
		obj.rating_person_name.focus();
		return false;
	}
	if(obj.email.value == '')
	{
		alert("Please enter your Email.");
		obj.email.focus();
		return false;
	}
	if(!chkEmail(obj.email.value))
	{
		alert("Please enter a valid Email Address.");
		obj.email.focus();
		obj.email.select();
		return false;
	}
	if(obj.captcha.value == '')
	{
		alert("Please enter the security code shown.");
		obj.captcha.focus();
		return false;
	}
	return true;
}
