var fDesc=new Array(); fDesc[0] = "CCDCalc allows you to select from a wide range of telescopes and cameras and visualize how they work together to image the sky. Includes nearly every camera made, and a wide selection of telescopes. This is a Visual Basic program that you can install on your computer, and is much more full-featured and flexible than the original online version."; 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 = ''; } }