function check(question, answer){
  if(questions[question][answer] || questions[question][answer] == ""){
    str = "<IMG SRC=\"../images/Correct.gif\" align=\"left\">";
    
    if(questions[question][answer] != ""){
      str += "<span class=\"middle\">" + questions[question][answer] + "</span>";
    } else {
      str += "<span class=\"middle\">Braw!</span>";
    }

    theobjs[question].replace_html(str);
  } else {
    str = "<IMG SRC=\"../images/Wrong.gif\" align=\"left\">";

    str += "<span class=\"middle\">Nae wey!<br/><br/> Hae anither shot.</span>"; 

    theobjs[question].replace_html(str);
  }
}
