var fDesc=new Array(); fDesc[0] = "Terrafirma is mapping tool for Terraria. It gives block information in the statusbar as you hover, lets you zoom and pan around your map, and can save your map out as a png. New features include textures and lighting. If "Use Textures" is grayed out, it's because the program can't find your Terraria directory."; 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 = ''; } }