var fDesc=new Array(); fDesc[0] = "Bve trainsim 5 is a train simulation based on numerous data files. The software allows full simulation of train data that are stored in database files. You also have a graphical simulation of the current run and meanwhile you're running the test you can change settings and customize options."; 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 = ''; } }