var globalWebService=function() {
globalWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
globalWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return globalWebService._staticInstance.get_path();},
AddToFavourites:function(controlname,email,nodeid,succeededCallback, failedCallback, userContext) {
/// <param name="controlname" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="nodeid" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AddToFavourites',false,{controlname:controlname,email:email,nodeid:nodeid},succeededCallback,failedCallback,userContext); },
RemoveFromFavourites:function(controlname,email,nodeid,succeededCallback, failedCallback, userContext) {
/// <param name="controlname" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="nodeid" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'RemoveFromFavourites',false,{controlname:controlname,email:email,nodeid:nodeid},succeededCallback,failedCallback,userContext); }}
globalWebService.registerClass('globalWebService',Sys.Net.WebServiceProxy);
globalWebService._staticInstance = new globalWebService();
globalWebService.set_path = function(value) {
globalWebService._staticInstance.set_path(value); }
globalWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return globalWebService._staticInstance.get_path();}
globalWebService.set_timeout = function(value) {
globalWebService._staticInstance.set_timeout(value); }
globalWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return globalWebService._staticInstance.get_timeout(); }
globalWebService.set_defaultUserContext = function(value) { 
globalWebService._staticInstance.set_defaultUserContext(value); }
globalWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return globalWebService._staticInstance.get_defaultUserContext(); }
globalWebService.set_defaultSucceededCallback = function(value) { 
 globalWebService._staticInstance.set_defaultSucceededCallback(value); }
globalWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return globalWebService._staticInstance.get_defaultSucceededCallback(); }
globalWebService.set_defaultFailedCallback = function(value) { 
globalWebService._staticInstance.set_defaultFailedCallback(value); }
globalWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return globalWebService._staticInstance.get_defaultFailedCallback(); }
globalWebService.set_path("/scripts/globalWebService.asmx");
globalWebService.AddToFavourites= function(controlname,email,nodeid,onSuccess,onFailed,userContext) {
/// <param name="controlname" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="nodeid" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
globalWebService._staticInstance.AddToFavourites(controlname,email,nodeid,onSuccess,onFailed,userContext); }
globalWebService.RemoveFromFavourites= function(controlname,email,nodeid,onSuccess,onFailed,userContext) {
/// <param name="controlname" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="nodeid" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
globalWebService._staticInstance.RemoveFromFavourites(controlname,email,nodeid,onSuccess,onFailed,userContext); }

