<!-- Wenn Du das liest, brauchst Du Netscape 4.0! Mit Netscape Gold geht es nicht! -->

var ans = new Array;
var done = new Array;
var score = 0;
ans[1] = "c";
ans[2] = "a";
ans[3] = "b";
ans[4] = "b";
ans[5] = "d";
ans[6] = "c";
ans[7] = "c";
ans[8] = "c";
ans[9] = "d";
ans[10] = "a";
function Engine(question, answer) {
if (answer != ans[question]) {
if (!done[question]) {
done[question] = -1;
alert("Falsch!\n\nDeine Punktzahl: " + score);
}
else {
alert("Nicht fudeln! Du hast schon geantwortet!");
   }
}
else {
if (!done[question]) {
done[question] = -1;
score++;
alert("Richtig!\n\nDeine Punktzahl: " + score);
}
else {		
alert("Du hast schon einmal geantwortet!");
      }
   }
}
	
function NextLevel () {
if (score >= 10) {
alert("Super! Alles richtig!");
}
if (score >= 6 && score <= 9) {
alert("Mehr als Hälfte richtig! Doch versuch es ruhig noch einmal!")
}

else {
alert("So nicht! Weniger als die Hälfte richtig!")
   }
}




