var fDesc=new Array(); fDesc[0] = "The activity is about a language for describing pictures. You will use a programming environment that lets you type an expression in the language, and shows you the picture that it describes. At first, the pictures you will make will be simple combinations of stick figures: three men in a row, or one man supporting two smaller men. But gradually, the pictures will get more complicated, and soon we will be describing pictures like the one on the entry page of this web site."; 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 = ''; } }