/* 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) What colour are Camargue horses when they are born?";
choices[0] = new Array();
choices[0][0] = "White";
choices[0][1] = "Beige";
choices[0][2] = "Black or dark brown";
choices[0][3] = "Dappled";
answers[0] = choices[0][2];

questions[1] = "2) What is a female horse under 4 years old known as?";
choices[1] = new Array();
choices[1][0] = "Filly";
choices[1][1] = "Mare";
choices[1][2] = "Colt";
choices[1][3] = "Doe";
answers[1] = choices[1][0];

questions[2] = "3) Can a horse breathe through its mouth?";
choices[2] = new Array();
choices[2][0] = "Yes";
choices[2][1] = "No";
answers[2] = choices[2][1];

questions[3] = "4) What is a rare coat colour for a horse?";
choices[3] = new Array();
choices[3][0] = "White (grey)";
choices[3][1] = "Pure black";
choices[3][2] = "Brown";
choices[3][3] = "Beige";
answers[3] = choices[3][1];

questions[4] = "5) How long is a normal pregnancy for a horse?";
choices[4] = new Array();
choices[4][0] = "2 months";
choices[4][1] = "6 months";
choices[4][2] = "12 months";
choices[4][3] = "11 months";
answers[4] = choices[4][3];

questions[5] = "6) Which breed of horse/pony listed here roams free in America?";
choices[5] = new Array();
choices[5][0] = "Clysdales";
choices[5][1] = "Mustangs";
choices[5][2] = "New forest ponies";
choices[5][3] = "Dartmoor pony";
answers[5] = choices[5][1];

// response for getting 100%
response[0] = "Excellent, top marks - you are a Horse Genius!";
// response for getting 90% or more
response[1] = "Almost there,keep on going!"
// 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] = "Stop horsing around, Go read up!";
// response for getting 9% or less
response[7] = "That was REALLY BAD!Try again";

