/* 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 is the defintion of APR?";
choices[0] = new Array();
choices[0][0] = "The fee you have to pay to open up your credit card.";
choices[0][1] = "The interest you're charged every time you use your card.";
choices[0][2] = "Your annual percentage rate, the rate the borrower will pay on the loan.";
choices[0][3] = "Your annual per rate fee.";
answers[0] = choices[0][2];

questions[1] = "2) If you lose your card, you should..";
choices[1] = new Array();
choices[1][0] = "Wait for it to arrive.";
choices[1][1] = "Call up the last place you were to see if they have it.";
choices[1][2] = "Try and find it.";
choices[1][3] = "Call the credit card company immediately and get a new card.";
answers[1] = choices[1][3];

questions[2] = "3) You should always..";
choices[2] = new Array();
choices[2][0] = "Pay your bill in full to avoid interest rates.";
choices[2][1] = "Pay your bill in portions to build credit.";
choices[2][2] = "Write your PIN on the back of your credit card.";
choices[2][3] = "Use your credit card for all purchases.";
answers[2] = choices[2][0];

questions[3] = "4) Your school grades are part of the application approval process.";
choices[3] = new Array();
choices[3][0] = "True";
choices[3][1] = "False";
answers[3] = choices[3][1];

questions[4] = "5) Bad marks are on your credit history for about 7 years.";
choices[4] = new Array();
choices[4][0] = "True";
choices[4][1] = "False";
answers[4] = choices[4][0];

questions[5] = "6) If you can't pay your credit card bill, you should...";
choices[5] = new Array();
choices[5][0] = "Not pay the bill anymore and avoid it";
choices[5][1] = "Borrow money from relatives and friends.";
choices[5][2] = "Contact the creditors immediately and work out a solution.";
choices[5][3] = "Sit back and wait.";
answers[5] = choices[5][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] = "Oh dear, I think you need to go back to school (or try again)!";// JavaScript Document
