var fDesc=new Array(); fDesc[0] = "In this game you are Eric, a troublesome schoolboy, and your task is to steal your report card out of the school safe in the staff room so that you don't get into trouble. To do this, you need to collect the combination letters for the safe and write them on a blackboard - not such an easy task seeing as one letter of the four letter combination is held by each of the teachers."; 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 = ''; } }