function bl_ajax_frontend_update()
{
    $map = bepro_generate_map();
    $cat = display_listing_categories();
    $listings = display_listings();
    $filter = Bepro_listings::search_filter_options();
    $short_filter = search_filter_shortcode();
    $search = Bepro_listings::searchform();
    echo json_encode(array("map" => $map, "cat" => $cat, "listings" => $listings, "filter" => $filter, "short_filter" => $short_filter, "search" => $search));
    exit;
}
function bl_ajax_frontend_update()
{
    $_REQUEST["l_type"] = !empty($_REQUEST["l_type"]) && !is_numeric($_REQUEST["l_type"]) && !is_array($_REQUEST["l_type"]) ? explode(",", $_REQUEST["l_type"]) : $_REQUEST["l_type"];
    $map = bepro_generate_map();
    $cat = display_listing_categories();
    $listings = display_listings();
    $filter = Bepro_listings::search_filter_options();
    $short_filter = search_filter_shortcode();
    $search = Bepro_listings::searchform();
    echo json_encode(array("map" => $map, "cat" => $cat, "listings" => $listings, "filter" => $filter, "short_filter" => $short_filter, "search" => $search));
    exit;
}