var fDesc=new Array(); fDesc[0] = "YeahSo SupportAndHanger is a program that provides you a quick and easy way to layout supports and hangers. It applies to all MEP curves including pipe, duct, cable tray and conduit. This tool contains manual, automatic layout and deletion function. You can also split the curves into fixed length to mimic the real world."; 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 = ''; } }