var fDesc=new Array(); fDesc[0] = "A small program for an Arduino compatible micro controller that controls the flight of a model (water-) rocket. It does control the preparation of the recovery system, has automatic launch detection, an apogee detection system, parachute deployment, and safety timers. All this is managed with the most simple one button and one LED user interface."; 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 = ''; } }