var updateSearchScore = function () {
	if ($("#search-form").length != 0 && $("#noupdate").length == 0) {
		var postData = $("#search-form").serialize();
		var timestamp = new Date().getTime();
		$.post('/index.php?page_label=ajax&mode=running_score&ie_f_cache='+timestamp, postData, function (data, textStatus) {
			if (textStatus == 'success') {
				
				// Insert the returned html
				if (data.score > 0) {
					$("#a_show_results").show();
					$("#alternative_links").hide();
				}
				else {
					$("#a_show_results").hide();
					$("#alternative_links").show();
				}
				$("#running_score").html(data.score);
				//$("#arrival").val(data.arrival);
			}
		}, 'json');
	}
}
