if(typeof BizModules == "undefined") BizModules={};
if(typeof BizModules.UltraPhotoGallery == "undefined") BizModules.UltraPhotoGallery={};
if(typeof BizModules.UltraPhotoGallery.AjaxDotNet == "undefined") BizModules.UltraPhotoGallery.AjaxDotNet={};
BizModules.UltraPhotoGallery.AjaxDotNet_class = function() {};
Object.extend(BizModules.UltraPhotoGallery.AjaxDotNet_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	AddToCart: function(portalId, userId, locale, photoId, tn) {
		return this.invoke("AddToCart", {"portalId":portalId, "userId":userId, "locale":locale, "photoId":photoId, "tn":tn}, this.AddToCart.getArguments().slice(5));
	},
	RemoveItem: function(portalId, userId, locale, downloadId) {
		return this.invoke("RemoveItem", {"portalId":portalId, "userId":userId, "locale":locale, "downloadId":downloadId}, this.RemoveItem.getArguments().slice(4));
	},
	GetCart: function(portalId, userId, locale) {
		return this.invoke("GetCart", {"portalId":portalId, "userId":userId, "locale":locale}, this.GetCart.getArguments().slice(3));
	},
	ShowRatingScoreAndComment: function(portalId, locale, photoId) {
		return this.invoke("ShowRatingScoreAndComment", {"portalId":portalId, "locale":locale, "photoId":photoId}, this.ShowRatingScoreAndComment.getArguments().slice(3));
	},
	IsDuplicatedRating: function(PhotoId, userId, userIP) {
		return this.invoke("IsDuplicatedRating", {"PhotoId":PhotoId, "userId":userId, "userIP":userIP}, this.IsDuplicatedRating.getArguments().slice(3));
	},
	Rate: function(PhotoId, score, comment, userId, userIP) {
		return this.invoke("Rate", {"PhotoId":PhotoId, "score":score, "comment":comment, "userId":userId, "userIP":userIP}, this.Rate.getArguments().slice(5));
	},
	PostComment: function(PhotoId, userId, userIP, comment) {
		return this.invoke("PostComment", {"PhotoId":PhotoId, "userId":userId, "userIP":userIP, "comment":comment}, this.PostComment.getArguments().slice(4));
	},
	DeleteComment: function(itemId, portalId) {
		return this.invoke("DeleteComment", {"itemId":itemId, "portalId":portalId}, this.DeleteComment.getArguments().slice(2));
	},
	Search: function(portalId, moduleId, locale, keyword) {
		return this.invoke("Search", {"portalId":portalId, "moduleId":moduleId, "locale":locale, "keyword":keyword}, this.Search.getArguments().slice(4));
	},
	url: '/ajaxpro/BizModules.UltraPhotoGallery.AjaxDotNet,BizModules.UltraPhotoGallery.ashx'
}));
BizModules.UltraPhotoGallery.AjaxDotNet = new BizModules.UltraPhotoGallery.AjaxDotNet_class();

