a13cf0abab86939da0b6b6db9ad0e27548cca0c2
larrym
  Thu Oct 21 16:33:50 2010 -0700
add a advancedJavascriptFeaturesEnabled check
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 1909cfb..b3446fe 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -5558,12 +5558,15 @@
 jsIncludeFile("lowetooltip.js", NULL);
 #endif
 
+if(advancedJavascriptFeaturesEnabled(cart))
+    {
 #if defined(CONTEXT_MENU) || defined(TRACK_SEARCH)
 webIncludeResourceFile("jquery.contextmenu.css");
 webIncludeResourceFile("jquery-ui.css");
 #ifdef CONTEXT_MENU
 jsIncludeFile("jquery.contextmenu.js", NULL);
 #endif/// def CONTEXT_MENU
+    }
 jsIncludeFile("jquery-ui.js", NULL);
 
 //if (!trackImgOnly)