var ClickGoToUrl=function() {
ClickGoToUrl.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ClickGoToUrl.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ClickGoToUrl._staticInstance.get_path();},
DoClick:function(TherapistId,SearchType,succeededCallback, failedCallback, userContext) {
/// <param name="TherapistId" type="String">System.String</param>
/// <param name="SearchType" 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(), 'DoClick',false,{TherapistId:TherapistId,SearchType:SearchType},succeededCallback,failedCallback,userContext); }}
ClickGoToUrl.registerClass('ClickGoToUrl',Sys.Net.WebServiceProxy);
ClickGoToUrl._staticInstance = new ClickGoToUrl();
ClickGoToUrl.set_path = function(value) {
ClickGoToUrl._staticInstance.set_path(value); }
ClickGoToUrl.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ClickGoToUrl._staticInstance.get_path();}
ClickGoToUrl.set_timeout = function(value) {
ClickGoToUrl._staticInstance.set_timeout(value); }
ClickGoToUrl.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ClickGoToUrl._staticInstance.get_timeout(); }
ClickGoToUrl.set_defaultUserContext = function(value) { 
ClickGoToUrl._staticInstance.set_defaultUserContext(value); }
ClickGoToUrl.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ClickGoToUrl._staticInstance.get_defaultUserContext(); }
ClickGoToUrl.set_defaultSucceededCallback = function(value) { 
 ClickGoToUrl._staticInstance.set_defaultSucceededCallback(value); }
ClickGoToUrl.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ClickGoToUrl._staticInstance.get_defaultSucceededCallback(); }
ClickGoToUrl.set_defaultFailedCallback = function(value) { 
ClickGoToUrl._staticInstance.set_defaultFailedCallback(value); }
ClickGoToUrl.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ClickGoToUrl._staticInstance.get_defaultFailedCallback(); }
ClickGoToUrl.set_enableJsonp = function(value) { ClickGoToUrl._staticInstance.set_enableJsonp(value); }
ClickGoToUrl.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return ClickGoToUrl._staticInstance.get_enableJsonp(); }
ClickGoToUrl.set_jsonpCallbackParameter = function(value) { ClickGoToUrl._staticInstance.set_jsonpCallbackParameter(value); }
ClickGoToUrl.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return ClickGoToUrl._staticInstance.get_jsonpCallbackParameter(); }
ClickGoToUrl.set_path("/WebSrvc/ClickGoToUrl.asmx");
ClickGoToUrl.DoClick= function(TherapistId,SearchType,onSuccess,onFailed,userContext) {
/// <param name="TherapistId" type="String">System.String</param>
/// <param name="SearchType" 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>
ClickGoToUrl._staticInstance.DoClick(TherapistId,SearchType,onSuccess,onFailed,userContext); }

