diff --git a/public_html/script.js b/public_html/script.js
index 823f228..115147c 100644
--- a/public_html/script.js
+++ b/public_html/script.js
@@ -613,16 +613,13 @@ function refreshSelected() {
$('#dump1090_infoblock').css('display','none');
$('#selected_infoblock').css('display','block');
+
+ $('#selected_flightaware_link').attr('href','http://flightaware.com/live/modes/'+selected.icao+'/redirect');
if (selected.flight !== null && selected.flight !== "") {
$('#selected_callsign').text(selected.flight);
- $('#selected_links').css('display','inline');
- $('#selected_fr24_link').attr('href','http://fr24.com/'+selected.flight);
- $('#selected_flightstats_link').attr('href','http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?flightNumber='+selected.flight);
- $('#selected_flightaware_link').attr('href','http://flightaware.com/live/flight/'+selected.flight);
} else {
$('#selected_callsign').text('n/a');
- $('#selected_links').css('display','none');
}
if (selected.registration !== null) {