if(typeof WebApp == "undefined") WebApp={};
if(typeof WebApp.Interface == "undefined") WebApp.Interface={};
WebApp.Interface.collection_class = function() {};
Object.extend(WebApp.Interface.collection_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	AddMediaCollection: function(mediaName, mediaID, mediaType, level, smallPic, linkUrl) {
		return this.invoke("AddMediaCollection", {"mediaName":mediaName, "mediaID":mediaID, "mediaType":mediaType, "level":level, "smallPic":smallPic, "linkUrl":linkUrl}, this.AddMediaCollection.getArguments().slice(6));
	},
	AddShopCollection: function(shopName, shopDomain, shopID, smallPic, linkUrl) {
		return this.invoke("AddShopCollection", {"shopName":shopName, "shopDomain":shopDomain, "shopID":shopID, "smallPic":smallPic, "linkUrl":linkUrl}, this.AddShopCollection.getArguments().slice(5));
	},
	AddYSMediaCollection: function(mediaName, mediaID, mediaType, level, shopName, shopDomain, shopID, shopMediaID, ownerType, adtype, smallPic, linkUrl) {
		return this.invoke("AddYSMediaCollection", {"mediaName":mediaName, "mediaID":mediaID, "mediaType":mediaType, "level":level, "shopName":shopName, "shopDomain":shopDomain, "shopID":shopID, "shopMediaID":shopMediaID, "ownerType":ownerType, "adtype":adtype, "smallPic":smallPic, "linkUrl":linkUrl}, this.AddYSMediaCollection.getArguments().slice(12));
	},
	url: '/ajaxpro/WebApp.Interface.collection,WebApp.ashx'
}));
WebApp.Interface.collection = new WebApp.Interface.collection_class();

