function EventPool() { // could pass in observer and observee and wire this up differently

}









/* BELOW -- maybe this isn't really how to do it. TODO -- make more generic */

// this might actually be too specific for an Event Pool class. This is really only one kind of event pool.
EventPool.prototype.mirrorInput = function(slave_class,master_id) {
	var that = this;
	$(document).bind(master_id.toUpperCase() + '_CHANGED', function() {
		that.updateMirrorInput(slave_class,master_id);
	});
	$('#'+master_id).keyup( function() {
		$(document).trigger(master_id.toUpperCase() + '_CHANGED')
	});
}
// the slave watches the master and will always contain the same text
EventPool.prototype.updateMirrorInput = function(slave_class,master_id) {
	$('.' + slave_class).html($('#'+master_id).val());
}

EventPool.prototype.mirrorSelect = function(slave_class,master_selector) {
	var that = this;
	$(document).bind(master_selector.toUpperCase() + '_CHANGED', function() {
		that.updateMirrorSelect(slave_class,master_selector);
	});
	$('#'+master_selector).change( function() {
		$(document).trigger(master_selector.toUpperCase() + '_CHANGED')
	});
	// initialize the observer with the master value
	$(document).trigger(master_selector.toUpperCase() + '_CHANGED')
}
// the slave watches the master and will always contain the same text
EventPool.prototype.updateMirrorSelect = function(slave_class,master_selector) {
	$('.' + slave_class).html($('#'+master_selector).val());
}