function menu_goto( menuform )
{
  var baseurl = 'http://www.relocating.ca/cities/' ;
  selecteditem = menuform.url.selectedIndex ;
  newurl = menuform.url.options[ selecteditem ].value ;
  if (newurl.length != 0) {
    location.href = baseurl + newurl ;
  }
}
document.writeln( '<form action="search" method="get">' );
document.writeln( '<select name="url" onchange="menu_goto(this.form)">' );
document.writeln( '<option value="">Select a City</option>' );
document.writeln( '<option value="al_airdrie.html">Airdrie</option>' );
document.writeln( '<option value="al_brooks.html">Brooks</option>' );
document.writeln( '<option value="al_calgary.html">Calgary</option>' );
document.writeln( '<option value="al_camrose.html">Camrose</option>' );
document.writeln( '<option value="al_canmore.html">Canmore</option>' );
document.writeln( '<option value="al_cochrane.html">Cochrane</option>' );
document.writeln( '<option value="al_edmonton.html">Edmonton</option>' );
document.writeln( '<option value="al_fortsaskatchewan.html">Fort Saskatchewan</option>' );
document.writeln( '<option value="al_grandeprairie.html">Grande Prairie</option>' );
document.writeln( '<option value="al_leduc.html">Leduc</option>' );
document.writeln( '<option value="al_lethbridge.html">Lethbridge</option>' );
document.writeln( '<option value="al_lloydminster.html">Lloydminster</option>' );
document.writeln( '<option value="al_medicinehat.html">Medicine Hat</option>' );
document.writeln( '<option value="al_okotoks.html">Okotoks</option>' );
document.writeln( '<option value="al_reddeer.html">Red Deer</option>' );
document.writeln( '<option value="al_sprucegrove.html">Spruce Grove</option>' );
document.writeln( '<option value="al_stalbert.html">St. Albert</option>' );
document.writeln( '<option value="al_stonyplain.html">Stony Plain</option>' );
document.writeln( '<option value="al_strathcona.html">Strathcona</option>' );
document.writeln( '<option value="al_woodbuffalo.html">Wood Buffalo</option>' );
document.writeln( '</select>' );
document.writeln( '</form>' );