var fDesc=new Array(); fDesc[0] = "CADPIPE - Commercial Pipe is an application which provides mechanical contractors with the ultimate mechanical drafting tool. This AutoCAD based program provides you with all the tools to create 3D Models of Pressure Pipe, Waste Pipe, and Copper Tubing."; 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 = ''; } }