var WS_Session=function() {
WS_Session.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WS_Session.prototype={
RestoreSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Session.get_path(), 'RestoreSession',false,{},succeededCallback,failedCallback,userContext); }}
WS_Session.registerClass('WS_Session',Sys.Net.WebServiceProxy);
WS_Session._staticInstance = new WS_Session();
WS_Session.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WS_Session._staticInstance._path = value; }
WS_Session.get_path = function() { return WS_Session._staticInstance._path; }
WS_Session.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
WS_Session._staticInstance._timeout = value; }
WS_Session.get_timeout = function() { 
return WS_Session._staticInstance._timeout; }
WS_Session.set_defaultUserContext = function(value) { 
WS_Session._staticInstance._userContext = value; }
WS_Session.get_defaultUserContext = function() { 
return WS_Session._staticInstance._userContext; }
WS_Session.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WS_Session._staticInstance._succeeded = value; }
WS_Session.get_defaultSucceededCallback = function() { 
return WS_Session._staticInstance._succeeded; }
WS_Session.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WS_Session._staticInstance._failed = value; }
WS_Session.get_defaultFailedCallback = function() { 
return WS_Session._staticInstance._failed; }
WS_Session.set_path("/Personal/WS_Session.asmx");
WS_Session.RestoreSession= function(onSuccess,onFailed,userContext) {WS_Session._staticInstance.RestoreSession(onSuccess,onFailed,userContext); }
