/////////////////////////////////////
//Copyright Joanne S E Smith       //
//Internet Health Library 2000     //
//All Rights Reserved              //
//e-mail: jsesmith@hotmail.com      //
//                                 //
//Simple Report Generator          //
//                                 //
/////////////////////////////////////
function analyze(){
	result1=0;
	result2=0;
	result3=0;
for (a=12;a<33;a=a+3){
		if (document.question.elements[a].checked) result1++
		};
for (a=13;a<33;a=a+3){
		if (document.question.elements[a].checked) result2++
		};
for (a=14;a<33;a=a+3){
		if (document.question.elements[a].checked) result3++
		};
for (a=0;a<12;a=a+2){
		if (document.question.elements[a].checked) result1++
		};
for (a=1;a<12;a=a+2){
		if (document.question.elements[a].checked) result3++
		};
if (result1>=result2) {
	if (result1>result3) {
	if (result1==result2) location="osteo-risk-mod-low.htm"
	else location="osteo-risk-low.htm"
	}
	}
if (result2>=result3) {
	if (result2>result1) {
	if (result2==result3) location="osteo-risk-mod-high.htm"
	else location="osteo-risk-moderate.htm"
	}
	}
if (result3>=result1) {
	if (result3>result2) {
	if (result3==result1) location="osteo-risk-moderate.htm"
	else location="osteo-risk-high.htm"
	}
	}
	
}

