var letters = new Array();
letters[1]="A";
letters[2]="C";
letters[3]="B";
letters[4]="A";
letters[5]="C";
letters[6]="C";
letters[7]="B";
letters[8]="A";

var answer = new Array();
answer[1] = "2000";
answer[2] = "50000";
answer[3] = "10000";
answer[4] = "Slice it off above the stalk so it can grow again.";
answer[5] = "Dig up the whole of its base, so you can identify it.";
answer[6] = "Dig up the whole of its base, so no one knows you've picked it.";
answer[7] = "Pileus";
answer[8] = "Pileum";
answer[9] = "Apex";
answer[10] = "Chanterelle";
answer[11] = "Beefsteak";
answer[12] = "Morels";
answer[13] = "Chestnut bisporus";
answer[14] = "Amanita bispora";
answer[15] = "Agaricus bisporus";
answer[16] = "You've cooked it and it doesn't turn silver black.";
answer[17] = "You've checked it out with a mushroom expert.";
answer[18] = "It looks just like the ones your Granny used to pick.";
answer[19] = "The part of the fungus you can see above the ground.";
answer[20] = "The spores the fungus uses to reproduce.";
answer[21] = "The solid root or mass of the fungus under the ground.";

var questions = new Array();
questions[1] = "Which of the following is the name given to one of the UK's most common (and delicious!) edible fungi?";
questions[2] = "Approximately how many species of fungi are there in the UK?";
questions[3] = "When picking a mushroom to study, you should always:";
questions[4] = "The technical name for the cap of a fungus is:";
questions[5] = "Which of the following fungi do you find in the UK in the spring?";
questions[6] = "Shop-bought mushrooms are closely related to the following species of fungus:";
questions[7] = "You know a mushroom is safe to eat when:";
questions[8] = "'Fruit-body' is the name for:";

var endText = new Array();
endText[0] = "Your score: 0 out of 8. Hopeless - go join a mushroom group now!";
endText[1] = "Your score: 1 out of 8. Better than nothing, I suppose.";
endText[2] = "Your score: 2 out of 8. Something to work on, I guess.";
endText[3] = "Your score: 3 out of 8. Just about OK. Learn more by looking at the website again!";
endText[4] = "Your score: 4 out of 8. Not bad - was it a fluke?";
endText[5] = "Your score: 5 out of 8. Fairly good.";
endText[6] = "Your score: 6 out of 8. Good - have you done this before?";
endText[7] = "Your score: 7 out of 8. Great!";
endText[8] = "Your score: 8 out of 8. Fantastic - why not try one of the harder quizzes?";

