var fDesc=new Array(); fDesc[0] = "UP Studio allows you to print 3D models using UP3D printers. This program supports all the 3D printers from the developer, and lets to connect to them through WiFi interface. You may also convert 2D images to 3D and perform basic editing functions, with this application."; 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 = ''; } }