if(typeof BCF == "undefined") BCF={};
if(typeof BCF.CmsModules == "undefined") BCF.CmsModules={};
if(typeof BCF.CmsModules.ImageGallery == "undefined") BCF.CmsModules.ImageGallery={};
if(typeof BCF.CmsModules.ImageGallery.wcListing == "undefined") BCF.CmsModules.ImageGallery.wcListing={};
BCF.CmsModules.ImageGallery.wcListing_class = function() {};
Object.extend(BCF.CmsModules.ImageGallery.wcListing_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	submitRating: function(picId, rating, strGuid) {
		return this.invoke("submitRating", {"picId":picId, "rating":rating, "strGuid":strGuid}, this.submitRating.getArguments().slice(3));
	},
	getImageRating: function(picId) {
		return this.invoke("getImageRating", {"picId":picId}, this.getImageRating.getArguments().slice(1));
	},
	getStrAverage: function(picId) {
		return this.invoke("getStrAverage", {"picId":picId}, this.getStrAverage.getArguments().slice(1));
	},
	getAverageRoundedForStyling: function(avg) {
		return this.invoke("getAverageRoundedForStyling", {"avg":avg}, this.getAverageRoundedForStyling.getArguments().slice(1));
	},
	url: '/ajaxpro/BCF.CmsModules.ImageGallery.wcListing,BCF.CmsModules.ImageGallery.ashx'
}));
BCF.CmsModules.ImageGallery.wcListing = new BCF.CmsModules.ImageGallery.wcListing_class();

