var fDesc=new Array(); fDesc[0] = "ModelMagic3D is a Microsoft Foundation Class (MFC) Multi-Document application which uses an OpenGL Object Oriented Programming library, (glOOP) for creating OpenGL rendered 3D Scenes. ModelMagic3D, is an easy to use, interactive, 3D modeling package used to create OpenGL scenes rendered in real-time. Build 2D and 3D objects from pre-defined primitives, add text, lighting, shadows, audio effects and animation."; 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 = ''; } }