  function openPairedSiteExplanation() {
    window.open('/crn/pairedsite.html', 'Paired Stations', 'width=725,height=230');
  }
  function openGraphWindow(graphargs,windowname) {
    window.open('/crn/graph?'+graphargs, windowname, 'width=650,height=550,status=1');
  }
  function openStationWindow(url) {
    hourlyWin = window.open(url, 'Hourly');
    hourlyWin.focus();
  }
  function openNewMap(crnhost,stationsarg) {
    var mapUrl = "http://gis.ncdc.noaa.gov/website/ims-uscrn?crnhost="+crnhost+stationsarg;
    mapwin = window.open(mapUrl,"USCRNMap","width=840,height=1030,scrollbars=no,resizable=no");
  }
  function openMap(crnhost,stationsarg) {
    if (!window.mapwin) { // not yet defined
	openNewMap(crnhost,stationsarg);
    } else { // has been defined
	  if (!mapwin.closed) { // still open, re-focus
	      mapwin.focus();
	  } else { // has been closed, re-open
	      openNewMap(crnhost,stationsarg);
	  }
    }
  }
  function openCalculatedExplanation() {
    window.open('/crn/calculated.html', 'Calculated Values', 'width=725,height=230,resizable');
  }
  function openHourlyIndexWindow() {
    indexWin = window.open('/crn/hourly?category=${category}', 'Hourly Roundup Index');
    indexWin.focus();
  }
  function changeDate (referralURL) {
	  window.open(''+referralURL,'Change Date Window','width=350,height=150,resizable');
  }
