<!--  hide script from old browsers
var total = 0;
function clearForm(form)
{
	 form.answer1.value = "0"
	 form.answer2.value = "0"
	 form.answer3.value = "0"
	 form.answer4.value = "0"
	 form.answer5.value = "0"
	 form.answer6.value = "0"
	 form.answer7.value = "0"
	 form.answer8.value = "0"
	 form.answer9.value = "0"
	 form.answer10.value = "0"
	 form.answer11.value = "0"
	 form.answer12.value = "0"
	 form.answer13.value = "0"
	 form.answer14.value = "0"
	 form.answer15.value = "0"
	 form.answer16.value = "0"
	 form.answer17.value = "0"
	 form.answer18.value = "0"
	 form.answer19.value = "0"
	 form.answer20.value = "0"
}
function getTotal (form)	{
        if (form.answer1.checked)	{
        	ans1  = 1;
        	}else{
        			ans1 = 0;
        }
        
        if (form.answer2.checked)	{
        	ans2  = 1;
        		}else{
        			ans2 = 0;
        }
        
        if (form.answer3.checked)	{
        	ans3 = 1;
        	}else{
        			ans3 = 0;
        }
        
        
        if (form.answer4.checked)	{
        	ans4 = 1;
        	}else{
        			ans4 = 0;
        }
        
        
        if (form.answer5.checked)	{
        	ans5 = 1;
        	}else{
        			ans5 = 0;
        }
        
        
        if (form.answer6.checked)	{
        	ans6 = 1;
        	}else{
        			ans6 = 0;
        }
        
        
        if (form.answer7.checked)	{
        	ans7 = 1;
        	}else{
        			ans7 = 0;
        }
        
        
        if (form.answer8.checked)	{
        	ans8 = 1;
        	}else{
        			ans8 = 0;
        }
        
        
        if (form.answer9.checked)	{
        	ans9 = 1;
        	}else{
        			ans9 = 0;
        }
        
        
        if (form.answer10.checked)	{
        	ans10 = 1;
        	}else{
        			ans10 = 0;
        }
        
        
        if (form.answer11.checked)	{
        	ans11 = 1;
        	}else{
        			ans11 = 0;
        }
        
        
        if (form.answer12.checked)	{
        	ans12 = 1;
        	}else{
        			ans12 = 0;
        }
        
        
        if (form.answer13.checked)	{
        	ans13 = 1;
        	}else{
        			ans13 = 0;
        }
        
        
        if (form.answer14.checked)	{
        	ans14 = 1;
        	}else{
        			ans14 = 0;
        }
        
         if (form.answer15.checked)	{
        	ans15 = 1;
        	}else{
        			ans15 = 0;
        }
        
         if (form.answer16.checked)	{
        	ans16 = 1;
        	}else{
        			ans16 = 0;
        }
        
         if (form.answer17.checked)	{
        	ans17 = 1;
        	}else{
        			ans17 = 0;
        }
        
         if (form.answer18.checked)	{
        	ans18 = 1;
        	}else{
        			ans18 = 0;
        }
        
         if (form.answer19.checked)	{
        	ans19 = 1;
        	}else{
        			ans19 = 0;
        }
        
         if (form.answer20.checked)	{
        	ans20 = 1;
        	}else{
        			ans20 = 0;
        }


	form.total.value = eval(ans1+ans2+ans3+ans4+ans5+ans6+ans7+ans8+ans9+ans10+ans11+ans12+ans13+ans14+ans15+ans16+ans17+ans18+ans19+ans20)
	
}


function getComment(form)	{

total = getTotal(form);

			if(form.total.value < 1)	
  		 	form.total.value = "Since you believe that none of these statements apply to you, it's very likely that in a past life you were nothing more than an ill-mannered simpleton who roamed the countryside causing trouble for all those encountered. Were it not for you, sheep's wool wouldn't be curly...";

  			 else if  
   				(form.total.value > 0 && form.total.value < 4) 	
   				form.total.value ="Based on the answers you have provided, it has been determined that in a past life you liked to fondle tiny dead bird bodies and had quite an aptitude for dementia. We can't reveal the name you went by, but suffice it to say that your parents had to pay a license fee just to say it out loud.";

  			 else if  
   				(form.total.value > 3 && form.total.value < 6) 	
   				form.total.value ="Based on the answers you have provided, it has been determined that in a past life you were an overweight, uneducated health professional whose nose hairs were so long and disgusting, you had to have them braided by a lonely blind pirate with Alzheimer's disease. You were eventually murdered in self-defense by friends and family at the tender age of 15.";

  			 else if 
 				(form.total.value > 5 && form.total.value < 9) 
   				form.total.value ="Based on the answers you have provided, it has been determined that in a past life you were a snake oil selling Gypsy cross-dresser with a passion for moo-cows and a hatred of all things human thanks in part to your cruel and ambitious circus-employed parents who forced you to claim you could guess people's weight just by letting them stand on your head. You died broke and alone with a milk mustache and a smile of your face.";

   			 else if	
				(form.total.value > 8 && form.total.value < 12) 
   				form.total.value ="Based on the answers you have provided, it has been determined that in a past life you enjoyed fame and fortune as chief executioner for the infamous Tower of London. You were eventually fired and even imprisoned and tortured because you developed a bad attitude toward cruel and unusual punishment policies. You died toe-less and finger-less testing out a small working model of a new kind of guillotine to be used only on male adulterers.";

   			 else if	
				(form.total.value > 11 && form.total.value < 14) 
   				form.total.value ="Based on the answers you have provided, it has been determined that in a past life you spent nearly all of your days on a Viking war vessel as the guy who beat the drum that made the crewmen row faster. After you contracted a vicious social disease, you lost all sense of rhythm and were consequently demoted to the guy who gives a sip of water out of a soup ladle to each of the sweaty prisoners in the hole of the ship. You died of dehydration shorty thereafter.";  

   			 else if	
				(form.total.value > 13 && form.total.value < 17) 
   				form.total.value ="Based on the answers you have provided, it has been determined that in a past life you were a mystic healer and traveling evangelist whose only claim to fame was the time you forced a raw egg down the throat of a demon-ridden 10 year old child in order to induce vomiting, thinking the demon would be cast out along with the undigested regurgitated chunks. The youngster was miraculously exorcised of the demon, but died of anorexia nervosa one year later for which you were summarily tried and executed for causing.";  

   			 else if	
				(form.total.value > 16 && form.total.value < 20) 
   				form.total.value ="Based on the answers you have provided, it has been determined that in a past life you were a grungy, broom riding, wart infested, foul-mouthed, card-carrying cannibal witch, whose stupidity and limited spell casting abilities not only resulted in your being burned at the stake, but also spawned a new definition argument that was eventually added to the dictionary under the word, 'retard.'";

                           else 
				form.total.value ="Since you believe that every one of these statements apply to you, it's very likely that in a past life you were a highly intelligent, self-proclaimed god and medieval king or queen with Neanderthal features who ruled the kingdom with an iron fist: employing the use of intimidation tactics, violence and murder in a feeble attempt to impose your own code of immorality and self-interest upon the abused and enslaved subjects of the realm. And, ah, oh yeah, you were eventually overthrown, imprisoned, tar-and-feathered, flogged, stoned, tomahawked, impaled, beheaded, dismembered and your remains unceremoniously thrown to the royal dogs for nightly chow.";

}
// end hiding contents -->
