Type.registerNamespace('Dlink_New_Site.WS');
Dlink_New_Site.WS.MasterProcesses=function() {
Dlink_New_Site.WS.MasterProcesses.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Dlink_New_Site.WS.MasterProcesses.prototype={
Search:function(term,searchMethod,succeededCallback, failedCallback, userContext) {
return this._invoke(Dlink_New_Site.WS.MasterProcesses.get_path(), 'Search',false,{term:term,searchMethod:searchMethod},succeededCallback,failedCallback,userContext); }}
Dlink_New_Site.WS.MasterProcesses.registerClass('Dlink_New_Site.WS.MasterProcesses',Sys.Net.WebServiceProxy);
Dlink_New_Site.WS.MasterProcesses._staticInstance = new Dlink_New_Site.WS.MasterProcesses();
Dlink_New_Site.WS.MasterProcesses.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Dlink_New_Site.WS.MasterProcesses._staticInstance._path = value; }
Dlink_New_Site.WS.MasterProcesses.get_path = function() { return Dlink_New_Site.WS.MasterProcesses._staticInstance._path; }
Dlink_New_Site.WS.MasterProcesses.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); }
Dlink_New_Site.WS.MasterProcesses._staticInstance._timeout = value; }
Dlink_New_Site.WS.MasterProcesses.get_timeout = function() { 
return Dlink_New_Site.WS.MasterProcesses._staticInstance._timeout; }
Dlink_New_Site.WS.MasterProcesses.set_defaultUserContext = function(value) { 
Dlink_New_Site.WS.MasterProcesses._staticInstance._userContext = value; }
Dlink_New_Site.WS.MasterProcesses.get_defaultUserContext = function() { 
return Dlink_New_Site.WS.MasterProcesses._staticInstance._userContext; }
Dlink_New_Site.WS.MasterProcesses.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Dlink_New_Site.WS.MasterProcesses._staticInstance._succeeded = value; }
Dlink_New_Site.WS.MasterProcesses.get_defaultSucceededCallback = function() { 
return Dlink_New_Site.WS.MasterProcesses._staticInstance._succeeded; }
Dlink_New_Site.WS.MasterProcesses.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Dlink_New_Site.WS.MasterProcesses._staticInstance._failed = value; }
Dlink_New_Site.WS.MasterProcesses.get_defaultFailedCallback = function() { 
return Dlink_New_Site.WS.MasterProcesses._staticInstance._failed; }
Dlink_New_Site.WS.MasterProcesses.set_path("/WS/MasterProcesses.asmx");
Dlink_New_Site.WS.MasterProcesses.Search= function(term,searchMethod,onSuccess,onFailed,userContext) {Dlink_New_Site.WS.MasterProcesses._staticInstance.Search(term,searchMethod,onSuccess,onFailed,userContext); }
