var fDesc=new Array(); fDesc[0] = "The program can be used to simulate electric drive trains. You can select the ratings of motors, batteries, wheels, etc. The power you'll get out of a system depends on the motor, batteries, and the electrical resistance of the speed controller and wiring. EDTSim takes all these factors into account and tells you the power of all the components combined."; 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 = ''; } }