var fDesc=new Array(); fDesc[0] = "A Math Square is a large square divided into four small squares. There are four numbers in a Math Square. Two single digits are placed in the top two boxes, the sum of the two top numbers is placed in the lower left square and the product of the two top numbers in placed in the lower right square. By providing two of the four numbers as a problem, students are required to solve for the two empty squares."; 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 = ''; } }