if(typeof AIKON == "undefined") AIKON={};
if(typeof AIKON.eNekretnineLive == "undefined") AIKON.eNekretnineLive={};
if(typeof AIKON.eNekretnineLive.WebServices == "undefined") AIKON.eNekretnineLive.WebServices={};
AIKON.eNekretnineLive.WebServices.WebService_class = function() {};
Object.extend(AIKON.eNekretnineLive.WebServices.WebService_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	CountryCity_GetCountries: function(portalId, entity, transactionTypeId) {
		return this.invoke("CountryCity_GetCountries", {"portalId":portalId, "entity":entity, "transactionTypeId":transactionTypeId}, this.CountryCity_GetCountries.getArguments().slice(3));
	},
	CountryCity_GetCitiesByCountry: function(portalId, entity, transactionTypeId, countryId) {
		return this.invoke("CountryCity_GetCitiesByCountry", {"portalId":portalId, "entity":entity, "transactionTypeId":transactionTypeId, "countryId":countryId}, this.CountryCity_GetCitiesByCountry.getArguments().slice(4));
	},
	CountryCity_GetAreasByCountryCity: function(portalId, entity, transactionTypeId, cityId) {
		return this.invoke("CountryCity_GetAreasByCountryCity", {"portalId":portalId, "entity":entity, "transactionTypeId":transactionTypeId, "cityId":cityId}, this.CountryCity_GetAreasByCountryCity.getArguments().slice(4));
	},
	City_MapSearch: function(type, latitudeTopLeft, longitudeTopLeft, latitudeBottomRight, longitudeBottomRight) {
		return this.invoke("City_MapSearch", {"type":type, "latitudeTopLeft":latitudeTopLeft, "longitudeTopLeft":longitudeTopLeft, "latitudeBottomRight":latitudeBottomRight, "longitudeBottomRight":longitudeBottomRight}, this.City_MapSearch.getArguments().slice(5));
	},
	Lead_SetView: function(LeadID, View) {
		return this.invoke("Lead_SetView", {"LeadID":LeadID, "View":View}, this.Lead_SetView.getArguments().slice(2));
	},
	Listing_GetTotalNumberOfResults: function(transactionTypeId, typeId, countryId, cityId, areaId, addressLine, MinPrice, MaxPrice, OnlyWithPicture, PortalID) {
		return this.invoke("Listing_GetTotalNumberOfResults", {"transactionTypeId":transactionTypeId, "typeId":typeId, "countryId":countryId, "cityId":cityId, "areaId":areaId, "addressLine":addressLine, "MinPrice":MinPrice, "MaxPrice":MaxPrice, "OnlyWithPicture":OnlyWithPicture, "PortalID":PortalID}, this.Listing_GetTotalNumberOfResults.getArguments().slice(10));
	},
	Listing_MapSearch: function(latitudeTopLeft, longitudeTopLeft, latitudeBottomRight, longitudeBottomRight) {
		return this.invoke("Listing_MapSearch", {"latitudeTopLeft":latitudeTopLeft, "longitudeTopLeft":longitudeTopLeft, "latitudeBottomRight":latitudeBottomRight, "longitudeBottomRight":longitudeBottomRight}, this.Listing_MapSearch.getArguments().slice(4));
	},
	PropertyType_GetAllByTransactionTypeID: function(transactionTypeID, languageResource) {
		return this.invoke("PropertyType_GetAllByTransactionTypeID", {"transactionTypeID":transactionTypeID, "languageResource":languageResource}, this.PropertyType_GetAllByTransactionTypeID.getArguments().slice(2));
	},
	Registration_UserNameExists: function(userName) {
		return this.invoke("Registration_UserNameExists", {"userName":userName}, this.Registration_UserNameExists.getArguments().slice(1));
	},
	Registration_EmailExists: function(email) {
		return this.invoke("Registration_EmailExists", {"email":email}, this.Registration_EmailExists.getArguments().slice(1));
	},
	TransactionTypePrice_GetTransactionTypes: function(languageResource) {
		return this.invoke("TransactionTypePrice_GetTransactionTypes", {"languageResource":languageResource}, this.TransactionTypePrice_GetTransactionTypes.getArguments().slice(1));
	},
	TransactionTypePrice_GetPricesByTransactionType: function(languageResource, transactionType) {
		return this.invoke("TransactionTypePrice_GetPricesByTransactionType", {"languageResource":languageResource, "transactionType":transactionType}, this.TransactionTypePrice_GetPricesByTransactionType.getArguments().slice(2));
	},
	Agency_MapSearch: function(latitudeTopLeft, longitudeTopLeft, latitudeBottomRight, longitudeBottomRight) {
		return this.invoke("Agency_MapSearch", {"latitudeTopLeft":latitudeTopLeft, "longitudeTopLeft":longitudeTopLeft, "latitudeBottomRight":latitudeBottomRight, "longitudeBottomRight":longitudeBottomRight}, this.Agency_MapSearch.getArguments().slice(4));
	},
	url: '/ajaxpro/AIKON.eNekretnineLive.WebServices.WebService,AIKON.eNekretnineLive.ashx'
}));
AIKON.eNekretnineLive.WebServices.WebService = new AIKON.eNekretnineLive.WebServices.WebService_class();

