var fDesc=new Array(); fDesc[0] = "With performance Guru we have put together a package that is the best combination of products and services found on the market today. Used on a daily basis by operators worldwide, Guru should be in every Flight Bag. In addition to this, you have instant access to an engine failure Take-off procedure for the runway should you ever need it"; 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 = ''; } }