var fDesc=new Array(); fDesc[0] = "ShapeMG is a program that can change a 2D photo into 3D image. This application includes various templates such as 3D face or man/woman; according to the relative positions on the template, you just have to select the landmarks on your image; this program will do the rest. Supported 3D output formats are OBJ, STL, WRL, VIC, and ITM."; 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 = ''; } }