	$(document).ready(function() {
		$("#startpt1").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#startpt1_id").val(li.extra);}
			}
		);
	});

	$(document).ready(function() {
		$("#endpt1").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#endpt1_id").val(li.extra);}
			}
		);
	});	
	
	$(document).ready(function() {
		$("#EF_From1").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_From1_id").val(li.extra);}
			}
		);
	});	
	
	$(document).ready(function() {
		$("#EF_To1").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_To1_id").val(li.extra);}
			}
		);
	});	
	
		$(document).ready(function() {
		$("#EF_From2").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_From2_id").val(li.extra);}
			}
		);
	});	
	
	$(document).ready(function() {
		$("#EF_To2").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_To2_id").val(li.extra);}
			}
		);
	});	
	
		$(document).ready(function() {
		$("#EF_From3").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_From3_id").val(li.extra);}
			}
		);
	});	
	
	$(document).ready(function() {
		$("#EF_To3").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_To3_id").val(li.extra);}
			}
		);
	});	
	
		$(document).ready(function() {
		$("#EF_From4").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_From4_id").val(li.extra);}
			}
		);
	});	
	
	$(document).ready(function() {
		$("#EF_To4").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_To4_id").val(li.extra);}
			}
		);
	});

		$(document).ready(function() {
		$("#EF_From5").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_From5_id").val(li.extra);}
			}
		);
	});	
	
	$(document).ready(function() {
		$("#EF_To5").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_To5_id").val(li.extra);}
			}
		);
	});

		$(document).ready(function() {
		$("#EF_From6").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_From6_id").val(li.extra);}
			}
		);
	});	
	
	$(document).ready(function() {
		$("#EF_To6").autocomplete(
			"citysearch.php",
			{
				delay:10,
				minChars:3,
				matchSubset:1,
				matchContains:0,
				cacheLength:1,
				maxItemsToShow:15,
				autoFill:true,
				onItemSelect:function(li){$("#EF_To6_id").val(li.extra);}
			}
		);
	});
	$(document).ready(function(){
	
		$(".new_menu2 > a").click(function()
		{
		          $(".new_menu2 > a").removeClass("selected");
			  $(this).addClass("selected");
		});
	});
