var fDesc=new Array(); fDesc[0] = "This program shows a clock face (for instance, showing one o'clock). It also shows the same time in a digital (1:00). The program voice says “one o'clock”. This program can be set to show different times by using the settings screen. This program will help the student learn to tell time."; 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 = ''; } }