'; Webflow.push(function() { $('#staff_spotlight').hide(); collect_data(); staff(); create_mobile_dept_menu(); dept_select(); staff_select(); inactive_depts(); setTimeout(function() { select_specific_dept('Program Specialists'); }, 500); }); function staff() { //render var r = []; _page_data.data_blocks["staff"].sort(function(a, b) { var default_sort = 200000; var sort_a = a.sort; var sort_b = b.sort; if(!a.sort || a.sort == "") { sort_a = default_sort; } if(!b.sort || b.sort == "") { sort_b = default_sort; } //console.log(sort_a + '-' + sort_b); return sort_a - sort_b; }); _page_data.data_blocks["staff"].forEach(function(s) { var staffListView = '