	function lookup(inputS) {
			var parts=inputS;						
			var part1  = parts.split(' ');
			var inputString	=	inputS ;	
			
		if(inputString.length == 0) {
			// Hide the suggestion box.
			$('#suggestions').hide();
		} else {
			// post data to our php processing page and if there is a return greater than zero
			// show the suggestions box
			$.post("get_list.php", {mysearchString: ""+inputString+""}, function(data){
				if(data.length >0) {
					$('#suggestions').show();
					$('#autoSuggestionsList').html(data);
				}
			});
		}
	} //end
	
	// if user clicks a suggestion, fill the text box.
	function fill(thisValue) {
		$('#depart').val(thisValue);
		setTimeout("$('#suggestions').hide();", 200);		
	}
	
	function lookup1(inputS) {			
			var parts=inputS;						
			var part1  = parts.split(' ');
			var inputString	=	inputS;	
			
		if(inputString.length == 0) {
			// Hide the suggestion box.
			$('#suggestions1').hide();
		} else {
			// post data to our php processing page and if there is a return greater than zero
			// show the suggestions box
			$.post("get_list1.php", {mysearchString: ""+inputString+""}, function(data){
				if(data.length >0) {
					$('#suggestions1').show();
					$('#autoSuggestionsList1').html(data);
				}
			});
		}
		
	} //end
	
	// if user clicks a suggestion, fill the text box.
	function fill1(thisValue) {
		$('#arrive').val(thisValue);
		setTimeout("$('#suggestions1').hide();", 200);
	
	}
///////////////////////////////////////////////////////////////////////////
/////for action page/////////////
	function lookup_action(inputS) {
			var parts=inputS;						
			var part1  = parts.split(' ');
			var inputString	=	inputS;	
			
		if(inputString.length == 0) {
			// Hide the suggestion box.
			$('#suggestions_action').hide();
		} else {
			// post data to our php processing page and if there is a return greater than zero
			// show the suggestions box
			$.post("get_list.php", {mysearchString: ""+inputString+""}, function(data){
				if(data.length >0) {
					$('#suggestions_action').show();
					$('#autoSuggestionsList').html(data);
				}
			});
		}
	} //end
	
	// if user clicks a suggestion, fill the text box.
	function fill_action(thisValue) {
		$('#depart').val(thisValue);
		setTimeout("$('#suggestions_action').hide();", 200);		
	}
	
		function lookup1_action(inputS) {			
			var parts=inputS;						
			var part1  = parts.split(' ');
			var inputString	=	part1[0];	
			
		if(inputString.length == 0) {
			// Hide the suggestion box.
			$('#suggestions1_action').hide();
		} else {
			// post data to our php processing page and if there is a return greater than zero
			// show the suggestions box
			$.post("get_list1.php", {mysearchString: ""+inputString+""}, function(data){
				if(data.length >0) {
					$('#suggestions1_action').show();
					$('#autoSuggestionsList1').html(data);
				}
			});
		}
		
	} //end
	
	// if user clicks a suggestion, fill the text box.
	function fill1_action(thisValue) {
		$('#arrive').val(thisValue);
		setTimeout("$('#suggestions1_action').hide();", 200);
	
	}
