var fDesc=new Array(); fDesc[0] = "A program to look at the structure of the .im mesh files used in Trainz. Helpful to mesh exporter developers. The mesh contents are parsed and displayed in english. (no graphics) This program now has no edit functions; too much risk of copyright abuse/misuse. Please note the change of name to Mesh Text Viewer from Mesh Viewer. Auto-correction of attachments with "_cull" to ":cull" 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 = ''; } }