/****
*Syamsul m.syamsul@usa.net
*Copyright Material
*http://8sekawan.fsn.net
*Copyright 1998 Syamsu
******/
function grade()
	{

	 var gogtta=0
	 var cccl
	 var cccb

//	 if (j1==1)
	 if (document.quizform.q1.selectedIndex==2)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q2.selectedIndex==1)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q3.selectedIndex==4)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q4.selectedIndex==2)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q5.selectedIndex==3)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q6.selectedIndex==1)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q7.selectedIndex==3)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q8.selectedIndex==1)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q9.selectedIndex==4)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q10.selectedIndex==1)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q11.selectedIndex==2)
		{  gogtta=gogtta+1;  }

	 if (gogtta > 10 )
		{  cccl="You're a Genius!"  }
	else if (gogtta > 9 )
		{  cccl="You are Smart!"  }
	else if (gogtta > 7 )
		{  cccl="Excellent!"  }
	else if (gogtta > 4 )
		{  cccl="Average!"  }
	else if (gogtta > 1 )
		{  cccl="I'm sure you are good at something!"  }
	else
		{  cccl="no comment"  }

	 if (gogtta > 10 )
		{  cccb="You should think about being a Veterinian!"  }
	else if (gogtta > 9 )
		{  cccb="You should have a Dog for a Pet!"  }
	else if (gogtta > 7 )
		{  cccb="You should think about having Fish as a Pet!"  }
	else if (gogtta > 4 )
		{  cccb="A Hamster would be best for you!"  }
	else if (gogtta > 1 )
		{  cccb="You should have a Cat for a Pet!"  }
	else
		{  cccb="still no comment"  }

	var s1 = "<HTML>"+
	"<title>Pets and Domestic Animals Quiz 1</title>"+
	"<META name='description' content='Free Quiz'>"+
	"<BODY bgcolor='White' TEXT='#000000' LINK='#0000c0' ALINK='#0000c0' VLINK='#0000c0'>"+
    "<a name='top'></A><P><CENTER><FONT SIZE=2 COLOR='#000000'>"+
	"<P><H2>Results for Quiz 1</CENTER></H21>"+
	"<P><H3>You got a score of "+gogtta+" out of 11 <br> Your rating:<font color='#ff0000'> "+cccl+" </font><br>(The correct answers and interesting information are listed below.)</CENTER></H3>"+
	"<P><font color='#000000' size='4'><i>Your answers not only can tell your current intelligence, but the combination can also forcast what Pet would be right for you:</i></CENTER>"+
	"<P><H3>Your Pet forcast is:<font color='#ff0000'> "+cccb+"</font></CENTER></H3></font></h3>"+
	"<BR><font color='#0000c0' size='4'>Have at least 10 friends take this quiz and some awesome, astonishing and amazing event will happen.</font>"+
	"<BR>"+
	"<P><font color='#000000' size='4'><u>Correct Answers and Info:</u></font></font></font></CENTER>"+
	"<P>1.answer 2"+
	"<BR>At night, a cat can slink its way through a room and not bump into anything. The air currents in the room change depending on where pieces of furniture are located. As the cat walks through the room and approaches the couch, he'll know which direction to turn based on the change in air current around the couch."+
	"<P>2.answer 1"+
	"<BR>This is a happy, relaxed dog who wants to have some fun!"+
	"<P>3.answer 4"+
	"<BR>He was part of the Norwegian explorer's Ra I expedition. A parrot had been aboard Kon-Tiki for Heyerdahl's voyage to Easter Island, but was unfortunately lost at sea."+
	"<P>4.answer 2"+
	"<BR>Catnip can also improve your cat's health. By engaging your cat in play with toys containing catnip, you can encourage your older or overweight kitten or cat to exercise more."+
	"<P>5.answer 3"+
	"<BR>Newfoundlands live to swim, and drool, and shed! Well-bred ones are amazingly sweet and friendly dogs."+
	"<P>6.answer 1"+
	"<BR>The Holstein is the most popular dairy cow in the U.S."+
	"<P>7.answer 3"+
	"<BR>The Boxer rears up and hits other dogs with its paws, hence the name."+
	"<P>8.answer 1"+
	"<BR>Rabbits are in a family all their own, the lagomorphs."+
	"<P>9.answer 4"+
	"<BR>Known for their [Airs Above Ground], they were in danger of extinction during WWII. General George S. Patton stepped in and ordered the rescue of the Lipizzaners, after seeing a rare performance of the horses."+
	"<P>10.answer 1"+
	"<BR>The Chow is not recommended for a first-time dog owner. He can be stubborn and hard to handle, and can become aggressive if not properly socialized."+
	"<P>11.answer 2"+
	"<BR>It's because they store food in their cheeks and then hide it in their burrow for a rainy day."+
    "<BR>"

	"<BR>"

	var s2=""

    
     document.write(s1+s2);   
//   writedocument(gogtta);	
	 }