var fDesc=new Array(); fDesc[0] = "Travel Management System is a software application which provides organizations with a complete solution to manage business processes and data related to travel. It helps to plan a business tour and takes through a complete cycle up to reimbursements once the travel is complete. It is a helpful tool particularly for the business travelers."; 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 = ''; } }