
function getVolunteerValue(formName){
	/*function to determine if other\notlisted is checked*/
	var volVal = get_check_value(formName);
	objForm.volunteerID.description = "VolunteerID Group"
	/*alter form fields accordingly*/
	if(volVal==true){
		objForm.otherVolunteerDesc.disabled(false);
		objForm.otherVolunteerDesc.description = "Other Volunteer Group"

	}
	else{
		objForm.otherVolunteerDesc.disabled(true);
	}
}

/*function to determine if other\notlisted is checked*/
function get_check_value(formName) {

	/*loop through checked fields*/
	for (var i=0; i < document.forms[formName].volunteerID.length; i++)	{
    	/*if other\notlisted is checked return true*/
		if (document.forms[formName].volunteerID[i].value == 0 && document.forms[formName].volunteerID[i].checked == true) {
			return true;
      	}
   	}
	return false;
}