var fDesc=new Array(); fDesc[0] = "A real-life problem is presented like A couple with three children want to have a quiet weekend together. What is the best way to ensure that? The user chooses between a list of four options that could theoretically all be solutions like: Tranquilize the children; Send the children outside to play; Tell the children to watch TV all weekend; and Send the children to a relative’s home. The user chooses the most likely and ethical solution. There are 150 different situations, timed responses, large easy- to-read screens, cumulative progress reports, flexibility to adjust the number of incorrect responses before the correct answer is sup- plied."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }