var fDesc=new Array(); fDesc[0] = "SWLib is the library that allows you to show surface in 3D View window. You can control that view manually by mouse and from other application written in C/C , C#, Visual Basic, VBA or Delphi.You can try to display your surface by using it. That demo has no limits for grid size."; 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 = ''; } }