var fDesc=new Array(); fDesc[0] = "APM Log File Analyser is an open source application that allows you to analyse the log files produced by the ArduCopter firmware for an APM flight controller. Depending on the hardware available your power distribution and consumption can be monitored and recorded within the log files created by APM:Copter."; 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 = ''; } }