if(typeof Trains == "undefined") Trains={};
Trains.Picture_class = function() {};
Object.extend(Trains.Picture_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetUserRating: function(iPictureID, iUserID) {
		return this.invoke("GetUserRating", {"iPictureID":iPictureID, "iUserID":iUserID}, this.GetUserRating.getArguments().slice(2));
	},
	SetUserRating1: function(iPictureID, iUserID, iRating) {
		return this.invoke("SetUserRating1", {"iPictureID":iPictureID, "iUserID":iUserID, "iRating":iRating}, this.SetUserRating1.getArguments().slice(3));
	},
	changeAlbumAjax: function(pictureID, iNewAlbumID) {
		return this.invoke("changeAlbumAjax", {"pictureID":pictureID, "iNewAlbumID":iNewAlbumID}, this.changeAlbumAjax.getArguments().slice(2));
	},
	updatePlaceholder: function(sDesc, iNewID) {
		return this.invoke("updatePlaceholder", {"sDesc":sDesc, "iNewID":iNewID}, this.updatePlaceholder.getArguments().slice(2));
	},
	url: '/ajaxpro/Trains.Picture,Trains.Data.ashx'
}));
Trains.Picture = new Trains.Picture_class();


