function pop_radio (a)
{
  document.search.search_type.value = a;
  if (a == 1)
  {
    document.search.hmonth.options.selectedIndex = 0;
    document.search.hday.options.selectedIndex = 0;
    document.search.hyear.value = "Year";
    document.search.fmonth.options.selectedIndex = 0;
    document.search.fday.options.selectedIndex = 0;
    document.search.fyear.value = "Year";
    document.search.casenum.value = "";
    document.search.ticknum.value = "";
  }
  else if (a == 3)
  {
    document.search.name.value = "";
    document.search.hmonth.options.selectedIndex = 0;
    document.search.hday.options.selectedIndex = 0;
    document.search.hyear.value = "Year";
    document.search.fmonth.options.selectedIndex = 0;
    document.search.fday.options.selectedIndex = 0;
    document.search.fyear.value = "Year";
    document.search.casenum.value = "";
    document.search.ticknum.value = "";
  }
  else if (a == 4)
  {
    document.search.name.value = "";
    document.search.fmonth.options.selectedIndex = 0;
    document.search.fday.options.selectedIndex = 0;
    document.search.fyear.value = "Year";
    document.search.casenum.value = "";
    document.search.ticknum.value = "";
  }
  else if (a == 5)
  {
    document.search.name.value = "";
    document.search.hmonth.options.selectedIndex = 0;
    document.search.hday.options.selectedIndex = 0;
    document.search.hyear.value = "Year";
    document.search.fmonth.options.selectedIndex = 0;
    document.search.fday.options.selectedIndex = 0;
    document.search.fyear.value = "Year";
    document.search.casenum.value = "";
  }
  else if (a == 8)
  {
    document.search.name.value = "";
    document.search.hmonth.options.selectedIndex = 0;
    document.search.hday.options.selectedIndex = 0;
    document.search.hyear.value = "Year";
    document.search.fmonth.options.selectedIndex = 0;
    document.search.fday.options.selectedIndex = 0;
    document.search.fyear.value = "Year";
    document.search.ticknum.value = "";
  }
  else if (a == 9)
  {
    document.search.name.value = "";
    document.search.hmonth.options.selectedIndex = 0;
    document.search.hday.options.selectedIndex = 0;
    document.search.hyear.value = "Year";
    document.search.casenum.value = "";
    document.search.ticknum.value = "";
  } 
}