var fDesc=new Array(); fDesc[0] = "BrightPay is a program that allows you to manage the payroll of your employees. It comes with a simple interface that gives visual priority to the most common payroll tasks, and shows or hides various features only as they become relevant. The present version comes with 2015/16 rates, thresholds and calculations for PAYE, National Insurance contributions, Student Loan deductions, etc."; 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 = ''; } }