var fDesc=new Array(); fDesc[0] = "Sunrays is a program for photographers and cinematographers that shows the sun’s position during the course of a day. It uses Google Earth to display the positions. The direction of the sun can be displayed as a 2D projection or as 3D vectors. The 3D option allows you to see obstacles such as tall buildings already in advance. The full version allows 2D and 3D display in Google Earth as well as SVG and PNG images."; 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 = ''; } }