var fDesc=new Array(); fDesc[0] = "DeeControl software is used for the preparation of print jobs for 3D printers. Its primary function is transforming files containing 3D models created by third party software into GCode files used as data sources for 3D printers. The instructions contained in the GCode file are then processed by the printer in order to produce a 3D model."; 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 = ''; } }