\n");
}
function GetVoto(mark)
{
var tipo;
var str="";
tipo = GetTypeOfSubstitution(mark);
if (tipo == 2) {
return GetRemFromMark(voto);
}
else {
if (markPercentage==0) {
str += ""+voto+"/"+maxvoto;
}
else {
str += ""+voto+"/"+maxvoto+" ( "+Math.floor(voto*100/maxvoto)+"% )";
}
if (tipo == 1) {
str += " - "+GetRemFromMark(voto);
}
return str;
}
}
function PrintAnswer(n,textField)
{
var msg;
var explan = new initListOfRemark(n);
if (silent==1) {
if (PrintAnswer.arguments.length>1)
textField.value = "gekozen antwoord";
}
else {
if (valid[n]==1) {
if (PrintAnswer.arguments.length>1)
textField.value = "goede antwoord";
msg = "prima! goede antwoord";
}
else {
msg = "fout! het goede antwoord was " + getListOfRightAns(n);
if (PrintAnswer.arguments.length>1)
textField.value = msg;
msg = "" + msg + "";
}
PrintAnswerOnTopFrame(msg,explan,GetSoundName(n));
}
end_test = CountAnswers();
PrintStatusBar();
PrintBottomFrame();
if (end_test==1) {
window.status = "";
window.alert("je hebt alle vragen beantwoord");
EndQuiz();
}
return end_test;
}
function PrintOpenAnswer(n,outMsg) {
outMsg.value = "klaar met antwoorden";
end_test = CountAnswers();
PrintStatusBar();
PrintBottomFrame();
if (end_test==1) {
window.status = "";
window.alert("je hebt alle vragen beantwoord");
EndQuiz();
}
return end_test;
}
function PrintBooleanAnswer(n,textField)
{
var msg,msg2,msgFormat;
var explan= new initOneElementVector();
explan[0] = "";
if (silent==0) {
msg = "goede antwoorden " + nScore[n] + " / " + getNumAns(n);
textField.value = msg;
msgFormat = "" + msg + "";
if (nScore[n]
");
for (i=0;i