var fDesc=new Array(); fDesc[0] = "GeometryViz3D is A tool that allows users to create a 3D geometry model that contains points and lines, and to examine the model by rotating it around the 3 axes and zooming in and out. The tool is WPF application developed in C# based on the Petzold.Media3D library."; 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 = ''; } }