if(typeof Amway == "undefined") Amway={};
if(typeof Amway.Core == "undefined") Amway.Core={};
if(typeof Amway.Core.Web == "undefined") Amway.Core.Web={};
if(typeof Amway.Core.Web.UI == "undefined") Amway.Core.Web.UI={};
if(typeof Amway.Core.Web.UI.Common == "undefined") Amway.Core.Web.UI.Common={};
Amway.Core.Web.UI.Common.AmwayPopupControl_class = function() {};
Object.extend(Amway.Core.Web.UI.Common.AmwayPopupControl_class.prototype, Object.extend(new Ajax.AjaxClass(), {
	GetDynamicContent: function(contentSrc, contentParams, loadControl, showLP) {
		return this.invoke("GetDynamicContent", {"contentSrc":contentSrc, "contentParams":contentParams, "loadControl":loadControl, "showLP":showLP}, this.GetDynamicContent.getArguments().slice(4));
	},
	url: 'http://www.amway.ca/Shop/Registration/ajax/ajax/Amway.Core.Web.UI.Common.AmwayPopupControl,Amway.Core.Web.Impl.ashx'
}));
Amway.Core.Web.UI.Common.AmwayPopupControl = new Amway.Core.Web.UI.Common.AmwayPopupControl_class();
if(typeof Amway.Core.Web.UI.Navigation == "undefined") Amway.Core.Web.UI.Navigation={};
Amway.Core.Web.UI.Navigation.CountryControl_class = function() {};
Object.extend(Amway.Core.Web.UI.Navigation.CountryControl_class.prototype, Object.extend(new Ajax.AjaxClass(), {
	GetPopupContent: function() {
		return this.invoke("GetPopupContent", {}, this.GetPopupContent.getArguments().slice(0));
	},
	url: 'http://www.amway.ca/Shop/Registration/ajax/ajax/Amway.Core.Web.UI.Navigation.CountryControl,Amway.Core.Web.Impl.ashx'
}));
Amway.Core.Web.UI.Navigation.CountryControl = new Amway.Core.Web.UI.Navigation.CountryControl_class();
if(typeof Amway.Core.Web.UI.Cart == "undefined") Amway.Core.Web.UI.Cart={};
Amway.Core.Web.UI.Cart.CartNavigationControl_class = function() {};
Object.extend(Amway.Core.Web.UI.Cart.CartNavigationControl_class.prototype, Object.extend(new Ajax.AjaxClass(), {
	PopuplateCartItemCount: function() {
		return this.invoke("PopuplateCartItemCount", {}, this.PopuplateCartItemCount.getArguments().slice(0));
	},
	url: 'http://www.amway.ca/Shop/Registration/ajax/ajax/Amway.Core.Web.UI.Cart.CartNavigationControl,Amway.Core.Web.Impl.ashx'
}));
Amway.Core.Web.UI.Cart.CartNavigationControl = new Amway.Core.Web.UI.Cart.CartNavigationControl_class();
Amway.Core.Web.UI.Cart.CartAddItemController_class = function() {};
Object.extend(Amway.Core.Web.UI.Cart.CartAddItemController_class.prototype, Object.extend(new Ajax.AjaxClass(), {
	AddItems: function(items, DestinationType, destinationId, organizationID) {
		return this.invoke("AddItems", {"items":items, "DestinationType":DestinationType, "destinationId":destinationId, "organizationID":organizationID}, this.AddItems.getArguments().slice(4));
	},
	url: 'http://www.amway.ca/Shop/Registration/ajax/ajax/Amway.Core.Web.UI.Cart.CartAddItemController,Amway.Core.Web.Impl.ashx'
}));
Amway.Core.Web.UI.Cart.CartAddItemController = new Amway.Core.Web.UI.Cart.CartAddItemController_class();

