var fDesc=new Array(); fDesc[0] = "Xin Inventory 2.0 is a comprehensive, handy, cost effective and network ready invoice software with stock control features. It helps in stock control and speed up billing process by creating quotation, invoice, PO in minutes and email to customer."; 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 = ''; } }