var NotebookWS=function() {
NotebookWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NotebookWS.prototype={
GetUserStatus:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(NotebookWS.get_path(), 'GetUserStatus',false,{userName:userName},succeededCallback,failedCallback,userContext); },
GetCurNoteID:function(succeededCallback, failedCallback, userContext) {
return this._invoke(NotebookWS.get_path(), 'GetCurNoteID',false,{},succeededCallback,failedCallback,userContext); }}
NotebookWS.registerClass('NotebookWS',Sys.Net.WebServiceProxy);
NotebookWS._staticInstance = new NotebookWS();
NotebookWS.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; NotebookWS._staticInstance._path = value; }
NotebookWS.get_path = function() { return NotebookWS._staticInstance._path; }
NotebookWS.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); }
NotebookWS._staticInstance._timeout = value; }
NotebookWS.get_timeout = function() { 
return NotebookWS._staticInstance._timeout; }
NotebookWS.set_defaultUserContext = function(value) { 
NotebookWS._staticInstance._userContext = value; }
NotebookWS.get_defaultUserContext = function() { 
return NotebookWS._staticInstance._userContext; }
NotebookWS.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; NotebookWS._staticInstance._succeeded = value; }
NotebookWS.get_defaultSucceededCallback = function() { 
return NotebookWS._staticInstance._succeeded; }
NotebookWS.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; NotebookWS._staticInstance._failed = value; }
NotebookWS.get_defaultFailedCallback = function() { 
return NotebookWS._staticInstance._failed; }
NotebookWS.set_path("/WebService/NotebookWS.asmx");
NotebookWS.GetUserStatus= function(userName,onSuccess,onFailed,userContext) {NotebookWS._staticInstance.GetUserStatus(userName,onSuccess,onFailed,userContext); }
NotebookWS.GetCurNoteID= function(onSuccess,onFailed,userContext) {NotebookWS._staticInstance.GetCurNoteID(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(UserStateInfo) === 'undefined') {
var UserStateInfo=gtc("UserStateInfo");
UserStateInfo.registerClass('UserStateInfo');
}
