var fDesc=new Array(); fDesc[0] = "ATPL Autoflight is a computer based training (CBT) course that teaches the subject of automatic flight up to the standard required by the EASA ATPL syllabus. There are lessons explaining the design, construction and operation of an aeroplane’s flight director, automatic pilot and automatic throttle systems, as well as lessons describing the operation and use of automatic landing systems, along with information relating to the associated ICAO regulations."; 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 = ''; } }