var totalQuestions=12; var points=0; var curQuestion=0; var resultsPointsMin = new Array(12, 46, 91, 131, 0); var resultsPointsMax = new Array(45, 90, 130, 180, 0); function NextQuestion(obj){ if (obj) { for(i = 0; i < obj.points.length; i++) { if(obj.points[i].checked) points += parseInt(obj.points[i].value); } } window.parent.document.getElementById(\'d\'+curQuestion).style.display="none"; if (curQuestion