function getimg(myform) {

  var filename = "";
  var areaIndex = myform.area.selectedIndex;
  var timeIndex = myform.time.selectedIndex;
  var colorIndex = myform.color.selectedIndex;

  if ( myform.area.options[areaIndex].value == "bw" ) {
    myform.color.options[colorIndex].value = "";
  }

  if ( myform.time.options[timeIndex].value == "Latest" && myform.area.options[areaIndex].value != "nam"  && myform.area.options[areaIndex].value != "sfc_" ) {
    myform.time.options[timeIndex].value = "";
  }

  filename = myform.area.options[areaIndex].value+"sfc"+myform.time.options[timeIndex].value+myform.color.options[colorIndex].value+".gif";

  if ( myform.area.options[areaIndex].value == "radsfcus_exp" ) {
    filename = "radar_mosaic"+myform.time.options[timeIndex].value+".html";
    window.location = "/html/"+filename;
  }

  if ( myform.area.options[areaIndex].value == "print_us" ) {
    filename = myform.area.options[areaIndex].value+myform.time.options[timeIndex].value+"bw.gif";
  }  

  if ( myform.area.options[areaIndex].value == "sfc_" &&  myform.time.options[timeIndex].value != "Latest" ) {
    filename = myform.area.options[areaIndex].value+myform.time.options[timeIndex].value+".tiff";
    window.location = "/sfc/"+filename;
  }
  if ( myform.area.options[areaIndex].value == "sfc_" &&  myform.time.options[timeIndex].value == "Latest" ) {
    window.location = "/sfc/QYAA00.tiff"
  }

  if ( myform.time.options[timeIndex].value == "Latest" && myform.area.options[areaIndex].value == "nam" ) {
    filename = "90f"+myform.color.options[colorIndex].value+".gif";
  }

  if ( myform.area.options[areaIndex].value != "sfc_" &&  myform.area.options[areaIndex].value != "radsfcus_exp" ) {
    document.open();
    document.write("<html><body bgcolor=\"white\">\n");
    document.write("<img src=\"/sfc/"+filename+"\">\n");
    document.write("</body></html>\n");
    document.close();
  }

  return true;
}
