Type.registerNamespace('Spin.Web');
Spin.Web.galleryService=function() {
Spin.Web.galleryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Spin.Web.galleryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Spin.Web.galleryService._staticInstance.get_path();},
GetItem:function(ItemID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetItem',false,{ItemID:ItemID},succeededCallback,failedCallback,userContext); }}
Spin.Web.galleryService.registerClass('Spin.Web.galleryService',Sys.Net.WebServiceProxy);
Spin.Web.galleryService._staticInstance = new Spin.Web.galleryService();
Spin.Web.galleryService.set_path = function(value) { Spin.Web.galleryService._staticInstance.set_path(value); }
Spin.Web.galleryService.get_path = function() { return Spin.Web.galleryService._staticInstance.get_path(); }
Spin.Web.galleryService.set_timeout = function(value) { Spin.Web.galleryService._staticInstance.set_timeout(value); }
Spin.Web.galleryService.get_timeout = function() { return Spin.Web.galleryService._staticInstance.get_timeout(); }
Spin.Web.galleryService.set_defaultUserContext = function(value) { Spin.Web.galleryService._staticInstance.set_defaultUserContext(value); }
Spin.Web.galleryService.get_defaultUserContext = function() { return Spin.Web.galleryService._staticInstance.get_defaultUserContext(); }
Spin.Web.galleryService.set_defaultSucceededCallback = function(value) { Spin.Web.galleryService._staticInstance.set_defaultSucceededCallback(value); }
Spin.Web.galleryService.get_defaultSucceededCallback = function() { return Spin.Web.galleryService._staticInstance.get_defaultSucceededCallback(); }
Spin.Web.galleryService.set_defaultFailedCallback = function(value) { Spin.Web.galleryService._staticInstance.set_defaultFailedCallback(value); }
Spin.Web.galleryService.get_defaultFailedCallback = function() { return Spin.Web.galleryService._staticInstance.get_defaultFailedCallback(); }
Spin.Web.galleryService.set_path("/galleryService.asmx");
Spin.Web.galleryService.GetItem= function(ItemID,onSuccess,onFailed,userContext) {Spin.Web.galleryService._staticInstance.GetItem(ItemID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Spin.Web.GalleryItem) === 'undefined') {
Spin.Web.GalleryItem=gtc("Spin.Web.GalleryItem");
Spin.Web.GalleryItem.registerClass('Spin.Web.GalleryItem');
}
