<!-- Paste this code into an external JavaScript file named: quiz_config.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: James Crooke :: http://www.cj-design.com */

var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

// To add more questions, just follow the format below.

questions[0] = "1) How long can a human being live without oxygen?";
choices[0] = new Array();
choices[0][0] = "Less than 60 seconds";
choices[0][1] = "32 minutes";
choices[0][2] = "A few minutes";
choices[0][3] = "An hour";
answers[0] = choices[0][2];

questions[1] = "2) How does a human get oxygen?";
choices[1] = new Array();
choices[1][0] = "From the food we eat";
choices[1][1] = "From the water we drink";
choices[1][2] = "From the evaporation of the ocean";
choices[1][3] = "From the air we breathe";
answers[1] = choices[1][3];

questions[2] = "3) Where does the oxygen come from?";
choices[2] = new Array();
choices[2][0] = "From trees and plants";
choices[2][1] = "From other people";
choices[2][2] = "From animals";
choices[2][3] = "From decaying vegetation";
answers[2] = choices[2][0];

questions[3] = "4) Can you name the largest oxygen producers?";
choices[3] = new Array();
choices[3][0] = "Grass and grapevines";
choices[3][1] = "Trees and algae";
choices[3][2] = "Animals and insects";
choices[3][3] = "Decaying vegetation and fertilizer";
answers[3] = choices[3][1];

questions[4] = "5) How do they produce oxygen?";
choices[4] = new Array();
choices[4][0] = "Through photosynthesis";
choices[4][1] = "Through osmosis";
choices[4][2] = "Through respiration";
choices[4][3] = "Through atmospheric permeation";
answers[4] = choices[4][0];

questions[5] = "6) What else do they produce in this process?";
choices[5] = new Array();
choices[5][0] = "Ozone";
choices[5][1] = "Other plants";
choices[5][2] = "Water";
choices[5][3] = "Edible organic matter - food";
answers[5] = choices[5][3];

questions[6] = "7) If photosynthesis were to stop, what would happen to life on earth?";
choices[6] = new Array();
choices[6][0] = "We would have to excercise more";
choices[6][1] = "It would be harder to breathe";
choices[6][2] = "We would have to use oxygen tanks";
choices[6][3] = "It would die";
answers[6] = choices[6][3];

questions[7] = "8) Does the production of oxygen affect the ozone layer?";
choices[7] = new Array();
choices[7][0] = "YES";
choices[7][1] = "NO";
answers[7] = choices[7][0];

questions[8] = "9) What other species of life on earth breaths oxygen like humans?";
choices[8] = new Array();
choices[8][0] = "Fungi";
choices[8][1] = "Plants";
choices[8][2] = "Animals";
choices[8][3] = "Viruses";
answers[8] = choices[8][2];

questions[9] = "10) Can you name a species that doesn’t like a lot of oxygen?";
choices[9] = new Array();
choices[9][0] = "Fish";
choices[9][1] = "Insects";
choices[9][2] = "Birds";
choices[9][3] = "Viruses";
answers[9] = choices[9][3];

questions[10] = "11) What kind of diseases do they cause in humans?";
choices[10] = new Array();
choices[10][0] = "Baldness";
choices[10][1] = "Nail fungus";
choices[10][2] = "Colds,Cancer and AIDS ";
choices[10][3] = "Allergies";
answers[10] = choices[10][2];

questions[11] = "12) What happens to them in an oxygen rich environment?";
choices[11] = new Array();
choices[11][0] = "They multiply";
choices[11][1] = "They mutate";
choices[11][2] = "They die";
choices[11][3] = "The become bacteria";
answers[11] = choices[11][2];

questions[12] = "13) Then do we need plenty of oxygen for everybody? Mommy, Daddy, Baby and all the Aunts and Uncles, and Grandma and Grandpa?";
choices[12] = new Array();
choices[12][0] = "YES";
choices[12][1] = "NO";
answers[12] = choices[12][0];

questions[13] = "14) Where did you say oxygen comes from?";
choices[13] = new Array();
choices[13][0] = "Water";
choices[13][1] = "Trees, plants and algae";
choices[13][2] = "Sunshine";
choices[13][3] = "Food";
answers[13] = choices[13][1];

questions[14] = "15) What would the world be like if there were no more trees and plants?";
choices[14] = new Array();
choices[14][0] = "Cold";
choices[14][1] = "No oxygen - no people";
choices[14][2] = "Full of animals";
choices[14][3] = "Overrun by insects";
answers[14] = choices[14][1];

questions[15] = "16) Have you ever planted a tree?";
choices[15] = new Array();
choices[15][0] = "YES";
choices[15][1] = "NO";
answers[15] = choices[15][0];

questions[16] = "17) Have you ever cut down a tree?";
choices[16] = new Array();
choices[16][0] = "YES";
choices[16][1] = "NO";
answers[16] = choices[16][1];

questions[17] = "18) What do you think about cutting down a whole forest and do you think this is good?";
choices[17] = new Array();
choices[17][0] = "Cutting down forests makes room for more people";
choices[17][1] = "It's good for the environment";
choices[17][2] = "It's bad for the environment";
choices[17][3] = "Cutting down forests makes more oxygen";
answers[17] = choices[17][2];

questions[18] = "19) What can we each do to help?";
choices[18] = new Array();
choices[18][0] = "Plant trees and other vegetation";
choices[18][1] = "Cut down trees";
choices[18][2] = "Dump industrial waste into streams, rivers, lakes and oceans";
choices[18][3] = "Drive more";
answers[18] = choices[18][0];

questions[19] = "20) If we have a lot of money, do we still need oxygen?";
choices[19] = new Array();
choices[19][0] = "YES";
choices[19][1] = "NO";
answers[19] = choices[19][0];

// response for getting 100%
response[0] = "Excellent, you really care about our Planet Earth!";
// response for getting 90% or more
response[1] = "Excellent, try again to get 100%!"
// response for getting 70% or more
response[2] = "Well done, that is a good score, can you do better?";
// response for getting over 50%
response[3] = "Nice one, you got more than half of the questions right, can you do better?";
// response for getting 40% or more
response[4] = "You got some questions right, you can do better!";
// response for getting 20% or more
response[5] = "You didn't do too well, why not try again!?";
// response for getting 10% or more
response[6] = "That was pretty poor!  Try again to improve!";
// response for getting 9% or less
response[7] = "Oh dear, I think you need to go back to school (or try again)!";