<!--       ***This part picks images***
var caption="test caption #1";
var image="";
var banners=0;
function writeCaption() {
document.getElementById('captionBox').innerHTML = 'AVHRR image of West Ross Ice Shelf, Antarctica on 27 January 2001. Image courtesy of NSIDC\'s <a href="/data/iceshelves_images/index.html">Images of Antarctic Ice Shelves</a> Web site.<br><br><br><br>';
   }
function cycle() {
  if (++banners > 4) banners=1; 
    loadcaptions();
	loadbanners();
	document.banner1.src = image;
	document.banner1.alt = alt;
    window.setTimeout('cycle();',6000); 
  }
function loadcaptions() {
   if (banners==1)
      {
      document.getElementById('captionBox').innerHTML = 'AVHRR image of West Ross Ice Shelf, Antarctica on 27 January 2001. Image courtesy of NSIDC\'s <a href="/data/iceshelves_images/index.html">Images of Antarctic Ice Shelves</a> Web site.<br><br><br><br>';
      }
   if (banners==2)
      {
	  document.getElementById('captionBox').innerHTML = 'Artist\'s conception of a polar-orbiting operational environmental (POES) satellite carrying the AVHRR instrument. Many POES satellites are managed and maintained by NOAA. Image courtesy of NOAA. All rights reserved.<br><br>';
      }
   if (banners==3)
      {
      document.getElementById('captionBox').innerHTML = 'AVHRR image acquired on 14 January 1999 showing the once intact Wilkins Ice Shelf, Antarctica. View pre- and post-collapse images of the ice shelf at the <a href="/data/iceshelves_images/index.html">Images of Antarctic Ice Shelves</a> Web site. Image courtesy of NSIDC.<br><br>';
      }
   if (banners==4)
      {
      document.getElementById('captionBox').innerHTML = 'AVHRR Spatial Coverage Map of the Northern Hemisphere from the <em><a href="/data/nsidc-0022.html">AVHRR Polar 1 km Level-1B Data Set</a></em>. Blue boxes indicate individual AVHRR scenes for a single day. Image courtesy of NSIDC.<br><br><br>';
	  }
	}
function loadbanners() {
   if (banners==1)
      {
      image="/data/avhrr/images/slideshow/avhrr_west_ross_1km.jpg";
	  alt="AVHRR Polar 1km image of West Ross Ice Shelf, Antarctica on 27 January 2001";
      }
   if (banners==2)
      {
      image="/data/avhrr/images/slideshow/poes_satellite.jpg";
	  alt="An artist\'s conception of a polar-orbiting operational environmental (POES) satellite carrying the AVHRR instrument";
      }
   if (banners==3)
      {
      image="/data/avhrr/images/slideshow/wilkins.990114.vis.jpg";
			alt="AVHRR visible channel image of the Wilkins Ice Shelf, Antarctica, acquired on 14 January 1999";
	  }
	if (banners==4)
      {
      image="/data/avhrr/images/slideshow/north_hem_avhhr_daily_coverage.jpg";
			alt="AVHRR Spatial Coverage Map of the Northern Hemisphere";
      }
	}

<!--       ***This part picks links***
var link = "/data/avhrr/images/slideshow/avhrr_west_ross_1km_highres.jpg"
function urlswitch() {
   if (banners==1)
      {
      link = "/data/avhrr/images/slideshow/avhrr_west_ross_1km_highres.jpg";
	  alt="AVHRR West Ross Ice Shelf high-resolution image";
      }
   if (banners==2)
      {
      link = "/data/avhrr/images/slideshow/poes_satellite_highres.jpg";
	  alt="POES satellite high-resolution artist conception";
      }
   if (banners==3)
      {
      link = "/data/avhrr/images/slideshow/wilkins.990114.vis_highres.jpg";
	  alt="AVHRR Wilkins Ice Shelf high-resolution image";
      }
   if (banners==4)
      {
      link = "/data/docs/daac/nsidc0022_avhrr_l1b.gd.html#9.1";
	  alt="AVHRR Spatial Coverage Map of Northern Hemisphere high-resolution";
      }
return link;
}
//-->

//-->

