// JavaScript Document

// Function for dynamic changes to the Make & Model List boxes
function handleChange(makeModels)
{   var MakesBox, ModelsBox, NumEntries, i
    MakesBox = document.SearchForm.Makes
    ModelsBox = document.SearchForm.Models

  // Delete all existing entries from the Models list box
  for (i = ModelsBox.length; i > 0; i--)
  {
    ModelsBox.options[i-1] = null
  }

  // Add comment option to the Models List box
  ModelsBox.options[0] = new Option("Select Model . . . . . . ",0)

  // If a Make is selected, add its specific Models to the Models List box
  if (makeModels >= 0)
  {
    NumEntries = arrMakes[makeModels].length
    for (i = 1; i <= NumEntries; i++)
    {
      ModelsBox.options[i] = new Option((arrMakes[makeModels])[i-1],(i))
    }
  }
  ModelsBox.selectedIndex = 0

}

function go()
{
location=
document.Vendors.Company.
options[document.Vendors.Company.selectedIndex].value
}