var fDesc=new Array(); fDesc[0] = "tConfig is a content creation tool for Terraria, which allows you change existing items or create entirely new ones. Modding with tConfig was carefully designed so that you don't need any programming knowledge to get started, though it will help a lot. For the more advanced users, tConfig also allows you create scripts written in C# which are seamlessly integrated with items and other game objects which allow you to really push the game to its limits."; 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 = ''; } }