var fDesc=new Array(); fDesc[0] = "SchoolPerfect is an all-in-one solution for managing your school. With this app you can do grades, test scores, report cards, transcripts, attendance and accounting. It allows you to setup fourteen different accounts for each student and track balance due in each account. When you print the billing invoice for the student, all accounts are listed on the bill showing the balance due in each area."; 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 = ''; } }