function lookup(inputString,mySelection,MyDropList,myReturnInputCounter,songOrArtist) {
		
		if(inputString.length == 0) {
			// Hide the suggestion box.
			$(mySelection).hide();
		} else {
			if(inputString.length >= 2) {
				$.post("scripts/edit-list-auto-complete.php", {queryString: ""+inputString+"", queryString2: ""+myReturnInputCounter+"",queryString3: ""+songOrArtist+""}, function(data){
					
					
					if(data.length >0) {
						$(mySelection).show();
						$(MyDropList).html(data);
					}
				});
			}
		}
	} // lookup
	

	function fill(song,artist,whichInputIDSong,whichInputIDArtist,whichSuggestionsField) {
		selectionField = whichSuggestionsField;
		$(whichInputIDSong).val(song);
		$(whichInputIDArtist).val(artist);
		setTimeout("$(selectionField).hide();",50);
	}
	
	
	/// this function gets called by the add new song button//
	/// it removes whichever autocomplete field is present by getting the latest id set///
	function removeAutoComplete(){
		mySelectionId = document.getElementById("id").value-1;
		mySelectionField = '#suggestions'+mySelectionId+'';
		//if first hardcoded field is present removes it first
		setTimeout("$('#suggestions1').hide();");
		
		setTimeout("$(mySelectionField).hide();");
	}