var fDesc=new Array(); fDesc[0] = "A program to render textured meshes for Trainz and to display complete traincars. The views can be zoomed and rotated to view the object from any angle. If textures are not present the object is rendered in the diffuse colour with shadows. A mesh data display has been added showing poly count and mesh size, and bump mapped objects can be rendered, with attachments and bumps separately viewed. A texture locating option has been added, along with graduated axes in the mesh view. Complete traincars are displayed on a length of track which can be adjusted to suit the gauge of the traincar. Bump Effect adjustment added."; 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 = ''; } }