<!--
var YourAns = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)

function Engine(Question,Answer)
 {
 YourAns[Question] = Number(Answer)
 }

function ScoreQuiz()
 {
 var Question = 0
 var Score = 0

 for (Question = 0;Question < Number(document.getElementById("amt").lastChild.nodeValue);Question++)
  {
  document.getElementById("ans" + Question).lastChild.nodeValue = document.getElementById("cor" + Question).lastChild.nodeValue
  Score += YourAns[Question]
  }
 document.getElementById("score").lastChild.nodeValue = "Rank: " + Score + " - " + document.getElementById("res" + parseInt(Score / 10)).lastChild.nodeValue
 window.scroll(0,0)
 }
//-->