<!--       ***This part picks images***
var caption="test caption #1";
var image="";
var banners=0;
function writeCaption() {
document.getElementById('captionBox').innerHTML = 'Monthly time-series plot of the total Arctic sea ice extent from 1978 to 2007. Data are derived from the <a href="/data/nsidc-0051.html">Sea Ice Concentrations from Nimbus-7 SMMR and DMSP SSM/I Passive Microwave Data</a>. Image courtesy of NSIDC.<br><br>';
   }
function cycle() {
  if (++banners > 2) banners=1; 
    loadcaptions();
	loadbanners();
	document.banner1.src = image;
    window.setTimeout('cycle();',6000); 
  }
  
  
function loadcaptions() {

   if (banners==1)
      {
	  document.getElementById('captionBox').innerHTML = 'Monthly time-series plot of the total Arctic sea ice extent from 1978 to 2007. Data are derived from the <a href="/data/nsidc-0051.html">Sea Ice Concentrations from Nimbus-7 SMMR and DMSP SSM/I Passive Microwave Data</a>. Image courtesy of NSIDC.<br><br>';
      }
   if (banners==2)
      {
      document.getElementById('captionBox').innerHTML = 'Ocean mask of the maximum sea ice extent during the month of September from 1979 to 2007. The ocean masks were derived for each month from the <a href="/data/nsidc-0051.html">Sea Ice Concentrations from Nimbus-7 SMMR and DMSP SSM/I Passive Microwave Data</a>. Image courtesy of NSIDC.';
      }
    }
	
	
function loadbanners() {

   if (banners==1)
      {
      image="/data/smmr_ssmi_ancillary/images/slideshow/total_arctic_1978_2007_n_TN.gif";
	  alt="Total monthly arctic sea ice extent from 1978 to 2007";
      }
   if (banners==2)
      {
      image="/data/smmr_ssmi_ancillary/images/slideshow/oceanmask_sep_1979_2007_n_TN.png";
	  alt="Ocean mask for September from 1979 to 2007";
      }

	}

//-->

<!--       ***This part picks links***
var link = "/data/smmr_ssmi_ancillary/images/slideshow/gsfc.nasateam.extent.Total-Arctic.1978-2007.n.png"
function urlswitch() {

   if (banners==1)
      {
      link = "/data/smmr_ssmi_ancillary/images/slideshow/gsfc.nasateam.extent.Total-Arctic.1978-2007.n.png";
      }
   if (banners==2)
      {
      link = "/data/smmr_ssmi_ancillary/images/slideshow/oceanmask.sep.1979-2007.n.png";
      }


return link;
}
//-->


