function rsvp(json) {
        var seen = {};
	var confirmed = document.getElementById("rsvp")
	for (var i = 0; i < json.results.length; i++) {
            var username = json.results[i].from_user;
            if (!seen[username]) {
                seen[username] = true;
		var link = '<a href="http://twitter.com/' + json.results[i].from_user +  '">';
		var text = json.results[i].text;
		var pieces = text.split(/@polyglots @ppoc \w+ \d+/);
		var comment = "";
		if (pieces[1]) {
			comment = "<small>" + pieces[1] + "</small><br />";
		}
		confirmed.innerHTML += link + '<img width="48" border="0" src="' + json.results[i].profile_image_url + '" /></a> ' + link + username + "</a><br />" + comment;
            }
	}
	if (confirmed.innerHTML == "") {
		confirmed.innerHTML = "Be the first to RSVP!";
	}
}
