Dynamic invocation of Osamu Ajiki & Ron Baalke's OrbitViewer applet

Rather than having to create the appropriate HTML for the OrbitViewer applet in a static web page, this page dynamically invokes the applet near the end of the current page given input via a form. Moreover, orbital element text can be obtained from a Minor Planet Centre (MPC) web page and the form data populated automatically, an example of which is given below. Object invocation also adds to a popup menu for later retrieval of orbital elements. Browser cookies are used to persist menu items with an expiry of 90 days.


Applet's Size
Width
Height
Asteroid's orbital elements
Name
Epoch
M
e
a
Peri
Node
Incl
Eqnx
Orbital element text pasted from IAU MPC web site, e.g. Vesta's as shown here.


Tested against:

Note that the popup menu functionality is currently broken.

For more ECMAScript adventures, see here.



Created by David Benn: dbenn@computer.org