Type.registerNamespace('FotoAlbum');
FotoAlbum.FotoAlbumWebService=function() {
FotoAlbum.FotoAlbumWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FotoAlbum.FotoAlbumWebService.prototype={
GetRandomImage:function(moduleId,succeededCallback, failedCallback, userContext) {
return this._invoke(FotoAlbum.FotoAlbumWebService.get_path(), 'GetRandomImage',false,{moduleId:moduleId},succeededCallback,failedCallback,userContext); },
GetNextImage:function(imagePath,succeededCallback, failedCallback, userContext) {
return this._invoke(FotoAlbum.FotoAlbumWebService.get_path(), 'GetNextImage',false,{imagePath:imagePath},succeededCallback,failedCallback,userContext); },
GetPrevImage:function(imagePath,succeededCallback, failedCallback, userContext) {
return this._invoke(FotoAlbum.FotoAlbumWebService.get_path(), 'GetPrevImage',false,{imagePath:imagePath},succeededCallback,failedCallback,userContext); }}
FotoAlbum.FotoAlbumWebService.registerClass('FotoAlbum.FotoAlbumWebService',Sys.Net.WebServiceProxy);
FotoAlbum.FotoAlbumWebService._staticInstance = new FotoAlbum.FotoAlbumWebService();
FotoAlbum.FotoAlbumWebService.set_path = function(value) { FotoAlbum.FotoAlbumWebService._staticInstance._path = value; }
FotoAlbum.FotoAlbumWebService.get_path = function() { return FotoAlbum.FotoAlbumWebService._staticInstance._path; }
FotoAlbum.FotoAlbumWebService.set_timeout = function(value) { FotoAlbum.FotoAlbumWebService._staticInstance._timeout = value; }
FotoAlbum.FotoAlbumWebService.get_timeout = function() { return FotoAlbum.FotoAlbumWebService._staticInstance._timeout; }
FotoAlbum.FotoAlbumWebService.set_defaultUserContext = function(value) { FotoAlbum.FotoAlbumWebService._staticInstance._userContext = value; }
FotoAlbum.FotoAlbumWebService.get_defaultUserContext = function() { return FotoAlbum.FotoAlbumWebService._staticInstance._userContext; }
FotoAlbum.FotoAlbumWebService.set_defaultSucceededCallback = function(value) { FotoAlbum.FotoAlbumWebService._staticInstance._succeeded = value; }
FotoAlbum.FotoAlbumWebService.get_defaultSucceededCallback = function() { return FotoAlbum.FotoAlbumWebService._staticInstance._succeeded; }
FotoAlbum.FotoAlbumWebService.set_defaultFailedCallback = function(value) { FotoAlbum.FotoAlbumWebService._staticInstance._failed = value; }
FotoAlbum.FotoAlbumWebService.get_defaultFailedCallback = function() { return FotoAlbum.FotoAlbumWebService._staticInstance._failed; }
FotoAlbum.FotoAlbumWebService.set_path("/DesktopModules/FotoAlbum/FotoAlbum.asmx");
FotoAlbum.FotoAlbumWebService.GetRandomImage= function(moduleId,onSuccess,onFailed,userContext) {FotoAlbum.FotoAlbumWebService._staticInstance.GetRandomImage(moduleId,onSuccess,onFailed,userContext); }
FotoAlbum.FotoAlbumWebService.GetNextImage= function(imagePath,onSuccess,onFailed,userContext) {FotoAlbum.FotoAlbumWebService._staticInstance.GetNextImage(imagePath,onSuccess,onFailed,userContext); }
FotoAlbum.FotoAlbumWebService.GetPrevImage= function(imagePath,onSuccess,onFailed,userContext) {FotoAlbum.FotoAlbumWebService._staticInstance.GetPrevImage(imagePath,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('FotoAlbum.Components');
if (typeof(FotoAlbum.Components.AlbumItem) === 'undefined') {
FotoAlbum.Components.AlbumItem=gtc("FotoAlbum.Components.AlbumItem");
FotoAlbum.Components.AlbumItem.registerClass('FotoAlbum.Components.AlbumItem');
}

