if(typeof AddressSelectorControl == "undefined") AddressSelectorControl={};
AddressSelectorControl_class = function() {};
Object.extend(AddressSelectorControl_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	DeleteAddress: function(addressId) {
		return this.invoke("DeleteAddress", {"addressId":addressId}, this.DeleteAddress.getArguments().slice(1));
	},
	GetAddress: function(addressId) {
		return this.invoke("GetAddress", {"addressId":addressId}, this.GetAddress.getArguments().slice(1));
	},
	AddAddress: function(customerId, addressName, recipientFirstName, recipientLastName, companyName, address1, address2, city, state, zip, phone, isResidential) {
		return this.invoke("AddAddress", {"customerId":customerId, "addressName":addressName, "recipientFirstName":recipientFirstName, "recipientLastName":recipientLastName, "companyName":companyName, "address1":address1, "address2":address2, "city":city, "state":state, "zip":zip, "phone":phone, "isResidential":isResidential}, this.AddAddress.getArguments().slice(12));
	},
	EditAddress: function(addressId, customerId, addressName, recipientFirstName, recipientLastName, companyName, address1, address2, city, state, zip, phone, isResidential) {
		return this.invoke("EditAddress", {"addressId":addressId, "customerId":customerId, "addressName":addressName, "recipientFirstName":recipientFirstName, "recipientLastName":recipientLastName, "companyName":companyName, "address1":address1, "address2":address2, "city":city, "state":state, "zip":zip, "phone":phone, "isResidential":isResidential}, this.EditAddress.getArguments().slice(13));
	},
	GetAddressList: function(customerId) {
		return this.invoke("GetAddressList", {"customerId":customerId}, this.GetAddressList.getArguments().slice(1));
	},
	url: '/ajaxpro/ePortalUI.Controls.Address.AddressSelectorControl,ePortalUI.ashx'
}));
AddressSelectorControl = new AddressSelectorControl_class();

