<!--       ***This part picks images***
var caption="test caption #1";
var image="/data/radarsat/images/slideshow/radarsat.jpg";
var banners=0;
function writeCaption() {
document.getElementById('captionBox').innerHTML = 'Artist\'s conception of the RADARSAT-1 Satellite.  Image courtesy of the Canadian Space Agency.<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 = 'Artist\'s conception of the RADARSAT-1 Satellite.  Image courtesy of the Canadian Space Agency.<br><br>';
      }
   if (banners==2)
      {
	  document.getElementById('captionBox').innerHTML = 'RAMP Antarctic Mosaic Overview compiled by images taken from September to October 1997.  Image courtesy of NSIDC.<br>';
      }
   if (banners==3)
      {
      document.getElementById('captionBox').innerHTML = 'Map of RAMP Antarctic image Swaths.  Image courtesy of the Byrd Polar Research Center.<br><br>';
      }
   if (banners==4)
      {
      document.getElementById('captionBox').innerHTML = 'RADARSAT high resolution image of Amundsen-Scott Station at the South Pole.  Image courtesy of the Canadian Space Agency.';
	  }
	}
function loadbanners() {
   if (banners==1)
      {
      image="/data/radarsat/images/slideshow/radarsat.jpg";
      }
   if (banners==2)
      {
      image="/data/radarsat/images/slideshow/mosaic_5kmw.jpg";
      }
   if (banners==3)
      {
      image="/data/radarsat/images/slideshow/rampswaths.jpg";
      }
   if (banners==4)
      {
      image="/data/radarsat/images/slideshow/rsat1_southpr1_detail.jpg"
	  }
	}

<!--       ***This part picks links***
var link = "/data/radarsat/images/slideshow/radarsat_big.jpg"
function urlswitch() {
   if (banners==1)
      {
      link = "/data/radarsat/images/slideshow/radarsat_big.jpg";
	  alt="RADARSAT-1 satellite";
      }
   if (banners==2)
      {
      link = "/data/radarsat/ramp_basics/mosaic_5kmw.html";
	  alt="RAMP Mosaic overview";
      }
   if (banners==3)
      {
      link = "http://bprc.osu.edu/rsl/radarsat/radarsat.html";
	  alt="RAMP swath map";
      }
   if (banners==4)
      {
      link = "/data/radarsat/images/slideshow/southpr1.jpg";
	  alt="RADARSAT image of Amundsen-Scott Station at the South Pole";
      }
return link;
}
//-->


