//Auto Complete City Names
	function lookup(inputString) {

		if(inputString.length == 0) {

			// Hide the suggestion box.

			$('#suggestions').hide();

		} else {

			$.post("http://www.eastwestdirectory.com/common/search_city.php", {queryString: ""+inputString+""}, function(data){

				if(data.length >0) {

					$('#suggestions').show();

					$('#autoSuggestionsList').html(data);

				}

			});

		}

	} // lookup

	function fill(thisValue) {

		$('#inputString').val(thisValue);

		setTimeout("$('#suggestions').hide();", 200);

	}
	
	
	
	//Auto Complete City Names for Jobs Section
	function lookup3(inputString3) {

		if(inputString3.length == 0) {

			// Hide the suggestion box.

			$('#suggestions3').hide();

		} else {

			$.post("http://www.eastwestdirectory.com/common/search_city.php", {queryString: ""+inputString3+""}, function(data){

				if(data.length >0) {

					$('#suggestions3').show();

					$('#autoSuggestionsList3').html(data);

				}

			});

		}

	} // lookup

	function fillzy(thisValue) {

		$('#inputString3').val(thisValue);

		setTimeout("$('#suggestions3').hide();", 200);

	}
	
	
	
	
	
//Auto Complete Categories	
	function lookup2(inputString2) {

		if(inputString2.length == 0) {

			// Hide the suggestion box.

			$('#suggestions2').hide();

		} else {

			$.post("http://www.eastwestdirectory.com/common/search_category.php", {queryString: ""+inputString2+""}, function(data){

				if(data.length >0) {

					$('#suggestions2').show();

					$('#autoSuggestionsList2').html(data);

				}

			});

		}

	} // lookup

	function fill2(thisValue) {

		$('#inputString2').val(thisValue);

		setTimeout("$('#suggestions2').hide();", 200);

	}
