var fDesc=new Array(); fDesc[0] = "PolarFinder helps you in determining Polaris position and subsequential the position of North Celestal Pole. The program calculates, just in time, the Sideral Local Medium Time and the position of the Polaris. The time and latitude for calculating Sideral Local Time are read directly from the System and the GPS present in the mobile device."; 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 = ''; } }