/*
 * Requires: jquery, profile.js, address.js, section.js
 */
var Brokerages = {};

function Brokerage(id, name, edit) {
	this.name = name;
	this.id = id;
	this.edit = edit;
}
Brokerage.prototype = {
	info: function() {
		var self = this;

		Addresses[this.getId()] = new Contact('address', this.getId());
		Profiles[this.getId()] = this;
		Sections[this.getId() + 'contact'] = new Section('contact', this.getId());
		Emails[this.getId()] = new Email(this.getId());
	}
};
Brokerage.prototype = jQuery.extend(Brokerage.prototype, Profile.prototype);