var fDesc=new Array(); fDesc[0] = "This program helps you find the position of the Sun and Moon from any location at any time between 1900 and 2049. This application is designed especially for photographers although it has many other potential users. You can know the perfect timing, lighting, and positioning around the globe."; 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 = ''; } }