<!--
document.write("<left>")
var calendario = new Date();
var	mese = calendario.getMonth();
var giorno = calendario.getDate();
var anno = calendario.getFullYear();
var nodate = 1;

// Gennaio = 0
// Febbraio = 1
// Marzo = 2
// Aprile = 3
// Maggio = 4
// Giugno = 5
// Luglio = 6
// Agosto = 7
// Settembre = 8
// Ottobre = 9
// Novembre = 10
// Dicembre = 11

{document.write('<font size="3" color="white">'+"   Data      TDT       Dm  (°)  Dl      r1    r2  p (°)  e  m1   m*   tm(s)  tw(h)"+'<br>')}
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/01/09 15:42:29  0.27677 1.18955   1.26  0.00  18   14 -0.9 -7.0   3836    4.5  Mercury   Moon  "+'<br>')}    
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/01/11 01:35:29  0.38916 1.20554  30.88  0.00  24   30  8.0 -8.7   3233    3.8  Neptune   Moon  "+'<br>')}    
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/01/19 23:40:27  1.11923 1.26665   0.69  0.00 180  146 -1.1        1512    2.9  Mars      Moon  "+'<br>')}    
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/02/07 10:44:48  0.26984 1.21682  31.03  0.00  24    4  8.0 -4.2   3294    3.8  Neptune   Moon  "+'<br>')}    
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/02/16 07:55:35  1.58229 1.25062   0.91  0.00 179  119 -0.3                2.4  Mars      Moon  "+'<br>')}    
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/03/05 14:09:49  0.17033 1.21637   0.98  0.00  24  -27  0.2 -8.4   3642    4.1  Mercury   Moon  "+'<br>')}    
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/03/05 19:08:41  0.21839 1.22120   1.50  0.00 205  -24 -3.9 -8.2   3660    4.1  Venus     Moon  "+'<br>')}    
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/03/05 21:48:33  0.17237 1.22328  30.95  0.00  24  -23  8.0 -8.1   3334    3.7  Neptune   Moon  "+'<br>')}    
if ((mese >= 0) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/03/15 03:13:34  1.64889 1.24433   1.17  0.00 175   99  0.4                2.3  Mars      Moon  "+'<br>')}    
if ((mese >= 1) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/04/02 09:14:41  0.00213 1.21886  30.68  0.00 204  -49  8.0 -9.7   3393    3.8  Neptune   Moon  "+'<br>')}    
if ((mese >= 1) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/04/12 06:00:28  1.17326 1.24494   1.45  0.00 169   83  0.9        1153    3.1  Mars      Moon  "+'<br>')}    
if ((mese >= 1) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/04/29 19:13:45  0.27213 1.20579  30.27  0.00 204  -76  7.9        3349    3.9  Neptune   Moon  "+'<br>')}    
if ((mese >= 2) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/05/10 13:53:42  0.23394 1.24611   1.71  0.00 163   70  1.2        3395    3.7  Mars      Moon  "+'<br>')}    
if ((mese >= 2) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/05/27 02:44:29  0.55851 1.19201  29.82  0.00 204 -102  7.9        3068    3.8  Neptune   Moon  "+'<br>')}    
if ((mese >= 3) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/06/08 01:29:19  1.00229 1.24298   1.95  0.00 337   59  1.4        2053    3.3  Mars      Moon  "+'<br>')}    
if ((mese >= 3) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/06/23 08:07:21  0.75139 1.18511  29.40  0.00 204 -128  7.9        2688    3.7  Neptune   Moon  "+'<br>')}    
if ((mese >= 4) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/07/03 14:06:04  1.66885 1.28442   1.72  0.00 167    7 -3.9 -5.7           2.3  Venus     Moon  "+'<br>')}    
if ((mese >= 4) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/07/20 12:47:16  0.79586 1.18715  29.12  0.00 204 -155  7.8        2562    3.7  Neptune   Moon  "+'<br>')}    
if ((mese >= 5) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/08/01 15:37:18  1.23813 1.25980   1.35  0.00 337    4 -1.6 -3.7  701.8    3.3  Mercury   Moon  "+'<br>')}    
if ((mese >= 5) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/08/01 15:37:18  1.23813 1.25980   1.35  0.00 337    4 -1.6 -3.7  701.8    3.3  Mercury   Moon  "+'<br>')}    
if ((mese >= 5) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/08/16 18:16:52  0.73636 1.19370  29.03  0.00 204  178  7.8        2698    3.7  Neptune   Moon  "+'<br>')}    
if ((mese >= 6) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/09/13 01:22:13  0.69374 1.19725  29.15  0.00 204  151  7.8        2793    3.7  Neptune   Moon  "+'<br>')}    
if ((mese >= 6) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/09/30 10:25:37  1.03936 1.18116   0.68  0.00 335   13  1.1 -6.9   1561    3.3  Mercury   Moon  "+'<br>')}    
if ((mese >= 7) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/10/10 09:43:01  0.78239 1.19249  29.46  0.00 204  124  7.9        2611    3.7  Neptune   Moon  "+'<br>')} 
if ((mese >= 8) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/11/03 22:42:05  1.89850 1.15528   5.47  0.00  12   65 -2.0                1.9  Jupiter   Moon  "+'<br>')}    
if ((mese >= 8) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/11/03 22:42:05  1.89850 1.15528   5.47  0.00  12   65 -2.0                1.9  Jupiter   Moon  "+'<br>')}    
if ((mese >= 9) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/12/01 15:35:04  0.77859 1.14821   1.00  0.00 195   43 -4.0 -9.3   2949    4.4  Venus     Moon  "+'<br>')}    
if ((mese >= 9) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/12/01 15:23:01  1.25100 1.15247   5.81  0.00  14   42 -1.9 -9.3           3.5  Jupiter   Moon  "+'<br>')}    
if ((mese >= 9) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/12/04 02:02:07  1.30809 1.16846  30.36  0.00 204   69  7.9                3.2  Neptune   Moon  "+'<br>')}    
if ((mese >= 9) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/12/29 03:46:00  0.63384 1.14756   1.14  0.00 196   18 -0.6 -7.5   3383    4.6  Mercury   Moon  "+'<br>')}    
if ((mese >= 9) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/12/29 09:27:36  0.59877 1.15398   6.03  0.00  17   20 -1.9 -7.7   3161    4.1  Jupiter   Moon  "+'<br>')}    
if ((mese >= 9) && (anno == 2008)) {document.write('<font size="3" color="white">'+"2008/12/31 09:15:44  1.52601 1.16354  30.75  0.00 204   42  8.0 -9.3           2.9  Neptune   Moon  "+'<br>')}    

{document.write('<font size="3" color="white">'+" "+'<br>')}
{document.write('<font size="3" color="white">'+"Date year/month/day"+'<br>')}
{document.write('<font size="3" color="white">'+"Dm = minima distance in degrees between the centers"+'<br>')}
{document.write('<font size="3" color="white">'+"Dl = limiting parameter, if Dm is lower than Dl there is an occultation"+'<br>')}
{document.write('<font size="3" color="white">'+"R1 = distance in U.A. of the first body from the Earth"+'<br>')}
{document.write('<font size="3" color="white">'+"R2 = distance in U.A. of the second body from the Earth"+'<br>')}
{document.write('<font size="3" color="white">'+"P = position angle between bodies, in degrees"+'<br>')}
{document.write('<font size="3" color="white">'+"e = elongation, in degrees"+'<br>')}
{document.write('<font size="3" color="white">'+"m1 = magnitude of the first body"+'<br>')}
{document.write('<font size="3" color="white">'+"m2 = magnitude of the second body"+'<br>')}
{document.write('<font size="3" color="white">'+"tm = if present, one of the body is occulted maximum for x seconds"+'<br>')}
{document.write('<font size="3" color="white">'+"tw = semiperiod in hours of minima distance of 2°"+'<br>')}

//
if ((mese == 0) && (giorno <= 0)) {window.alert('NON PERDETEVI LA CONGIUNZIONE STRETTA TRA MARTE, LUNA E BETA TAU DALLA SERA DEL 9')}

// -->


