Make your own free website on Tripod.com

http://spaceplace.jpl.nasa.gov/goes/goes_poes_orbits.htm
GOES Weather Satellites Helios Prototype Airplane 1, 2 Hubble Space Telescope 1, 2
<meta name="author" content="Diane Fisher, diane.k.fisher@jpl.nasa.gov">

<SCRIPT LANGUAGE="JavaScript">
<!-- // Starting comment to hide JavaScript code from Non-JavaScript Browsers
// Animation Toggle Script written by Eric Tauer for Dave Doody. 11/02/2000 Eric.P.Tauer@jpl.nasa.gov
// Define "Animation" prototype to be used by all Animation objects
function Animation(name,state,still_src,live_src)
{
this.name = name;     // name of image.
this.state = state;     // Indicates whether image is live or still.
this.still_src = still_src;     // source (URL) for still image.
this.live_src = live_src;     // source (URL) for animated image.
this.Toggle = Toggle;     // method (function) to switch animation from still to live and back.
}
// Create "Toggle" method (i.e., function) to switch animation's state. Each "Animation" object can utilize this function
// to switch back and forth between animated and still...
function Toggle()
{

if (this.state == "still")
{
// If true, image is currently still so bring it to life...
document.images[this.name].src = this.live_src;

// ...and make a note that it's now animated.
this.state = "live";
}

else
{
// If state is not "still", it's already animated and user wants it stopped. So make it still...
document.images[this.name].src = this.still_src;

// ...and make a note that it's now still.
this.state = "still";
}

}
// Create an "Animation" object for this page's first animatable image, Eros...

goes = new Animation();
goes.name = "goes";     // Note that this is the same name in HTML img tag.
goes.state = "still";     // Default for the image is still (un-animated).
goes.still_src = "goes_still.gif";
goes.live_src = "goes.gif";

// End definition of first object.

// Create an "Animation" object for this page's second animatable image, Eros...

poes = new Animation();
poes.name = "poes";     // Note that this is the same name in HTML img tag.
poes.state = "still";     // Default for the image is still (un-animated).
poes.still_src = "poes_still.gif";
poes.live_src = "poes.gif";

// End definition of second object.
// -->
</SCRIPT>

<script language="JavaScript">
<!--
// Define Variables

var rolloversOK = 0;

// Check browser version being used...

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if (browserName == "Netscape" && browserVer >= 3) rolloversOK = 1;
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) rolloversOK = 1;


// Create image objects, preload all active and inactive images.

if (rolloversOK) {

img1on = new Image ();
  img1on.src = "../toolbar_over-01-01.gif";
img2on = new Image ();
  img2on.src = "../toolbar_over-01-02.gif";

img1off = new Image ();
img1off.src="../toolbar-01-01.gif";
  img2off = new Image ();
img2off.src="../toolbar-01-02.gif";
}

function imgOn (imgName) {
if (rolloversOK) {
eval ("document [imgName].src = " + imgName + "on.src");
}
}

function imgOff (imgName) {
if (rolloversOK) {
eval ("document [imgName].src = " + imgName + "off.src"); }
}
// -->
</script>

<A href="javascript:goes.Toggle();">
<img name="goes" src="goes_still.gif" border="0" ALIGN="RIGHT" alt="Satellite in geostationary orbit is always above the same point on Earth."></A>

<A href="javascript:poes.Toggle();">
<img name="poes" src="poes_still.gif" border="0" alt="Earth rotates below a satellite in polar orbit."></A>

<a href="../index.shtml" onmouseover="imgOn('img1')" onmouseout="imgOff('img1')"><img name="img1" src="../toolbar-01-01.gif" width="78" height="100" border="0"></a>
<td><a href="../make.htm" onmouseover="imgOn('img2')" onmouseout="imgOff('img2')"><img name="img2" src="../toolbar-01-02.gif" width="79" height="100" border="0">