//change 5 to the total number of questions
var total=5
var question=new Array()
for (i=1;i<=total+1;i++){
temp="choice"+i+"=new Array()"
eval(temp)
}
var solution=new Array()
var explanation=new Array()

/*Below lists the questions, its choices,the solution,  and finally the explanation to each question. Follow the exact format below when editing the questions. You may have as many questions as needed.*/

question[1]=" Which of these modern Thanksgiving foods are affected by weather?"
choice1[1]=" Corn"
choice1[2]=" Cranberries"
choice1[3]=" Sweet potatoes"
choice1[4]=" All of the above"

question[2]=" Which of the following foods was present during the first Thanksgiving feast in 1621?"
choice2[1]=" Apples"
choice2[2]=" Fish"
choice2[3]=" Corn"
choice2[4]=" b and c"

question[3]=" True or false: Wild turkeys migrate south before winter."
choice3[1]=" True"
choice3[2]=" False"
choice3[3]="  "
choice3[4]="  "

question[4]=" What fruit has edible flowers, originated in Central America and is made up of 90 percent water?"
choice4[1]=" Apple"
choice4[2]=" Pumpkin"
choice4[3]=" Cranberry"
choice4[4]=" Orange"

question[5]=" The sweet potato is the Official State Vegetable of which U.S. state?"
choice5[1]=" Massachusetts"
choice5[2]=" Texas"
choice5[3]=" California"
choice5[4]=" North Carolina"

solution[1]="d"
solution[2]="d"
solution[3]="b"
solution[4]="b"
solution[5]="d"

explanation[1]="All of these crops need just the right weather conditions to be healthy and ready to eat. Extreme weather events such as hurricanes or early winter storms, and severe climate conditions such as long-term drought and dry weather, can affect the fall harvest."
explanation[2]="During the first Thanksgiving feast in Plymouth, Massachusetts in 1621, Pilgrims and American Indians feasted on corn, fish, venison (deer meat), wild turkey, geese and ducks, grains (wheat and barley) and a few types of vegetables, including spinach and onions. Potatoes and apples were not yet grown in that region. Today, Thanksgiving is usually celebrated with yams, sweet potatoes, corn, farm-raised turkey, and pumpkin or apple pie."
explanation[3]="Wild turkeys can fly, but not very far! When turkeys beat their wings continuously, they are able to travel about one-eighth of a mile; gliding allows them to travel up to one mile. They do not migrate south for the winter months and must survive cold and snowy weather. But, despite extreme weather, most wild turkeys make it through winter."
explanation[4]="Although it may not seem very fruit-like, the pumpkin grows from a flowering plant and contains seeds - both scientific signs of a fruit. About 80 percent of the United States\' pumpkin supply is available in October, and weather such as too much or too little rain can have a big impact on the yearly pumpkin harvest."
explanation[5]="The sweet potato became the Official State Vegetable of North Carolina in 1995, after students doing a school assignment petitioned the State government to give the title to their favorite vegetable. Sweet potatoes are nutritious, containing high amounts of vitamins A and C. North Carolina produces more sweet potatoes than any other state - it harvested more than 700 million pounds of sweet potatoes in 2006!" 


