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