// A class representing a a bunch of trip results
// This could be a destination, or a group
// or a friend, or an event
function Cluster() {
    this.trips = []
    
}

Cluster.prototype.setTrips = function(trips) {
	this.trips = trips;
	this.count_.innerHTML = trips.length + " trips"
}

Cluster.prototype.showMyTrips = function() {
	if (this.trips) {
		if (this.trips.count == 0) {
			this.showPostWindow();
		}
      	showTripsFor(this.slug(),this.trip_listings);
	}
}
