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