var fDesc=new Array(); fDesc[0] = "DatGen is a SimCity 4 .dat editor that aims to be a flexible, extensible, easy-to-use modding tool. DatGen features a unique, intuitive user interface that aims to group and streamline different .dat viewing and editing aspects. DatGen also features a cool and flexible plugin architecture that allows plugin tools with a wide variety of uses and functionality to be added to the program with relative ease."; 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 = ''; } }