var fDesc=new Array(); fDesc[0] = "Phantom 2 Vision Assistant Software enables you to control and configure your Phantom 2 Vision device. The program's interface offers you information about GPS location, altitude with the pitch, roll, yaw and vertical parameters, or the motor and battery state. Moreover, you can perform more advanced operations such as battery configuration, flight limits, gyroscope calibration and more."; 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 = ''; } }