<!-- script start
// check123.js
// Result boxes
function WrongAlt(strAlt,strWrongAlt)
{
    // Chain correct answers where user was wrong
    //
    if( strWrongAlt == "")
    strWrongAlt += strAlt;
    else
    strWrongAlt += "\n" + strAlt;

    return strWrongAlt;
}

function EvalMessage(strLvl,nSumCorrect,strWrongAlt,nMax)
{
    // Display result dialogue
    //
    if( strWrongAlt == "")
        alert(strLvl +"\n\nAll answers correct!");
    else
        alert(strLvl + "\n\nNumber of correct answer[s]:\n" + nSumCorrect + " (" + nMax + ")\n\n" + "Shall be on wrong answer[s]:\n" + strWrongAlt);
}
// script end -->
