var fDesc=new Array(); fDesc[0] = "This version has the limitation that it cannot control hardware for battery testing. As a substitute the software has a simulation model that is used to simulate the test system and a connected battery. The following batteries are supported in the simulation model: Lead-acid, Li-Ion, NiCd, NiMH und double layer capacitors."; 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 = ''; } }