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==4)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q3.selectedIndex==1)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q4.selectedIndex==2)
		{  gogtta=gogtta+1;  }
	 if (document.quizform.q5.selectedIndex==1)
		{  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==2)
		{  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==3)
		{  gogtta=gogtta+1;  }

	 if (gogtta > 10 )
		{  cccl="Genius!"  }
	else if (gogtta > 9 )
		{  cccl="You are Smart!"  }
	else if (gogtta > 7 )
		{  cccl="Excellent, keep trying!"  }
	else if (gogtta > 4 )
		{  cccl="Average dude, you need to study more!"  }
	else if (gogtta > 1 )
		{  cccl="I'm sure you are good at something!"  }
	else
		{  cccl="no comment"  }

	 if (gogtta > 10 )
		{  cccb="Your Love Life will develope in the future!"  }
	else if (gogtta > 9 )
		{  cccb="Your love life needs some romance!"  }
	else if (gogtta > 7 )
		{  cccb="Expect your love life to improve soon!"  }
	else if (gogtta > 4 )
		{  cccb="Your love life should be Fantastic!"  }
	else if (gogtta > 1 )
		{  cccb="You must have an excellent love life!"  }
	else
		{  cccb="still no comment"  }

	var s1 = "<HTML>"+
	"<title>Intelligence Quiz 4</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 4</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 your upcoming love life:</i></CENTER>"+
	"<P><H3>Your Projected Love Life:<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>The song 'I'm So Tired' appears on the 'White Album', and the supposed backwards lyrics were as follows: 'Paul is dead man, miss him, miss him'. It was rumored that Paul was involved in a fatal car crash in 1966, which also helped fire up the controversy. Why was all of this done? Probably to sell more albums"+
	"<P>2.answer 4"+
	"<BR>Caligula was the third Roman emperor, after Augustus and Tiberius. At first a responsible monarch, his reign dwindled into a mass of extravagant and cruel acts which ended with his assassination in 41 AD."+
	"<P>3.answer 1"+
	"<BR>The Irish flag has three vertical columns of color. The first is green (for the Catholics), the second is white (representing peace between the two faiths), and the third is orange (for the Protestants)."+
	"<P>4.answer 2"+
	"<BR>Traditionally, as a sign of respect to a person of superior social position to oneself, a person would get on their knees and bend their body until their head literally bumped or knocked the floor. This term seems to have taken life in the English language, but is used in an extremely derogatory manner. In traditional China it was a sign of utmost respect."+
	"<P>5.answer 1"+
	"<BR>One of the most important speeches in American history, Lincoln's address surprisingly lasted only two minutes! It had followed a nearly two hour speech by one of the most popular speakers of the day, Edward Everett. While Everett's speech has essentially been forgotten, Lincoln's address has lived on in history as one of the great speeches of all time."+
	"<P>6.answer 1"+
	"<BR>Both English and Hindi are members of the language family called Indo-European. The Finnish language is related to Hungarian and is a member of the Uralic language family. Hebrew is a Semitic language, related to Arabic, while Turkish is an Altaic language related to Mongolian!"+
	"<P>7.answer 1"+
	"<BR>Willy Loman is, of course, the main character from Arthur Miller's play 'Death of a Salesman', a pretty pathetic individual. Walter Mitty is a Thurber character who fantasizes about a more exciting life. Dorian Gray is from the pages of Oscar Wilde, a man who gives up his soul for eternal youth. Fitzgerald's Gatsby is just a creepy, self-absorbed millionaire"+
	"<P>8.answer 2"+
	"<BR>Karl von Frisch was a Nobel Laureate in Medicine (1973) who specialized in the study of human and animal behavior. One of his most fascinating studies was that of honeybees. Worker bees who have successfully located a substantial food source will 'dance' as a way of communicating to their cohabitants in order to give them directions and distance...a spectacular form of insect communication!"+
	"<P>9.answer 4"+
	"<BR>If you are ever in California, you might want to try the Jelly Belly factory tour. Visitors are allowed to taste all of their varieties. Avoid the 'Harry Potter' flavors: vomit, earwax and dirt!"+
	"<P>10.answer 1"+
	"<BR>Oedipus (swollen-foot), a legendary king of Thebes in ancient Greece, was most famously written about by the ancient Greek playwright Sophocles, who wrote a trilogy of works focused on Oedipus and his family. Oedipus inadvertently fell in love with and married his own mother in 'Oedipus the King', and this story spurred Freud to name his 'Oedipus Complex' (attachment of a young boy to his mother) after the unfortunate mythological king. Stravinsky based his opera 'Oedipus Rex' on the work of Sophocles."+
	"<P>11.answer 3"+
	"<BR>The great apes include the families of gorillas, chimpanzees, orangutans, and bonobos (aka pygmy chimpanzees). Humans are also taxonomically considered to be among the 'great apes', though I've never heard anyone use the term 'shrewdness' to describe us!"+
    "<BR>"

	"<BR>"

	var s2=""

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