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

