
function score() {

	var okaytoscore = true;
	var clueless = 0;
	var zombie = 0;
	var liberal = 0;
	var totalvalue = 0;
	var cnt = 0
	var thecomment = "";

	var cluelessResult =new Array()
	var zombieResult =new Array()
	var liberalResult =new Array()
		
	cluelessResult[0]=" "
	cluelessResult[1]="You a little clueless. Not much worse than most. You might be a fast food cook.  "
	cluelessResult[2]="Not too bright are you? I think you might be trying to find a job as a fast food cook. "
	cluelessResult[3]="Either you are a touch clueless or you are guessing at the questions.  "
	cluelessResult[4]="You are out of touch and probably guessing at the questions.  "
	cluelessResult[5]="You must be chained to an engine in a basement. Pretty clueless. "
	cluelessResult[6]="Hi Doofus. I think you might need to start paying attention and quit watching so much TV. Do not watch American Idol. Get a life. "
	cluelessResult[7]="Is it possible that you might be stranded on a desert island? Light a signal fire, we are coming for you. "
	cluelessResult[8]="I think you might be able to make money as a research project. Do you use poison darts to kill your food? "
	zombieResult[0]=" "
	zombieResult[1]="You might have been exposed to Zombies. If they bit you, it could get worse. "
	zombieResult[2]="You were exposed to Zombies. It seems like they bit you and it could get worse. "
	zombieResult[3]="I think you might be coming down with a case of Zombitus. Listen to Air America before it is too late. "
	zombieResult[4]="You are coming down with a case of Zombitus. Listen to Air America before it is too late. Hurry up. You only have a few hours. "
	zombieResult[5]="You are a Zombie. However, you might still be able to come back from the dead. Try watching Keith Olbermann and see if your head blows apart. "
	zombieResult[6]="You are a Zombie. However, you might still be able to come back from the dead, but probably not. Try watching Keith Olbermann and see if your head blows apart. "
	zombieResult[7]="You are a zombie, and to be honest, I think you should cut off your leg and see if it walks on its own. There is little hope for you. "
	zombieResult[8]="You are a Zombie! Forget it. You have no brain. Just out of curiosity, poke your eye with a stick and see if it falls into the back of your head. "
	zombieResult[9]="You are a PURE Zombie (Look in mirror, see froth in mouth). There is no hope for you. Hurry and find a wood chipper, then toss yourself in. It is the only way to keep from infecting others. "
	zombieResult[10]="You are George Bush. Don't try and deny it! I love your policies. This website is a funny joke. Heh heh…. Isn't it funny? "
	liberalResult[0]=" "
	liberalResult[1]="You are not a liberal. Nice try though. "
	liberalResult[2]="You are not very liberal. I think sometimes you get stuff right by accident. "
	liberalResult[3]="You have a couple of liberal tendencies. Try to develop these -- it could help (but unlikely). "
	liberalResult[4]="You have a couple of liberal tendencies. Try to develop these -- it could help if you work at it. "
	liberalResult[5]="Although you could become a liberal, it is going to take a lot of hard work. You might try giving some money to a homeless person. It could work. "
	liberalResult[6]="You could become a liberal, it is going to take a lot of work. You might try giving some money to a person on a street corner begging for food. "
	liberalResult[7]="You have liberal tendencies, but You are either lazy or mean. Try giving money to a Sally Struthers charity and read The Nation magazine.  "
	liberalResult[8]="You have liberal tendencies. I think you just need a bit more work. Try giving money to Green Piece read The Nation magazine.  "
	liberalResult[9]="You are pretty liberal. Congratulations. You are not perfect though. Keep working on it. "
	liberalResult[10]="Congratulations. You are a liberal.  "
		for (i=0; i <= 39; i++) {
	
	 	if (testform.elements[i].checked==true) {
	 	
	 		cnt = cnt + 1;
	 	
	 		switch (testform.elements[i].value) {
	 		
	 			case "C":
	 			
	 				clueless = clueless + 1;
	 				break;
	 				
	 			case "Z":
	 			
	 				zombie = zombie + 1;
	 				break;
	 				
	 			case "L":
	 			
	 				liberal = liberal + 1;
	 				break;
	 		}
	 				 				 	
		}
			
	}
		
		
		if (cnt == 10) {
	
			scoreboxform.comment.value = cluelessResult[clueless] +  zombieResult[zombie]  + liberalResult[liberal] ;
			scoreboxform.yourscore.value = "BQ = Clu:" + Math.round(((clueless/8)*100)*100)/100 + " Zom:" + Math.round(((zombie/10)*100)*100)/100 + " Lib:" + Math.round(((liberal/10)*100)*100)/100;                         
			
		} else {
		
			alert("Sorry, you did not answer the questions. You're a boob and probably a Bush Zombie.")
			
			} 
			
		
	    }
	    
function submitInfo() {


	if (document.scoreboxform.name.value != "" && 
		document.scoreboxform.yourscore.value != "" && 
		document.scoreboxform.state.value != "none" && 
		document.scoreboxform.comment.value != "none") {
		
		document.scoreboxform.action = "process.php"
		document.scoreboxform.method = "post";
		document.scoreboxform.submit();
	
	} else {
	
	alert("Okay, pay attention: Complete the test Goober!");
	
	}
}



