function self_eval_dl() {
	self_eval = document.getElementById("self_eval");
	feedback = document.getElementById("feedback");
	// call function to get the values from the HTML radio button groups
	var q01 = getRadioValue(self_eval.q01)
	var q02 = getRadioValue(self_eval.q02)
	var q03 = getRadioValue(self_eval.q03)
	var q04 = getRadioValue(self_eval.q04)
	var q05 = getRadioValue(self_eval.q05)
	var q06 = getRadioValue(self_eval.q06)
	var q07 = getRadioValue(self_eval.q07)
	var q08 = getRadioValue(self_eval.q08)
	var q09 = getRadioValue(self_eval.q09)
	var q10 = getRadioValue(self_eval.q10)
	var q11 = getRadioValue(self_eval.q11)
	var q12 = getRadioValue(self_eval.q12)
	var q13 = getRadioValue(self_eval.q13)

	//calculate total
	var total = parseInt(q01)+parseInt(q02)+parseInt(q03)+parseInt(q04)+parseInt(q05)+parseInt(q06)+parseInt(q07)+parseInt(q08)+parseInt(q09)+parseInt(q10)+parseInt(q11)+parseInt(q12)+parseInt(q13)
	
	// based on total, output results to a text box and paragraph tag
	if (total >= 0 && total < 13) {
	feedback.innerHTML = "Your total is " + total + ". " + "Please make sure you have answered all the questions then click the Get Results button again."
	}
	
	else if (total >= 13 && total < 38) {
	feedback.innerHTML = "Your total is " + total + ". " + "You have the potential for successful learning in an online environment if you work hard and devote enough time to the course. It is suggested that you meet with your academic counselor or instructor to go through the readiness factors necessary to successful learning in an online course."
	} 
	
	else if (total >= 38 && total < 52) {
	feedback.innerHTML = "Your total is " + total + ". " + "You have the potential for successful learning in an online environment if you apply yourself and recognize those areas that might cause problems for you."
	}
	
	else {
	feedback.innerHTML = "Your total is " + total + ". " + "You have the potential for successful learning in an online environment."
	}	
} 

// returns value of checked radio button
function getRadioValue(radio_group) {
		var good
		// if a radio button has been checked, return its value
		for (i=0; i<radio_group.length;i++){
			if (radio_group[i].checked) {
				good=true
				return radio_group[i].value
			}
		}
		// if a radio button has NOT been checked, return its value as zero
		if (!good)
			return "0"
}