Welcome to GPFans CHOOSE YOUR COUNTRY ';if (results[d]['objectType'] == 'article') {ht+= '' + timeAgo(results[d]['date'], 'en') + '';}if (results[d]['objectType'] == 'coureur') {ht+= 'Driver, ' + results[d]['subtitle'] + '';}ht+= '';ht+= '';//console.log(ht);$("#searchResults").append(ht);fndResults = 1;}i++;}}if (fndResults == 1) { //RESULTATEN GEVONDEN$("#searchResults").show();}}});}lastVal = val; //LAST VALUE}}$( document ).ready(function() {$("#search_2021_window").show();$(".top-header-bar .search_2021").click(function(){if ($(".navigation").hasClass("activeSearch")){$(".navigation").removeClass("activeSearch");$(".search_2021").removeClass("activeSearch");if ($(document).width() <= 768){$("body").css("overflow","auto");}} else {$(".navigation").addClass("activeSearch");$(".search_2021").addClass("activeSearch");setTimeout(function() {$("#search_2021_window .searchbx input").focus();$("#searchResults").html("");$("#searchResults").hide();lastVal = "";}, 200);}});//SEARCH$("#searc...