var fDesc=new Array(); fDesc[0] = "TransDEM is a central pre-processing tool for route building based on geo data. TransDEM handles digital elevation models (DEM, height data), raster maps, plans and orthophotos and provides vector data conversion and basis editing features. TransDEM Trainz Edition is a dedicated version of TransDEM, enhanced with specific export functionality for Auran/N3V Trainz Simulator 12, Trainz Simulator 2010, Trainz Simulator 2009, Trainz Railroad Simulator 2006 and 2004."; 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 = ''; } }