

isangoSearchoptions =  {};
searchoptions_class =
{
        GetCountries:function(moduleId, portalId, locale, processData)
        { 
           jQuery.get( searchAjaxUrl, {"typeOf":"GetCountries","moduleId":moduleId,'portalId':portalId,'locale':locale},  processData);
        },
        GetRegions: function(moduleId,regionId, portalId, locale,processData) { 
             jQuery.get(searchAjaxUrl, {"typeOf":"GetRegions","regionId":regionId,"moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
         GetActivitiesOfCity: function(countryRegionId,cityeRegionId, portalId, locale,processData) {
             jQuery.get(searchAjaxUrl, {"typeOf":"GetActivitiesOfCity","countryRegionId":countryRegionId,"cityRegionId":cityeRegionId,'portalId':portalId,'locale':locale}, processData);
        }
        ,
         GetRegionsForHotel: function(moduleId,regionId, portalId, locale,processData) {
             jQuery.get(searchAjaxUrl, {"typeOf":"GetRegionsForHotel","regionId":regionId,"moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
        
        GetParentRegionID: function(moduleId,regionId, portalId, locale,processData) {
                jQuery.get( searchAjaxUrl, {"typeOf":"GetParentRegionID","regionId":regionId,"moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
        GetRegionWiseCategories: function(moduleId,regionId, portalId, locale,processData) {
                jQuery.get( searchAjaxUrl, {"typeOf":"GetRegionWiseCategories", "regionId":regionId,"moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
        GetActivityCategories: function(moduleId, portalId, locale,processData) {
             jQuery.get( searchAjaxUrl, {"typeOf":"GetActivityCategories","moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
        GetHotelsCountries: function(moduleId, portalId, locale,processData) {
             jQuery.get( searchAjaxUrl, {"typeOf":"GetHotelsCountries","moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
        GetHolidaysDestinations: function(moduleId, portalId, locale,processData) {
             jQuery.get( searchAjaxUrl, {"typeOf":"GetHolidaysDestinations","moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
        GetHolidaysThemes: function(moduleId,regionId, portalId, locale,processData) { 
            jQuery.get( searchAjaxUrl, {"typeOf":"GetHolidaysThemes","regionId":regionId,"moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
        GetHolidaysSearch: function(moduleId, productType, NoOfNight, date, destination, theme, currentCulture, portalId, locale, processData) {
             return jQuery.get( searchAjaxUrl, {"typeOf":"GetHolidaysSearch","productType":productType,"NoOfNight":NoOfNight, "date":date, "destination":destination, "theme":theme,"CurrentCulture":currentCulture,"moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        },
        RestBacToSearch: function(moduleId, portalId, locale,processData) {
            jQuery.get( searchAjaxUrl, {"typeOf":"RestBacToSearch"}, processData );
        },
        GetExperienceSearch: function(moduleId,productType, country, city, activity, keywords, currentCulture, isRating,  portalId, locale, processData) {
            jQuery.get( searchAjaxUrl, {"typeOf":"GetExperienceSearch","productType":productType,"country":country,"city":city,"activity":activity,"keywords":keywords,"CurrentCulture":currentCulture,"ModuleId":moduleId, "isRating":isRating,'portalId':portalId,'locale':locale}, processData );
        },
        GetHotelsSearch: function(moduleId, productType, NoOfNight, date , noOfAdults, noOfChildren, ageOfChildren, country, city, currentCulture, portalId, locale,  processData) {
             return jQuery.get( searchAjaxUrl, {"typeOf":"GetHotelsSearch","productType":productType,"NoOfNight":NoOfNight, "date":date, "noOfAdults":noOfAdults, "ageOfChildren":ageOfChildren,"noOfChildren":noOfChildren, "country":country, "city":city,"CurrentCulture":currentCulture,"moduleId":moduleId,'portalId':portalId,'locale':locale}, processData);
        }
};





