us = function(item) {
      return makeRichRow_(item, "Citrus", "citrus");
    };

    var berry = function(item) {
      return makeRichRow_(item, "Berry", "berry");
    };

    var input = document.getElementById("txtInput");
    var wikipedia = document.getElementById("wikipedia");
    var ac = new goog.ui.ac.RichRemote("autocompleterichremotedata.js",
        input);

    // Set the autocomplete"s rowFilter appropriately
    var setFilter = function() {
      var checkbox = document.getElementById("berr