var fDesc=new Array(); fDesc[0] = "The program helps you track job expenses in real time, identify cost overruns effectively and maximize profits. It tracks construction costs by category and enables the owner or manager to know where the project stands as far as profit and loss, take measures to avoid soft spots and pitfalls."; 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 = ''; } }