/* 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) The northern area has ______.";
choices[0] = new Array();
choices[0][0] = "a) a forest";
choices[0][1] = "b) a salt lake";
choices[0][2] = "c) a volcano";
choices[0][3] = "d) mountains";
answers[0] = [1,2,3];

questions[1] = "2) In the Red Sea you should ______ .";
choices[1] = new Array();
choices[1][0] = "a) visit The Island of the Devil";
choices[1][1] = "b) try the local fish";
choices[1][2] = "c) go diving";
choices[1][3] = "d) avoid the water";
answers[1] = [0,2];

questions[2] = "3) What does she say about khat?";
choices[2] = new Array();
choices[2][0] = "a) You smoke it.";
choices[2][1] = "b) You chew it.";
choices[2][2] = "c) It makes you dizzy.";
choices[2][3] = "d) Everyone uses it.";
choices[2][4] = "f) It is banned.";
answers[2] = [1,2,3];

questions[3] = "4) She recommends shopping ______ .";
choices[3] = new Array();
choices[3][0] = "a) in the center";
choices[3][1] = "b) at the malls";
choices[3][2] = "c) at the hotels";
answers[3] = 0;

questions[4] = "5) She says you should try eating _____ .";
choices[4] = new Array();
choices[4][0] = "a) Arabic food";
choices[4][1] = "b) Indian food";
choices[4][2] = "c) Djiboutian food";
choices[4][3] = "d) official food";
answers[4] = [0,1,2];


// response for getting 100%
response[0] = "Excellent, top marks!";
// 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] = "Not so good! Maybe you should read the transcript.";



