function computeForm2(form) { 
var total=0
for(q=1; q<=9; q++) { 
for (var count=0; count<3; count++) 
{
if (form["q"+q][count].checked){ 
var total=total+parseInt(form["q"+q][count].value);

}
}
}

var msg = ""; 
if (total < 1000){ //less than 20 

msg += "If you've answered all the quiz questions honestly, you'll have a pretty good sense of how good a job you're doing staying balanced. If most of your answers were A, congratulations: you're on the right track. If most of your answers were B, you’ll need to do a little work. If most of your answers were C, you're going to have to try harder to find your emotional centre.";

document.getElementById("test-result").innerHTML = msg;
document.getElementById("test-result").className = "show"; 

} //else if (total >= 20 && total < 24){ //between 20 and 23 

//msg += "21 - 24 THE HEALHY WANABE"; 
//msg += "You are so close… Just lose those unhealthy snacks and with minor"; 
//msg += "changes you can obtain physical and mental peak performance and"; 
//msg += "an abundance of vitality. Book yourself into Brookdale Health Hydro"; 
//msg += "and we’ll show you how to achieve this! Your body will be nurtured"; 
//msg += "through healthy food, moderate exercise and luxurious body"; 
//msg += "treatments while you discover your perfect balance and catch up with";
//msg += "yourself.";

//document.getElementById("test-result").innerHTML = msg;
//document.getElementById("test-result").className = "show";
 
//}else if (total >= 24){ //24 or greater 

//msg += "25 - 30 COMITED HEALTH NUT";
//msg += "Well done! You are definitely on the right path so you must be a";
//msg += "Brookdale regular! Continue with your excellent nutritional habits in"; 
//msg += "order to sustain your mental and physical performance and reduce the"; 
//msg += "likelihood of lifestyle-related disease. At Brookdale we address all"; 
//msg += "these issues in our lifestyle management programme to help you"; 
//msg += "maintain your healthy lifestyle"; 

//document.getElementById("test-result").innerHTML = msg;
//document.getElementById("test-result").className = "show"; 
//}

}