var fDesc=new Array(); fDesc[0] = "CtrlCAD is a 2d source code C graphic library. It serves as a foundation for your own customized drawing applications (CAD/GIS). The library is furnished in source code C until August 25 2009. These components can be used with applications written in the popular Visual IDE languages such as Visual Basic, Delphi, C Builder and Visual C ."; 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 = ''; } }