    function lookup(inputString) {
        if(inputString.length == 0) {
            // Hide the suggestion box.
            $('#suggestions').hide();
        } else {
            $.post("rpc3.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);
    }
// now the added part:
    function lookup2(inputString2) {
        if(inputString2.length == 0) {
            // Hide the suggestion box.
            $('#suggestions2').hide();
        } else {
            $.post("rpc3.php", {queryString2: ""+inputString2+""}, function(data){
                if(data.length >0) {
                    $('#suggestions2').show();
                    $('#autoSuggestionsList2').html(data);
                }
            });
        }
    } // lookup
    function fill2(thisValue) {
        $('#inputString2').val(thisValue);
        setTimeout("$('#suggestions2').hide();", 200);
    }
// now the added part 3
    function lookup3(inputString3) {
        if(inputString3.length == 0) {
            // Hide the suggestion box.
            $('#suggestions3').hide();
        } else {
            $.post("rpc3.php", {queryString3: ""+inputString3+""}, function(data){
                if(data.length >0) {
                    $('#suggestions3').show();
                    $('#autoSuggestionsList3').html(data);
                }
            });
        }
    } // lookup
    function fill3(thisValue) {
        $('#inputString3').val(thisValue);
        setTimeout("$('#suggestions3').hide();", 200);
    }
