var Service=function() {
Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Service.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Service._staticInstance.get_path();},
Register:function(userID,pageID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Register',false,{userID:userID,pageID:pageID},succeededCallback,failedCallback,userContext); },
GetLargeImage:function(fileID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLargeImage',false,{fileID:fileID},succeededCallback,failedCallback,userContext); }}
Service.registerClass('Service',Sys.Net.WebServiceProxy);
Service._staticInstance = new Service();
Service.set_path = function(value) { Service._staticInstance.set_path(value); }
Service.get_path = function() { return Service._staticInstance.get_path(); }
Service.set_timeout = function(value) { Service._staticInstance.set_timeout(value); }
Service.get_timeout = function() { return Service._staticInstance.get_timeout(); }
Service.set_defaultUserContext = function(value) { Service._staticInstance.set_defaultUserContext(value); }
Service.get_defaultUserContext = function() { return Service._staticInstance.get_defaultUserContext(); }
Service.set_defaultSucceededCallback = function(value) { Service._staticInstance.set_defaultSucceededCallback(value); }
Service.get_defaultSucceededCallback = function() { return Service._staticInstance.get_defaultSucceededCallback(); }
Service.set_defaultFailedCallback = function(value) { Service._staticInstance.set_defaultFailedCallback(value); }
Service.get_defaultFailedCallback = function() { return Service._staticInstance.get_defaultFailedCallback(); }
Service.set_path("/Service.svc");
Service.Register= function(userID,pageID,onSuccess,onFailed,userContext) {Service._staticInstance.Register(userID,pageID,onSuccess,onFailed,userContext); }
Service.GetLargeImage= function(fileID,onSuccess,onFailed,userContext) {Service._staticInstance.GetLargeImage(fileID,onSuccess,onFailed,userContext); }

