//

//sum of thryoid and adrenal test scores

function get_score(){ 

//

var found_it;	

var score=0;	

var temp=0;	

var hyposcore = 0;	

var adrind;	

var hypind;   	  



ansindex=document.form1.question1.selectedIndex;	  	  	  

found_it = ansindex;	  	 		

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question2.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	  			

ansindex=document.form1.question3.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question4.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question5.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	 			

ansindex=document.form1.question6.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	 				

ansindex=document.form1.question7.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	 			 			 		

ansindex=document.form1.question8.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question9.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question10.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question11.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question12.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	 		 	 	 	 					

ansindex=document.form1.question13.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question14.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	 			

ansindex=document.form1.question15.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question16.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question17.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question18.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	 			

ansindex=document.form1.question19.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question20.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question21.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question22.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	 				

ansindex=document.form1.question23.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question24.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question25.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;				

ansindex=document.form1.question26.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;			

ansindex=document.form1.question27.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + score;		

score = temp;	 		 	 		 	 	 	 	 		 		 		 			$score = score; 		



//  hypothyroid 	

ansindex=document.form1.question28.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;	 				

ansindex=document.form1.question29.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question30.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question31.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question32.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;	 			 		 			 			 		  	

ansindex=document.form1.question33.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question34.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question35.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question36.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question37.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;	 			

ansindex=document.form1.question38.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;	 			

ansindex=document.form1.question39.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question40.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question41.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question42.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question43.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question44.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question45.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question46.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;	 			

ansindex=document.form1.question47.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question48.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;	 			

ansindex=document.form1.question49.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question50.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question51.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;	 				

ansindex=document.form1.question52.selectedIndex;	  	  

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;	 

//add in questions from other test			

ansindex=document.form1.question3.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;				

ansindex=document.form1.question18.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;			

ansindex=document.form1.question13.selectedIndex;	  	  	

found_it = ansindex;			

temp = found_it + hyposcore;		

hyposcore = temp;

value1=[score];

value2=[hyposcore];

var value1_placeholder = document.getElementById("value1_placeholder");

var value2_placeholder = document.getElementById("value2_placeholder");

value1_placeholder.value = value1;

value2_placeholder.value = value2;

//return true;

var form1 = document.getElementById("form1");

form1.submit();	



				 		 					 		 				

}