var fDesc=new Array(); fDesc[0] = "Find the sum is a first grade math facts program which is designed basically for kids. It is like a PowerPoint presentation with audio and video, a feminine voice solves the different sums. Due to its funny graphics it is funny for toddlers and kids that can use it to develop their math skills."; 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 = ''; } }