var fDesc=new Array(); fDesc[0] = "CLEA Exercise - Transits of Venus and Mercury is a program that introduces students to the rare phenomenon of planetary transits (of Venus and Mercury) and demonstrates the concept of parallax. It allows you to to observe images of the transit and use measurements of those images of the sun from three terrestrial sites to determine the number of kilometers in an Astronomical Unit."; 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 = ''; } }