var GalleryService=function() {
GalleryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GalleryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GalleryService._staticInstance.get_path();},
GetPicture:function(id,GalleryName,div,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPicture',false,{id:id,GalleryName:GalleryName,div:div},succeededCallback,failedCallback,userContext); }}
GalleryService.registerClass('GalleryService',Sys.Net.WebServiceProxy);
GalleryService._staticInstance = new GalleryService();
GalleryService.set_path = function(value) { GalleryService._staticInstance.set_path(value); }
GalleryService.get_path = function() { return GalleryService._staticInstance.get_path(); }
GalleryService.set_timeout = function(value) { GalleryService._staticInstance.set_timeout(value); }
GalleryService.get_timeout = function() { return GalleryService._staticInstance.get_timeout(); }
GalleryService.set_defaultUserContext = function(value) { GalleryService._staticInstance.set_defaultUserContext(value); }
GalleryService.get_defaultUserContext = function() { return GalleryService._staticInstance.get_defaultUserContext(); }
GalleryService.set_defaultSucceededCallback = function(value) { GalleryService._staticInstance.set_defaultSucceededCallback(value); }
GalleryService.get_defaultSucceededCallback = function() { return GalleryService._staticInstance.get_defaultSucceededCallback(); }
GalleryService.set_defaultFailedCallback = function(value) { GalleryService._staticInstance.set_defaultFailedCallback(value); }
GalleryService.get_defaultFailedCallback = function() { return GalleryService._staticInstance.get_defaultFailedCallback(); }
GalleryService.set_path("/widgets/controls/Gallery/GalleryService.asmx");
GalleryService.GetPicture= function(id,GalleryName,div,onSuccess,onFailed,userContext) {GalleryService._staticInstance.GetPicture(id,GalleryName,div,onSuccess,onFailed,userContext); }
