var SearchRE=function() {
SearchRE.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SearchRE.prototype={
DoSearchHomes:function(counter,SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,SouthWestLat,SouthWestLng,NorthEastLat,NorthEastLng,coursesList,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'DoSearchHomes',false,{counter:counter,SiteID:SiteID,minPrice:minPrice,maxPrice:maxPrice,rooms:rooms,bathrooms:bathrooms,sqft:sqft,SouthWestLat:SouthWestLat,SouthWestLng:SouthWestLng,NorthEastLat:NorthEastLat,NorthEastLng:NorthEastLng,coursesList:coursesList,zipList:zipList,minYearBuilt:minYearBuilt,minLotSize:minLotSize,maxLotSize:maxLotSize,fireplace:fireplace,pool:pool,land:land,homes:homes,water:water,owner:owner,ranch:ranch,remote:remote,commercial:commercial,improved:improved,recent:recent,intown:intown},succeededCallback,failedCallback,userContext); },
HomesFind:function(SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,coursesList,sortCriteria,pageSize,pageNumber,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'HomesFind',false,{SiteID:SiteID,minPrice:minPrice,maxPrice:maxPrice,rooms:rooms,bathrooms:bathrooms,sqft:sqft,coursesList:coursesList,sortCriteria:sortCriteria,pageSize:pageSize,pageNumber:pageNumber,zipList:zipList,minYearBuilt:minYearBuilt,minLotSize:minLotSize,maxLotSize:maxLotSize,fireplace:fireplace,pool:pool,land:land,homes:homes,water:water,owner:owner,ranch:ranch,remote:remote,commercial:commercial,improved:improved,recent:recent,intown:intown},succeededCallback,failedCallback,userContext); },
HomesFindByMLSNumber:function(SiteID,ml_number,pageSize,pageNumber,sortCriteria,mapInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'HomesFindByMLSNumber',false,{SiteID:SiteID,ml_number:ml_number,pageSize:pageSize,pageNumber:pageNumber,sortCriteria:sortCriteria,mapInfo:mapInfo},succeededCallback,failedCallback,userContext); },
HomesFindByStreetAddress:function(SiteID,number,street,city,pageSize,pageNumber,sortCriteria,mapInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'HomesFindByStreetAddress',false,{SiteID:SiteID,number:number,street:street,city:city,pageSize:pageSize,pageNumber:pageNumber,sortCriteria:sortCriteria,mapInfo:mapInfo},succeededCallback,failedCallback,userContext); },
OutlineBounds:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'OutlineBounds',false,{id:id},succeededCallback,failedCallback,userContext); },
HomesFindTotal:function(SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,coursesList,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'HomesFindTotal',false,{SiteID:SiteID,minPrice:minPrice,maxPrice:maxPrice,rooms:rooms,bathrooms:bathrooms,sqft:sqft,coursesList:coursesList,zipList:zipList,minYearBuilt:minYearBuilt,minLotSize:minLotSize,maxLotSize:maxLotSize,fireplace:fireplace,pool:pool,land:land,homes:homes,water:water,owner:owner,ranch:ranch,remote:remote,commercial:commercial,improved:improved,recent:recent,intown:intown},succeededCallback,failedCallback,userContext); },
HomesFindTotalAddress:function(SiteID,number,street,city,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'HomesFindTotalAddress',false,{SiteID:SiteID,number:number,street:street,city:city},succeededCallback,failedCallback,userContext); },
HomesFindGetHomeDetails:function(SiteID,ml_number,print,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'HomesFindGetHomeDetails',false,{SiteID:SiteID,ml_number:ml_number,print:print},succeededCallback,failedCallback,userContext); },
SaveCourseOutline:function(SiteID,CourseId,OutlineArray,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'SaveCourseOutline',false,{SiteID:SiteID,CourseId:CourseId,OutlineArray:OutlineArray},succeededCallback,failedCallback,userContext); },
GetCourseOutlines:function(SiteID,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'GetCourseOutlines',false,{SiteID:SiteID},succeededCallback,failedCallback,userContext); },
GetList:function(SiteID,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'GetList',false,{SiteID:SiteID},succeededCallback,failedCallback,userContext); },
GetCitiesListCA:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'GetCitiesListCA',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCitiesListMT:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'GetCitiesListMT',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetStreetsListCA:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'GetStreetsListCA',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetStreetsListMT:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(SearchRE.get_path(), 'GetStreetsListMT',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
SearchRE.registerClass('SearchRE',Sys.Net.WebServiceProxy);
SearchRE._staticInstance = new SearchRE();
SearchRE.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; SearchRE._staticInstance._path = value; }
SearchRE.get_path = function() { return SearchRE._staticInstance._path; }
SearchRE.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); }
SearchRE._staticInstance._timeout = value; }
SearchRE.get_timeout = function() { 
return SearchRE._staticInstance._timeout; }
SearchRE.set_defaultUserContext = function(value) { 
SearchRE._staticInstance._userContext = value; }
SearchRE.get_defaultUserContext = function() { 
return SearchRE._staticInstance._userContext; }
SearchRE.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; SearchRE._staticInstance._succeeded = value; }
SearchRE.get_defaultSucceededCallback = function() { 
return SearchRE._staticInstance._succeeded; }
SearchRE.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; SearchRE._staticInstance._failed = value; }
SearchRE.get_defaultFailedCallback = function() { 
return SearchRE._staticInstance._failed; }
SearchRE.set_path("/SearchRE.asmx");
SearchRE.DoSearchHomes= function(counter,SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,SouthWestLat,SouthWestLng,NorthEastLat,NorthEastLng,coursesList,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,onSuccess,onFailed,userContext) {SearchRE._staticInstance.DoSearchHomes(counter,SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,SouthWestLat,SouthWestLng,NorthEastLat,NorthEastLng,coursesList,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,onSuccess,onFailed,userContext); }
SearchRE.HomesFind= function(SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,coursesList,sortCriteria,pageSize,pageNumber,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,onSuccess,onFailed,userContext) {SearchRE._staticInstance.HomesFind(SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,coursesList,sortCriteria,pageSize,pageNumber,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,onSuccess,onFailed,userContext); }
SearchRE.HomesFindByMLSNumber= function(SiteID,ml_number,pageSize,pageNumber,sortCriteria,mapInfo,onSuccess,onFailed,userContext) {SearchRE._staticInstance.HomesFindByMLSNumber(SiteID,ml_number,pageSize,pageNumber,sortCriteria,mapInfo,onSuccess,onFailed,userContext); }
SearchRE.HomesFindByStreetAddress= function(SiteID,number,street,city,pageSize,pageNumber,sortCriteria,mapInfo,onSuccess,onFailed,userContext) {SearchRE._staticInstance.HomesFindByStreetAddress(SiteID,number,street,city,pageSize,pageNumber,sortCriteria,mapInfo,onSuccess,onFailed,userContext); }
SearchRE.OutlineBounds= function(id,onSuccess,onFailed,userContext) {SearchRE._staticInstance.OutlineBounds(id,onSuccess,onFailed,userContext); }
SearchRE.HomesFindTotal= function(SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,coursesList,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,onSuccess,onFailed,userContext) {SearchRE._staticInstance.HomesFindTotal(SiteID,minPrice,maxPrice,rooms,bathrooms,sqft,coursesList,zipList,minYearBuilt,minLotSize,maxLotSize,fireplace,pool,land,homes,water,owner,ranch,remote,commercial,improved,recent,intown,onSuccess,onFailed,userContext); }
SearchRE.HomesFindTotalAddress= function(SiteID,number,street,city,onSuccess,onFailed,userContext) {SearchRE._staticInstance.HomesFindTotalAddress(SiteID,number,street,city,onSuccess,onFailed,userContext); }
SearchRE.HomesFindGetHomeDetails= function(SiteID,ml_number,print,onSuccess,onFailed,userContext) {SearchRE._staticInstance.HomesFindGetHomeDetails(SiteID,ml_number,print,onSuccess,onFailed,userContext); }
SearchRE.SaveCourseOutline= function(SiteID,CourseId,OutlineArray,onSuccess,onFailed,userContext) {SearchRE._staticInstance.SaveCourseOutline(SiteID,CourseId,OutlineArray,onSuccess,onFailed,userContext); }
SearchRE.GetCourseOutlines= function(SiteID,onSuccess,onFailed,userContext) {SearchRE._staticInstance.GetCourseOutlines(SiteID,onSuccess,onFailed,userContext); }
SearchRE.GetList= function(SiteID,onSuccess,onFailed,userContext) {SearchRE._staticInstance.GetList(SiteID,onSuccess,onFailed,userContext); }
SearchRE.GetCitiesListCA= function(prefixText,count,onSuccess,onFailed,userContext) {SearchRE._staticInstance.GetCitiesListCA(prefixText,count,onSuccess,onFailed,userContext); }
SearchRE.GetCitiesListMT= function(prefixText,count,onSuccess,onFailed,userContext) {SearchRE._staticInstance.GetCitiesListMT(prefixText,count,onSuccess,onFailed,userContext); }
SearchRE.GetStreetsListCA= function(prefixText,count,onSuccess,onFailed,userContext) {SearchRE._staticInstance.GetStreetsListCA(prefixText,count,onSuccess,onFailed,userContext); }
SearchRE.GetStreetsListMT= function(prefixText,count,onSuccess,onFailed,userContext) {SearchRE._staticInstance.GetStreetsListMT(prefixText,count,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
