var fDesc=new Array(); fDesc[0] = "Hompath Edge is a powerful homeopathic application that provides a database containing the latest homeopathic repertory and materia medica books. The Edge edition is specially designed for junior students, and offers important information on clinical examination, 111 cases and 1099 remedies."; 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 = ''; } }