<!--       ***This part picks images***
var caption="test caption #1";
var image="";
var banners=0;
function writeCaption() {
document.getElementById('captionBox').innerHTML = 'Concept of the Ice, Cloud, and land Elevation Satellite (ICESat), launched January 2003. Image courtesy of Ball Aerospace.<br><br><br>';
   }
function cycle() {
  if (++banners > 4) banners=1; 
    loadcaptions();
	loadbanners();
	document.banner1.src = image;
    window.setTimeout('cycle();',6000); 
  }
function loadcaptions() {
   if (banners==1)
      {
      document.getElementById('captionBox').innerHTML = 'Concept of the Ice, Cloud, and land Elevation Satellite (ICESat), launched January 2003. Image courtesy of Ball Aerospace.<br><br><br>';
      }
   if (banners==2)
      {
	  document.getElementById('captionBox').innerHTML = 'Closeout of the ICESat spacecraft prior to installation on the launch vehicle (at Vanderburg AFB, 01 November 2002).  Image courtesy of Ball Aerospace.<br><br>';
      }
   if (banners==3)
      {
      document.getElementById('captionBox').innerHTML = 'ICESat spacecraft after installation on the Delta II rocket payload adapt to fitting with 1/2 the fairing in place (at Vanderburg AFB, 12 December 2002).  Image courtesy of Ball Aerospace.';
      }
   if (banners==4)
      {
      document.getElementById('captionBox').innerHTML = 'Image map over Hektoria Glacier, Antarctica of three ICESat/GLAS tracks from the eight-day missions. Image courtesy of NSIDC.<br><br><br>';
      }
    }
function loadbanners() {
   if (banners==1)
      {
      image="/data/icesat/images/slideshow/icesat_1.jpg";
      }
   if (banners==2)
      {
      image="/data/icesat/images/slideshow/icesat_2.jpg";
      }
   if (banners==3)
      {
      image="/data/icesat/images/slideshow/icesat_3.jpg";
      }
   if (banners==4)
      {
      image="/data/icesat/images/slideshow/icesat_4.jpg";
      }
	}

//-->

<!--       ***This part picks links***
var link = "index.html"
function urlswitch() {
   if (banners==1)
      {
      link = "/data/icesat/icesat.html";
      }
   if (banners==2)
      {
      link = "/data/icesat/icesat_bus.html";
      }
   if (banners==3)
      {
      link = "/data/icesat/icesat_fairing.html";
      }
   if (banners==4)
      {
      link = "/data/icesat/hektoria.html";
      }


return link;
}
//-->

