var fDesc=new Array(); fDesc[0] = "The purpose of this tool is to allow the user to setup the ArduCopter before it's first flight and to quickly adjust settings for desired flight characteristics. There are user programmable values such as PID control loop values and the Transmitter Factor that can be adjusted and stored to the ArduCopter's EEPROM (static memory).The user will be able to graphically observe correct operation of the sensors, transmitter commands and motor control of the quadrocopter."; 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 = ''; } }