function changeDrop2() {
if (document.form.Drop1.selectedIndex == 0) {
  document.form.Drop2.length = 3;
  document.form.Drop1.selectedIndex = 0
  document.form.Drop2.selectedIndex = 0
  document.form.Drop2.options[0].text = "Select a City";
  document.form.Drop2.options[0].value = "#";
  }

// British Columbia
if (document.form.Drop1.selectedIndex == 1) {
  document.form.Drop2.length = 3;
  document.form.Drop2.selectedIndex = 0
  document.form.Drop2.options[0].text = "Select a City";
  document.form.Drop2.options[0].value = "#";
  document.form.Drop2.options[1].text = "Langley";
  document.form.Drop2.options[1].value = "cities/bc_langley.html";
  document.form.Drop2.options[2].text = "Kelowna";
  document.form.Drop2.options[2].value = "cities/bc_kelowna.html";
}

// Ontario
if (document.form.Drop1.selectedIndex == 2) {
  document.form.Drop2.length = 12;
  document.form.Drop2.selectedIndex = 0
  document.form.Drop2.options[0].text = "Select a City";
  document.form.Drop2.options[0].value = "#";
  document.form.Drop2.options[1].text = "Brampton";
  document.form.Drop2.options[1].value = "cities/on_brampton.html";
  document.form.Drop2.options[2].text = "Burlington";
  document.form.Drop2.options[3].value = "cities/on_burlington.html";
  document.form.Drop2.options[3].text = "Cambridge";
  document.form.Drop2.options[3].value = "cities/on_cambridge.html";
  document.form.Drop2.options[4].text = "Fonthill";
  document.form.Drop2.options[4].value = "cities/on_fonthill.html";
  document.form.Drop2.options[5].text = "Kitchener-Waterloo";
  document.form.Drop2.options[5].value = "cities/on_kitchener_waterloo.html";
  document.form.Drop2.options[6].text = "London";
  document.form.Drop2.options[6].value = "cities/on_london.html";
  document.form.Drop2.options[7].text = "Mississauga";
  document.form.Drop2.options[7].value = "cities/on_mississauga.html";
  document.form.Drop2.options[8].text = "Niagara Falls";
  document.form.Drop2.options[8].value = "cities/on_niagarafalls.html";
  document.form.Drop2.options[9].text = "Oakville";
  document.form.Drop2.options[9].value = "cities/on_oakville.html";
  document.form.Drop2.options[10].text = "Ottawa";
  document.form.Drop2.options[10].value = "cities/on_ottawa.html";
  document.form.Drop2.options[11].text = "St. Catharines";
  document.form.Drop2.options[11].value = "cities/on_stcath.html";
  document.form.Drop2.options[12].text = "Welland";
  document.form.Drop2.options[12].value = "cities/on_welland.html";
  }
}
function goThere() {
if (document.form.Drop1.selectedIndex == 0) {
  alert("Please Select a Province");
  } else {
  if (document.form.Drop2.selectedIndex == 0) {
    alert("Please Select a City");
    } else {
    var list1 = document.form.Drop1;
    var list2 = document.form.Drop2;
    var theDIR = list1.options[list1.selectedIndex].value;
    var theDestination = document.form.Drop2.options[list2.selectedIndex].value;
    location.href = theDestination; }
    }
}
