var SearchFormService=function() {
SearchFormService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SearchFormService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SearchFormService._staticInstance.get_path();},
GetNightRanges:function(from,to,destination,succeededCallback, failedCallback, userContext) {
/// <param name="from" type="Date">System.DateTime</param>
/// <param name="to" type="Date">System.DateTime</param>
/// <param name="destination" 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(), 'GetNightRanges',false,{from:from,to:to,destination:destination},succeededCallback,failedCallback,userContext); }}
SearchFormService.registerClass('SearchFormService',Sys.Net.WebServiceProxy);
SearchFormService._staticInstance = new SearchFormService();
SearchFormService.set_path = function(value) {
SearchFormService._staticInstance.set_path(value); }
SearchFormService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return SearchFormService._staticInstance.get_path();}
SearchFormService.set_timeout = function(value) {
SearchFormService._staticInstance.set_timeout(value); }
SearchFormService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return SearchFormService._staticInstance.get_timeout(); }
SearchFormService.set_defaultUserContext = function(value) { 
SearchFormService._staticInstance.set_defaultUserContext(value); }
SearchFormService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return SearchFormService._staticInstance.get_defaultUserContext(); }
SearchFormService.set_defaultSucceededCallback = function(value) { 
 SearchFormService._staticInstance.set_defaultSucceededCallback(value); }
SearchFormService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return SearchFormService._staticInstance.get_defaultSucceededCallback(); }
SearchFormService.set_defaultFailedCallback = function(value) { 
SearchFormService._staticInstance.set_defaultFailedCallback(value); }
SearchFormService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return SearchFormService._staticInstance.get_defaultFailedCallback(); }
SearchFormService.set_path("/WebServices/SearchFormService.asmx");
SearchFormService.GetNightRanges= function(from,to,destination,onSuccess,onFailed,userContext) {
/// <param name="from" type="Date">System.DateTime</param>
/// <param name="to" type="Date">System.DateTime</param>
/// <param name="destination" 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>
SearchFormService._staticInstance.GetNightRanges(from,to,destination,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Web.UI.WebControls');
if (typeof(System.Web.UI.WebControls.ListItem) === 'undefined') {
System.Web.UI.WebControls.ListItem=gtc("System.Web.UI.WebControls.ListItem");
System.Web.UI.WebControls.ListItem.registerClass('System.Web.UI.WebControls.ListItem');
}

