// JavaScript Document
function testform()
{var score=0;
if ((document.archi.lohoin.value=="the boy is seeking the cow")||(document.archi.lohoin.value=="The boy is seeking the cow")||(document.archi.lohoin.value=="the boy is seeking the cow.")||(document.archi.lohoin.value=="The boy is seeking the cow.")) 
	{
	score = score + 1
	}

if ((document.archi.diyaboshor.value=="the father is leaving the man")||(document.archi.diyaboshor.value=="The father is leaving the man")||(document.archi.diyaboshor.value=="the father is leaving the man.")||(document.archi.diyaboshor.value=="The father is leaving the man."))
	{
	score = score + 1
	} 

if ((document.archi.theuncle.value=="babamu dada virkkurshi vi")||(document.archi.theuncle.value=="Babamu dada virkkurshi vi")||(document.archi.theuncle.value=="babamu dada virkkurshi vi.")||(document.archi.theuncle.value=="Babamu dada virkkurshi vi."))
	{
	score = score + 1
	} 

if ((document.archi.thedonkey.value=="dogi berkurshi bi")||(document.archi.thedonkey.value=="Dogi berkurshi bi")||(document.archi.thedonkey.value=="dogi berkurshi bi.")||(document.archi.thedonkey.value=="Dogi berkurshi bi."))
	{
	score = score + 1
	} 

if ((document.archi.themother.value=="buva diya vark'arshi di")||(document.archi.themother.value=="Buva diya vark'arshi di")||(document.archi.themother.value=="buva diya vark'arshi di.")||(document.archi.themother.value=="Buva diya vark'arshi di."))
	{
	score = score + 1
	} 

if (score==0) {document.archi.evaluation.value = "Oops!"}
if (score==1) {document.archi.evaluation.value = "Keep going!"}
if (score==2) {document.archi.evaluation.value = "Way to go!"}
if (score==3) {document.archi.evaluation.value = "Almost there!"}
if (score==4) {document.archi.evaluation.value = "One more!"}
if (score==5) {document.archi.evaluation.value = "Congratulations!"; 
				document.archi.scoreoutput.value = score + " out of 5!";
				window.location="certificate.htm"}
	else document.archi.scoreoutput.value = score + " out of 5"
}
