var fDesc=new Array(); fDesc[0] = "Multiplication 101 lets you practice times tables focusing on your problem areas. When you get your times tables wrong it keeps track of the question and factors involved and makes sure to ask you questions that will help you learn in your problem areas. The more you struggle with your 7s the more frequently it will ask you them."; 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 = ''; } }