var fDesc=new Array(); fDesc[0] = "PLength is an AutoCAD extension that displays the total length of multiple selected polylines and copies the value to Windows clipboard. Type PLength in the command line, select multiple polylines, and press enter to obtain the total length of the polylines. The value is automatically copied to windows clipboard to be pasted as needed."; 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 = ''; } }