


var ans = new Array;
var done = new Array;

var score = 0;
ans[1] = "c";


function Engine(question, answer) {
if (answer != ans[question]) {
if (!done[question]) {
done[question] = -1;
}

}
else {
if (!done[question]) {
done[question] = -1;
score++;
}

   }
}
	
function NextLevel () {

if (score >= 1 && score <= 2) {self.location="http://www.ghost-story.co.uk/quiz/paranormalmovietriviaquiz2.html";alert("Well Done, You certainly know your stuff. Proceed to Question Two.") } 


else {
self.location="http://www.ghost-story.co.uk";alert("Wrong! Try Again")
   }
}
