var fDesc=new Array(); fDesc[0] = "Draft IT is an easy to use 2D CAD application that enables you to create accurate and professional level drawings for your project. You can completely customize and set your own measurement units to suit your specification. Alternatively you can snap to end points, mid points, intersections etc. where DrafIT identifies the type of snap as the cursor passes over it."; 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 = ''; } }