var IDXService=function() {
IDXService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IDXService.prototype={
SearchTown:function(Town,count,succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'SearchTown',false,{Town:Town,count:count},succeededCallback,failedCallback,userContext); },
GetPropCount:function(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'GetPropCount',false,{LPmin:LPmin,LPMax:LPMax,beds:beds,baths:baths,toplat:toplat,toplng:toplng,botlat:botlat,botlng:botlng,townid:townid,Zipcode:Zipcode,garges:garges,Style:Style,YearsOld:YearsOld,DOM:DOM,acres:acres,SqFt:SqFt},succeededCallback,failedCallback,userContext); },
GetTotalPropCount:function(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'GetTotalPropCount',false,{LPmin:LPmin,LPMax:LPMax,beds:beds,baths:baths,toplat:toplat,toplng:toplng,botlat:botlat,botlng:botlng,townid:townid,Zipcode:Zipcode,garges:garges,Style:Style,YearsOld:YearsOld,DOM:DOM,acres:acres,SqFt:SqFt},succeededCallback,failedCallback,userContext); },
GetProperties:function(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'GetProperties',false,{LPmin:LPmin,LPMax:LPMax,beds:beds,baths:baths,toplat:toplat,toplng:toplng,botlat:botlat,botlng:botlng,townid:townid,Zipcode:Zipcode,garges:garges,Style:Style,YearsOld:YearsOld,DOM:DOM,acres:acres,SqFt:SqFt},succeededCallback,failedCallback,userContext); },
GetTowns:function(succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'GetTowns',false,{},succeededCallback,failedCallback,userContext); },
GetTripleyPlay:function(succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'GetTripleyPlay',false,{},succeededCallback,failedCallback,userContext); },
GetPropertiesInfo:function(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'GetPropertiesInfo',false,{LPmin:LPmin,LPMax:LPMax,beds:beds,baths:baths,toplat:toplat,toplng:toplng,botlat:botlat,botlng:botlng,townid:townid,Zipcode:Zipcode,garges:garges,Style:Style,YearsOld:YearsOld,DOM:DOM,acres:acres,SqFt:SqFt},succeededCallback,failedCallback,userContext); },
GetPropertiesImages:function(ImageMLSNUM,succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'GetPropertiesImages',false,{ImageMLSNUM:ImageMLSNUM},succeededCallback,failedCallback,userContext); },
GetZipPoly:function(zipcode,succeededCallback, failedCallback, userContext) {
return this._invoke(IDXService.get_path(), 'GetZipPoly',false,{zipcode:zipcode},succeededCallback,failedCallback,userContext); }}
IDXService.registerClass('IDXService',Sys.Net.WebServiceProxy);
IDXService._staticInstance = new IDXService();
IDXService.set_path = function(value) { IDXService._staticInstance._path = value; }
IDXService.get_path = function() { return IDXService._staticInstance._path; }
IDXService.set_timeout = function(value) { IDXService._staticInstance._timeout = value; }
IDXService.get_timeout = function() { return IDXService._staticInstance._timeout; }
IDXService.set_defaultUserContext = function(value) { IDXService._staticInstance._userContext = value; }
IDXService.get_defaultUserContext = function() { return IDXService._staticInstance._userContext; }
IDXService.set_defaultSucceededCallback = function(value) { IDXService._staticInstance._succeeded = value; }
IDXService.get_defaultSucceededCallback = function() { return IDXService._staticInstance._succeeded; }
IDXService.set_defaultFailedCallback = function(value) { IDXService._staticInstance._failed = value; }
IDXService.get_defaultFailedCallback = function() { return IDXService._staticInstance._failed; }
IDXService.set_path("/WebService.asmx");
IDXService.SearchTown= function(Town,count,onSuccess,onFailed,userContext) {IDXService._staticInstance.SearchTown(Town,count,onSuccess,onFailed,userContext); }
IDXService.GetPropCount= function(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,onSuccess,onFailed,userContext) {IDXService._staticInstance.GetPropCount(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,onSuccess,onFailed,userContext); }
IDXService.GetTotalPropCount= function(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,onSuccess,onFailed,userContext) {IDXService._staticInstance.GetTotalPropCount(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,onSuccess,onFailed,userContext); }
IDXService.GetProperties= function(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,onSuccess,onFailed,userContext) {IDXService._staticInstance.GetProperties(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,onSuccess,onFailed,userContext); }
IDXService.GetTowns= function(onSuccess,onFailed,userContext) {IDXService._staticInstance.GetTowns(onSuccess,onFailed,userContext); }
IDXService.GetTripleyPlay= function(onSuccess,onFailed,userContext) {IDXService._staticInstance.GetTripleyPlay(onSuccess,onFailed,userContext); }
IDXService.GetPropertiesInfo= function(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,onSuccess,onFailed,userContext) {IDXService._staticInstance.GetPropertiesInfo(LPmin,LPMax,beds,baths,toplat,toplng,botlat,botlng,townid,Zipcode,garges,Style,YearsOld,DOM,acres,SqFt,onSuccess,onFailed,userContext); }
IDXService.GetPropertiesImages= function(ImageMLSNUM,onSuccess,onFailed,userContext) {IDXService._staticInstance.GetPropertiesImages(ImageMLSNUM,onSuccess,onFailed,userContext); }
IDXService.GetZipPoly= function(zipcode,onSuccess,onFailed,userContext) {IDXService._staticInstance.GetZipPoly(zipcode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(IDXService_Towns) === 'undefined') {
var IDXService_Towns=gtc("IDXService+Towns");
IDXService_Towns.registerClass('IDXService_Towns');
}
if (typeof(IDXService_TriplePlay) === 'undefined') {
var IDXService_TriplePlay=gtc("IDXService+TriplePlay");
IDXService_TriplePlay.registerClass('IDXService_TriplePlay');
}
if (typeof(IDXService_Properties) === 'undefined') {
var IDXService_Properties=gtc("IDXService+Properties");
IDXService_Properties.registerClass('IDXService_Properties');
}
if (typeof(IDXService_ImagesList) === 'undefined') {
var IDXService_ImagesList=gtc("IDXService+ImagesList");
IDXService_ImagesList.registerClass('IDXService_ImagesList');
}
if (typeof(IDXService_polygonlines) === 'undefined') {
var IDXService_polygonlines=gtc("IDXService+polygonlines");
IDXService_polygonlines.registerClass('IDXService_polygonlines');
}

