var fDesc=new Array(); fDesc[0] = "Remedy i9 is a billing, accounting, and stock management tool for retail medical shops. This program comes with a database of over 40000 medicines, which makes it easy to add your stock details using barcode-scanning. You can create different users with varying levels of operational rights."; 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 = ''; } }