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