diff --git a/html/colors.css b/html/colors.css
index 63e628e..5781f85 100644
--- a/html/colors.css
+++ b/html/colors.css
@@ -6,6 +6,9 @@
.other { background-color: #d8d8ff; }
.tisb { background-color: #ffd8e6; }
.unknown { background-color: #dcdcdc; }
+.squawk7500 { font-weight: bold; background-color: #ff5555; }
+.squawk7600 { font-weight: bold; background-color: #00ffff; }
+.squawk7700 { font-weight: bold; background-color: #ffff00; }
.selected.vPosition { background-color: #88DDFF; }
.selected.mlat { background-color: #F1DD83; }
.selected.uat { background-color: #66FFA6; }
diff --git a/html/script.js b/html/script.js
index 863171e..f0f7cff 100644
--- a/html/script.js
+++ b/html/script.js
@@ -109,6 +109,13 @@ let shareLink = '';
let onMobile = false;
+let SpecialSquawks = {
+ '7500' : { cssClass: 'squawk7500', markerColor: 'rgb(255, 85, 85)', text: 'Aircraft Hijacking' },
+ '7600' : { cssClass: 'squawk7600', markerColor: 'rgb(0, 255, 255)', text: 'Radio Failure' },
+ '7700' : { cssClass: 'squawk7700', markerColor: 'rgb(255, 255, 0)', text: 'General Emergency' }
+};
+
+
// Get current map settings
let CenterLat, CenterLon, ZoomLvl, ZoomLvlCache;
let zoomTimeout;
@@ -2151,6 +2158,10 @@ function refreshTableInfo() {
if (plane.selected && !SelectedAllPlanes)
classes += " selected";
+ if (plane.squawk in SpecialSquawks) {
+ classes = classes + " " + SpecialSquawks[plane.squawk].cssClass;
+ show_squawk_warning = true;
+ }
// ICAO doesn't change
if (flightawareLinks) {