<!--       ***This part picks images***
var caption="test caption #1";
var image="";
var banners=0;
function writeCaption() {
document.getElementById('captionBox').innerHTML = 'This image shows the annual climatology melt for 2007 from <a href="/data/nsidc-0218.html">Greenland Ice Sheet Melt Characteristics Derived from Passive Microwave Data</a>. Image courtesy of NSIDC.<br><br><br><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 = 'This image shows the annual climatology melt for 2007 from <a href="/data/nsidc-0218.html">Greenland Ice Sheet Melt Characteristics Derived from Passive Microwave Data</a>. Image courtesy of NSIDC.<br><br><br><br><br><br>';
      }
   if (banners==2)
      {
	  document.getElementById('captionBox').innerHTML = 'This map shows the spatial distribution of the rate of elevation change from the <a href="/data/nsidc-0223.html">Elevation Change of the Southern Greenland Ice Sheet from 1978-1988</a> data set. The data was acquired from Seasat and Geosat radar altimeter data. It shows a 2000 m surface elevation contour, the ice divide, and the locations of nine shallow and three deeper ice cores in the study area. Image courtesy of NSIDC.';
      }
	}
	
function loadbanners() {
   if (banners==1)
      {
      image="/data/parca/images/slideshow/2007annual_melt.jpg";
      }
   if (banners==2)
      {
      image="/data/parca/images/slideshow/uncorrected_map.jpg";
      }
	}

//-->

<!--       ***This part picks links***
var link = "index.html"
function urlswitch() {
   if (banners==1)
      {
      link = "/data/parca/images/slideshow/2007annual_melt.jpg";
      }
   if (banners==2)
      {
      link = "/data/docs/daac/nsidc0223_elevation_change/uncorrected_map.html";
      }

return link;
}
//-->

