var fDesc=new Array(); fDesc[0] = "Super Invoice is a lightweight program that allows you to generate parent/child records in a single form in a fast and flexible way. The Super Invoice template is designed to support "in-place" data-entry on a list box. The entire transaction (the parent and all children) are held in memory until the [OK] button is pressed, which is much superior to the regular "Form with a Browse" implementation."; 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 = ''; } }