function Allgemein()
{
document.write("<b>Alle Daten beziehen sich auf das Äquinotium des Datums.<br><br>");
document.write("Koordinaten des Saturns:</b><br>");
document.write("Rektaszension, Deklination, visuelle Helligkeit und Phasenwinkel:");
document.write("<table border=0 width=600>");
document.write("<tr>");
document.write("<td>");

RA9 = Math.round(RA*1200/Math.PI)/100;
if (RA9<0) RA9=RA9+24
RA9 = RA9 * 1.000001;
RA9H=Math.floor(RA9);
RA9M=RA9-RA9H;
RA9M = Math.floor(RA9M*60);
if (RA9M<10) 
{RA9MM = "0" + RA9M}
else
{RA9MM = RA9M ;}
document.write("&alpha; = " + RA9H + "<sup>h </sup>" + RA9MM + "<sup>m</sup>");
document.write("</td>");
document.write("<td>");
DE9=DE*180/Math.PI;
document.write("&delta; = " +(Math.round(DE9*10)/10).toFixed(1) + "°");
document.write("</td>");
document.write("<td>");
document.write("&Delta; = " + (Math.round(Abstand*1000)/1000).toFixed(3) + " AE");
document.write("</td>");
document.write("<td>");
document.write("m"+"<sub>v</sub>"+ " = " + (Math.round(mv*10)/10).toFixed(1));
document.write("</td>");
document.write("<td>");
i9 = Math.round(i*1800/Math.PI)/10;
document.write("i = "+ i9.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");
document.write("</table>");

document.write("<br>");
document.write("Scheinbarer Durchmesser von Äquator und Pol:");
document.write("<table border=0 width=650>");
document.write("<tr>");

document.write("<td>");
daequator = Math.round(DAequator*10)/10;
document.write("D"+"<sub>Ä</sub>"+" = "+ daequator.toFixed(1)+'"');
document.write("</td>");

document.write("<td>");
dpol = Math.round(DPol*10)/10;
document.write("D"+"<sub>P</sub>"+" = "+ dpol.toFixed(1)+'"');
document.write("</td>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("</tr>");
document.write("<tr>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("</tr>");

document.write("<tr>");
document.write("<td colspan=4>");
document.write("<b>Ringsystem:</b><br>scheinbare Durchmesser von Innenkante, Casinische Teilung, Außenkante (auch von der Sonne aus gesehen) und Schattenbildungen:");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");

document.write("<td>");
rix = Math.round(Rix*10)/10;
document.write("Rix = "+ rix.toFixed(1)+'"');
document.write("</td>");
document.write("<td>");

riy = Math.round(Riy*10)/10;
document.write("Riy = "+ riy.toFixed(1)+'"');
document.write("</td>");

document.write("<td>");
riys = Math.round(Riys*10)/10;
document.write("Riy"+"<sub>s</sub>"+" = "+ riys.toFixed(1)+'"');
document.write("</td>");

document.write("<td width=350>");
schatten="Innere Ringkante wirft keinen Schatten auf Planet";
sbreite = Math.round((riy-riys)*10)/20;
if (riys<riy) schatten='Innerer Ringkante wirft Schatten ' + sbreite + '" breit auf Planet';
document.write(schatten);
document.write("</td>");

document.write("</tr>");

document.write("<tr>");
document.write("<td>");
rcx = Math.round(Rcx*10)/10;
document.write("Rcx = "+ rcx.toFixed(1)+'"');
document.write("</td>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("<td>");
document.write("&#160;");
document.write("</td>");

document.write("</tr>");
document.write("<tr>");
document.write("<td>");
rax = Math.round(Rax*10)/10;
document.write("Rax = "+ rax.toFixed(1)+'"');
document.write("</td>");

document.write("<td>");
ray = Math.round(Ray*10)/10;
document.write("Ray = "+ ray.toFixed(1)+'"');
document.write("</td>");

document.write("<td>");
rays = Math.round(Rays*10)/10;
document.write("Ray"+"<sub>s</sub>"+" = "+ rays.toFixed(1)+'"');
document.write("</td>");

document.write("<td width=350>");
schatten="Äußere Ringkante wirft keinen Schatten auf Planet";
sbreite = Math.round((rays-ray)*10)/20;
if ((rays>ray) && (rays<dpol)) schatten='Äußere Ringkante wirft Schatten ' + sbreite + '" breit auf Planet';
document.write(schatten);
document.write("</td>");

document.write("</tr>");

document.write("<tr>");
document.write("<td>");


document.write("</td>");
document.write("</tr>");
document.write("</table>");

document.write("<br>");

document.write("<b>Neigung des Äquators und Positionswinkel der Rotationsachse von Sonne und Erde aus gesehen:</b>");

document.write("<table border=0 width=250>");

document.write("<tr>");
document.write("<td width=35>");
document.write("B&#160; = ");
document.write("</td>");
document.write("<td>");
b0 = Math.round(B0*1800/Math.PI)/10;
document.write(b0.toFixed(1)+"°");
document.write("</td>");

document.write("<td width=35>");
document.write("P&#160; = ");
document.write("</td>");
document.write("<td>");
p0 = Math.round(P0*1800/Math.PI)/10;
document.write(p0.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td width=35>");
document.write("B"+"<sub>s</sub>"+" = ");
document.write("</td>");
document.write("<td>");
b0s = Math.round(B0s*1800/Math.PI)/10;
document.write(b0s.toFixed(1)+"°");
document.write("</td>");

document.write("<td width=35>");
document.write("P"+"<sub>"+"s"+"</sub>"+" = ");
document.write("</td>");
document.write("<td>");
p0s = Math.round(P0s*1800/Math.PI)/10;
document.write(p0s.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("</table>");



document.write("<br>");



document.write("<b>Zentralmeridiane:</b><br>");
document.write("System I in Äquatornähe<br>System II nördlich und südlich des Äquator entsprechend ALPO<br>System III der Radiostrahlung<br>");



document.write("<table border=0 width=350>");
document.write("<tr>");
document.write("<td>");
zm1 = Math.round(Z1*1800/Math.PI)/10;
document.write("Z"+"<sub>"+"1"+"</sub>"+" = "+ zm1.toFixed(1)+"°");
document.write("</td>");
document.write("<td>");
zm2 = Math.round(Z2*1800/Math.PI)/10;
document.write("Z"+"<sub>"+"2"+"</sub>"+" = "+ zm2.toFixed(1)+"°");
document.write("</td>");
document.write("<td>");
zm3 = Math.round(Z3*1800/Math.PI)/10;
document.write("Z"+"<sub>"+"3"+"</sub>"+" = "+ zm3.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");
document.write("</table>");


}

function bahnen()
{
document.write("<b>Die Bahnlagen der Satelliten:</b><br>Neigungen und Positionswinkel der kleinen Achsen von Sonne und Erde aus gesehen:");

document.write("<table border=0>");

document.write("<tr>");

document.write("<td width=40>");
document.write("B"+"<sub>"+"4"+"</sub>"+" = ");
document.write("</td >");
document.write("<td width=55 align=right>");
b4 = Math.round(B4*1800/Math.PI)/10;
document.write(b4.toFixed(1)+"°");
document.write("</td>");

document.write("</td>");
document.write("<td width=60>");
document.write("</td>");

document.write("<td width=40>");
document.write("P"+"<sub>4</sub>"+" = ");
document.write("</td>");

document.write("<td width=55 align=right>");
p4 = Math.round(P4*1800/Math.PI)/10;
document.write(p4.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td width=40>");
document.write("B"+"<sub>"+"5"+"</sub>"+" = ");
document.write("</td>");

document.write("<td width=55 align=right>");
b5 = Math.round(B5*1800/Math.PI)/10;
document.write(b5.toFixed(1)+"°");
document.write("</td>");

document.write("</td>");
document.write("<td width=60>");
document.write("</td>");

document.write("<td width=40>");
document.write("P"+"<sub>"+"5"+"</sub>"+" = ");
document.write("</td>");

document.write("<td width=55 align=right>");
p5 = Math.round(P5*1800/Math.PI)/10;
document.write(p5.toFixed(1)+"°");
document.write("</td>");

document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");

document.write("<td width=40>");
document.write("B"+"<sub>"+"4s"+"</sub>"+" = ");
document.write("</td >");
document.write("<td width=55 align=right>");
b4s = Math.round(B4s*1800/Math.PI)/10;
document.write(b4s.toFixed(1)+"°");
document.write("</td>");

document.write("</td>");
document.write("<td width=60>");
document.write("</td>");

document.write("<td width=40>");
document.write("P"+"<sub>"+"4s"+"</sub>"+" = ");
document.write("</td>");

document.write("<td width=55 align=right>");
p4s = Math.round(P4s*1800/Math.PI)/10;
document.write(p4s.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td width=40>");
document.write("B"+"<sub>"+"5s"+"</sub>"+" = ");
document.write("</td>");

document.write("<td width=55 align=right>");
b5s = Math.round(B5s*1800/Math.PI)/10;
document.write(b5s.toFixed(1)+"°");
document.write("</td>");

document.write("</td>");
document.write("<td width=60>");
document.write("</td>");

document.write("<td width=40>");
document.write("P"+"<sub>"+"5s"+"</sub>"+" = ");
document.write("</td>");

document.write("<td width=55 align=right>");
p5s = Math.round(P5s*1800/Math.PI)/10;
document.write(p5s.toFixed(1)+"°");
document.write("</td>");

document.write("</tr>");
document.write("</table>");
}

document.write("<br><br>");

function Sathelio()
{


document.write("<b>Heliozentrische Koordinaten:</b>");
document.write("<table border=0>");
document.write("<th align=left>Name</th><th>x</th><th>y</th><th align=right>Länge in der Bahn</th>");
document.write("<tr>");
document.write("<td width=30>");
document.write("Tethys");
document.write("</td>");
document.write("<td align=right width=50>");
document.write((Math.round(x1s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=50>");
document.write((Math.round(y1s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=100>");
uu1 = Math.round(u1s*1800/Math.PI)/10;
if (uu1>360) uu1=uu1-360
document.write(uu1.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("Dione");
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(x2s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(y2s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=100>");
uu2 = Math.round(u2s*1800/Math.PI)/10;
if (uu2>360) uu2=uu2-360
document.write(uu2.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("Rhea");
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(x3s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(y3s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=100>");
uu3 = Math.round(u3s*1800/Math.PI)/10;
if (uu3>360) uu3=uu3-360
document.write(uu3.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("Titan");
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(x4s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(y4s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=100>");
uu4 = Math.round(u4s*1800/Math.PI)/10;
if (uu4>360) uu4=uu4-360
document.write(uu4.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("Japetus");
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(x5s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(y5s*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=100>");
uu5 = Math.round(u5s*1800/Math.PI)/10;
if (uu5>360) uu5=uu5-360
document.write(uu5.toFixed(1)+"°");
document.write("</td>");
document.write("</tr>");

document.write("</table>");
}

function Satgeo()
{
document.write("<b>Geozentrische Koordinaten:</b><br>Für Japetus zusätzlich Differenzen in Rektaszension und Deklination bezogen auf Saturn.");
document.write("<table border=0>");
document.write("<th align=left>Name</th><th>x</th><th>y</th><th align=right>Länge in der Bahn</th>");
document.write("<tr>");
document.write("<td width=30>");
document.write("Tethys");
document.write("</td>");
document.write("<td align=right width=50>");
document.write((Math.round(x1*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=50>");
document.write((Math.round(y1*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=100>");
ug1 = Math.round(u1*1800/Math.PI)/10;
if (ug1>360) ug1=ug1-360
document.write(ug1.toFixed(1)+"°");
document.write("</td>");

document.write("<td align=right width=100>");
document.write("&#160;");
document.write("</td>");
document.write("<td align=right width=100>");
document.write("&#160;");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("Dione");
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(x2*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(y2*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
ug2 = Math.round(u2*1800/Math.PI)/10;
if (ug2>360) ug2=ug2-360
document.write(ug2.toFixed(1)+"°");
document.write("</td>");
document.write("<td align=right>");
document.write("&#160;");
document.write("</td>");
document.write("<td align=right width=100>");
document.write("&#160;");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("Rhea");
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(x3*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(y3*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
ug3 = Math.round(u3*1800/Math.PI)/10;
if (ug3>360) ug3=ug3-360
document.write(ug3.toFixed(1)+"°");
document.write("</td>");
document.write("<td align=right>");
document.write("&#160;");
document.write("</td>");
document.write("</td>");
document.write("<td align=right>");
document.write("&#160;");
document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("Titan");
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(x4*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(y4*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
ug4 = Math.round(u4*1800/Math.PI)/10;
if (ug4>360) ug4=ug4-360
document.write(ug4.toFixed(1)+"°");
document.write("</td>");
document.write("<td align=right>");
document.write("&#160;");
document.write("</td>");
document.write("<td align=right>");
document.write("&#160;");
document.write("</td>");
document.write("</tr>");

document.write("<tr>");
document.write("<td>");
document.write("Japetus");
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(x5*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right>");
document.write((Math.round(y5*100)/100).toFixed(2));
document.write("</td>");
document.write("<td align=right width=100>");
ug5 = Math.round(u5*1800/Math.PI)/10;
if (ug5>360) ug5=ug5-360
document.write(ug5.toFixed(1)+"°");
document.write("</td>");
document.write("<td align=right>");
dRAj9 = Math.round(dRAj*10)/10;
document.write("&Delta;&alpha; = " + dRAj9.toFixed(1)+"s");
document.write("</td>");
dDEj9 = Math.round(dDEj*10)/10;
document.write("<td align=right>");
document.write("&Delta;&delta; = " + dDEj9.toFixed(1)+'"');
document.write("</td>");
document.write("</tr>");

document.write("</table>");

}
