if(typeof ajaxFunctions == "undefined") ajaxFunctions={};
ajaxFunctions_class = function() {};
Object.extend(ajaxFunctions_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCities: function(CountryID) {
		return this.invoke("GetCities", {"CountryID":CountryID}, this.GetCities.getArguments().slice(1));
	},
	GetCounty: function() {
		return this.invoke("GetCounty", {}, this.GetCounty.getArguments().slice(0));
	},
	AddPropertyToFavorite: function(PropertyId, operation) {
		return this.invoke("AddPropertyToFavorite", {"PropertyId":PropertyId, "operation":operation}, this.AddPropertyToFavorite.getArguments().slice(2));
	},
	SelectNoOfFavorite: function() {
		return this.invoke("SelectNoOfFavorite", {}, this.SelectNoOfFavorite.getArguments().slice(0));
	},
	AskTheOwner: function(UserName, EmailAddress, Message, PropertyID, IsViewProperty, referralCode, IsOnlineAgent, strPhoneno, strAddress, strpropertyData, chIsMoreDetails) {
		return this.invoke("AskTheOwner", {"UserName":UserName, "EmailAddress":EmailAddress, "Message":Message, "PropertyID":PropertyID, "IsViewProperty":IsViewProperty, "referralCode":referralCode, "IsOnlineAgent":IsOnlineAgent, "strPhoneno":strPhoneno, "strAddress":strAddress, "strpropertyData":strpropertyData, "chIsMoreDetails":chIsMoreDetails}, this.AskTheOwner.getArguments().slice(11));
	},
	GetOwnerPhoneNumber: function(BuyerName, BuyerEmailAddress, PropertyID, isOnlineAgent) {
		return this.invoke("GetOwnerPhoneNumber", {"BuyerName":BuyerName, "BuyerEmailAddress":BuyerEmailAddress, "PropertyID":PropertyID, "isOnlineAgent":isOnlineAgent}, this.GetOwnerPhoneNumber.getArguments().slice(4));
	},
	SetFavoritiesForSearchForSale: function(gvPageIndex, minprice, maxprice, minbed, minbath, szLocation, chkRefRewards, chkIsSold, strSearchText, strSearchType) {
		return this.invoke("SetFavoritiesForSearchForSale", {"gvPageIndex":gvPageIndex, "minprice":minprice, "maxprice":maxprice, "minbed":minbed, "minbath":minbath, "szLocation":szLocation, "chkRefRewards":chkRefRewards, "chkIsSold":chkIsSold, "strSearchText":strSearchText, "strSearchType":strSearchType}, this.SetFavoritiesForSearchForSale.getArguments().slice(10));
	},
	SetFavoritiesForAdvanceSearch: function(gvPageIndex, minprice, maxprice, minbed, minbath, szLocation, lstMiles, propertyTypeVal, propertyStatusVal, EcoFriendlyfeatures, HeatingOption, DisablityAndAdapted, chkOpenhouse, chkSold, advancesearchFlag, chkRefRewards, strSearchText, strOwner) {
		return this.invoke("SetFavoritiesForAdvanceSearch", {"gvPageIndex":gvPageIndex, "minprice":minprice, "maxprice":maxprice, "minbed":minbed, "minbath":minbath, "szLocation":szLocation, "lstMiles":lstMiles, "propertyTypeVal":propertyTypeVal, "propertyStatusVal":propertyStatusVal, "EcoFriendlyfeatures":EcoFriendlyfeatures, "HeatingOption":HeatingOption, "DisablityAndAdapted":DisablityAndAdapted, "chkOpenhouse":chkOpenhouse, "chkSold":chkSold, "advancesearchFlag":advancesearchFlag, "chkRefRewards":chkRefRewards, "strSearchText":strSearchText, "strOwner":strOwner}, this.SetFavoritiesForAdvanceSearch.getArguments().slice(18));
	},
	SetAsktheOwnerSearchForSale: function(gvPageIndex, minprice, maxprice, minbed, minbath, szLocation, IntPropertyID, IntPageIndex, chkRefRewards, chkIsSold, strSearchText, strSearchType) {
		return this.invoke("SetAsktheOwnerSearchForSale", {"gvPageIndex":gvPageIndex, "minprice":minprice, "maxprice":maxprice, "minbed":minbed, "minbath":minbath, "szLocation":szLocation, "IntPropertyID":IntPropertyID, "IntPageIndex":IntPageIndex, "chkRefRewards":chkRefRewards, "chkIsSold":chkIsSold, "strSearchText":strSearchText, "strSearchType":strSearchType}, this.SetAsktheOwnerSearchForSale.getArguments().slice(12));
	},
	SetAsktheOwnerAdvanceSearch: function(gvPageIndex, minprice, maxprice, minbed, minbath, szLocation, lstMiles, propertyTypeVal, propertyStatusVal, EcoFriendlyfeatures, HeatingOption, DisablityAndAdapted, chkOpenhouse, chkSold, advancesearchFlag, IntPropertyID, IntPageIndex, chkRefRewards, strSearchText, strOwner) {
		return this.invoke("SetAsktheOwnerAdvanceSearch", {"gvPageIndex":gvPageIndex, "minprice":minprice, "maxprice":maxprice, "minbed":minbed, "minbath":minbath, "szLocation":szLocation, "lstMiles":lstMiles, "propertyTypeVal":propertyTypeVal, "propertyStatusVal":propertyStatusVal, "EcoFriendlyfeatures":EcoFriendlyfeatures, "HeatingOption":HeatingOption, "DisablityAndAdapted":DisablityAndAdapted, "chkOpenhouse":chkOpenhouse, "chkSold":chkSold, "advancesearchFlag":advancesearchFlag, "IntPropertyID":IntPropertyID, "IntPageIndex":IntPageIndex, "chkRefRewards":chkRefRewards, "strSearchText":strSearchText, "strOwner":strOwner}, this.SetAsktheOwnerAdvanceSearch.getArguments().slice(20));
	},
	SetPropertyIDForAskTheOwner: function(IntPropertyID) {
		return this.invoke("SetPropertyIDForAskTheOwner", {"IntPropertyID":IntPropertyID}, this.SetPropertyIDForAskTheOwner.getArguments().slice(1));
	},
	SetNothingPropertyIDForAskTheOwner: function() {
		return this.invoke("SetNothingPropertyIDForAskTheOwner", {}, this.SetNothingPropertyIDForAskTheOwner.getArguments().slice(0));
	},
	SetRating: function(intRating, intPropertyID) {
		return this.invoke("SetRating", {"intRating":intRating, "intPropertyID":intPropertyID}, this.SetRating.getArguments().slice(2));
	},
	ForgetPassword: function(strUsername) {
		return this.invoke("ForgetPassword", {"strUsername":strUsername}, this.ForgetPassword.getArguments().slice(1));
	},
	UpdatePropertyStatus: function(intPropertyID, intStatus) {
		return this.invoke("UpdatePropertyStatus", {"intPropertyID":intPropertyID, "intStatus":intStatus}, this.UpdatePropertyStatus.getArguments().slice(2));
	},
	DeleteImage: function(intImageID, strFileName) {
		return this.invoke("DeleteImage", {"intImageID":intImageID, "strFileName":strFileName}, this.DeleteImage.getArguments().slice(2));
	},
	UpdateOrder: function(strXml) {
		return this.invoke("UpdateOrder", {"strXml":strXml}, this.UpdateOrder.getArguments().slice(1));
	},
	GetAgentProperty: function(propertyID) {
		return this.invoke("GetAgentProperty", {"propertyID":propertyID}, this.GetAgentProperty.getArguments().slice(1));
	},
	SendFeedBack: function(strName, strEmail, strPNo, strQuesry, chkNewsLetter) {
		return this.invoke("SendFeedBack", {"strName":strName, "strEmail":strEmail, "strPNo":strPNo, "strQuesry":strQuesry, "chkNewsLetter":chkNewsLetter}, this.SendFeedBack.getArguments().slice(5));
	},
	CheckValidCart: function() {
		return this.invoke("CheckValidCart", {}, this.CheckValidCart.getArguments().slice(0));
	},
	url: '/ajaxpro/ajaxFunctions,App_Code.ashx'
}));
ajaxFunctions = new ajaxFunctions_class();

