diff --git a/src/www/head.inc b/src/www/head.inc
index 32fc85acd..13214c1b9 100644
--- a/src/www/head.inc
+++ b/src/www/head.inc
@@ -78,6 +78,9 @@ $pagetitle = gentitle( $pgtitle );
+
+
+
option").each(function() {
+ if (parseInt($(this).val()) > 24 && itemValue.indexOf(":") == -1 ) {
+ $(this).addClass('hidden');
+ } else {
+ $(this).removeClass('hidden');
+ }
+ });
+ if (callback != undefined) {
+ callback();
+ }
+ });
+ }
+ // trigger initial onChange event
+ $("#"+$(this).data(data_id)).change();
+ });
+}