var GalleryService=function() {
GalleryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GalleryService.prototype={
UpdatePhotoOrdinal:function(ordinal,galleryId,mediaId,succeededCallback, failedCallback, userContext) {
return this._invoke(GalleryService.get_path(), 'UpdatePhotoOrdinal',false,{ordinal:ordinal,galleryId:galleryId,mediaId:mediaId},succeededCallback,failedCallback,userContext); },
GetImageDetails:function(mediaId,width,succeededCallback, failedCallback, userContext) {
return this._invoke(GalleryService.get_path(), 'GetImageDetails',false,{mediaId:mediaId,width:width},succeededCallback,failedCallback,userContext); }}
GalleryService.registerClass('GalleryService',Sys.Net.WebServiceProxy);
GalleryService._staticInstance = new GalleryService();
GalleryService.set_path = function(value) { GalleryService._staticInstance._path = value; }
GalleryService.get_path = function() { return GalleryService._staticInstance._path; }
GalleryService.set_timeout = function(value) { GalleryService._staticInstance._timeout = value; }
GalleryService.get_timeout = function() { return GalleryService._staticInstance._timeout; }
GalleryService.set_defaultUserContext = function(value) { GalleryService._staticInstance._userContext = value; }
GalleryService.get_defaultUserContext = function() { return GalleryService._staticInstance._userContext; }
GalleryService.set_defaultSucceededCallback = function(value) { GalleryService._staticInstance._succeeded = value; }
GalleryService.get_defaultSucceededCallback = function() { return GalleryService._staticInstance._succeeded; }
GalleryService.set_defaultFailedCallback = function(value) { GalleryService._staticInstance._failed = value; }
GalleryService.get_defaultFailedCallback = function() { return GalleryService._staticInstance._failed; }
GalleryService.set_path("/WebServices/GalleryService.asmx");
GalleryService.UpdatePhotoOrdinal= function(ordinal,galleryId,mediaId,onSuccess,onFailed,userContext) {GalleryService._staticInstance.UpdatePhotoOrdinal(ordinal,galleryId,mediaId,onSuccess,onFailed,userContext); }
GalleryService.GetImageDetails= function(mediaId,width,onSuccess,onFailed,userContext) {GalleryService._staticInstance.GetImageDetails(mediaId,width,onSuccess,onFailed,userContext); }
