var fDesc=new Array(); fDesc[0] = "CheckBook is a Windows application that allows users to balance, print and store their checking account transactions. Transactions can be added, edited or removed anywhere in the list. It allows you to easily update and balance your checking account. You can also create a statement for your account to compare with your bank's monthly statement."; 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 = ''; } }