var fDesc=new Array(); fDesc[0] = "GrowFX is a plug-in for Autodesk 3ds Max allowing you to build any plants and trees. You can do it by distributing either by specified start points, or from a surface of an object. In case of distribution from an object surface, values of some parameters can be controlled by texture maps. For example, maps can control density of plants, height of plants, etc."; 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 = ''; } }