"); document.write("
Respuestas...
"); var currentScore=0; for (var y=0; y<18;y++) { tempAns= new String; tempCorrect= new String; tempAns= Answers[y]; tempCorrect= CorrectAns[y]; if (tempAns.toLowerCase()==tempCorrect.toLowerCase()) { currentScore=currentScore+1; } } document.write("Contestaste correctamente "+currentScore.toString()+" de 18.");
for (var y=0; y<18;y++) {
var realy=y+1;
tempAns= new String;
tempCorrect= new String;
tempAns= Answers[y];
tempCorrect= CorrectAns[y];
if (tempAns.toLowerCase()==tempCorrect.toLowerCase()) {
document.write(" Pregunta "+realy.toString()+"
Pregunta "+realy.toString()+" - Incorrecto. Respuesta correcta era: "+Explanation[y]+"
"); } } document.write('"); document.write("