Index: src/hg/hgTracks/imageV2.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/imageV2.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -b -B -U 4 -r1.17 -r1.18
--- src/hg/hgTracks/imageV2.c	9 Dec 2009 03:30:22 -0000	1.17
+++ src/hg/hgTracks/imageV2.c	17 Dec 2009 00:26:26 -0000	1.18
@@ -6,8 +6,9 @@
 #include "hui.h"
 #include "jsHelper.h"
 #include "imageV2.h"
 #include "hgTracks.h"
+#include "hgConfig.h"
 
 static char const rcsid[] = "$Id$";
 
 struct imgBox   *theImgBox   = NULL; // Make this global for now to avoid huge rewrite
@@ -1252,9 +1253,9 @@
                         imgTrack->name :
                         imgTrack->tdb->parent ?
                         imgTrack->tdb->parent->tableName:
                         imgTrack->tdb->tableName );
-        hPrintf(" width:9px; display:none;' class='%s btn btnN btnGrey'></p>",trackName);
+        hPrintf(" width:9px; display:none;' class='%s btn btnN'></p>",trackName);
         }
     else
         hPrintf("width:%dpx;'></p>",slice->width);
     }
@@ -1311,9 +1312,10 @@
 /* writes a entire imgBox including all tracksas HTML */
 {
 if(imgBox->imgTracks == NULL)  // Not an error to have an empty image
     return;
-if(!imgBoxIsComplete(imgBox,TRUE))
+boolean verbose = (differentString(cfgOptionDefault("browser.javaScriptDir", "na"),"na"));   // Warnings for javascript developers
+if(!imgBoxIsComplete(imgBox,verbose))
     return;
 char name[128];
 int bgOffset = NO_VALUE;
 
@@ -1334,9 +1336,8 @@
 hPrintf(".btnN {border-width:1px 1px 1px 1px; margin:1px 1px 0px 1px;}\n"); // connect none
 hPrintf(".btnU {border-width:0px 1px 1px 1px; margin:0px 1px 0px 1px;}\n"); // connect up
 hPrintf(".btnD {border-width:1px 1px 0px 1px; margin:1px 1px 0px 1px;}\n"); // connect down
 hPrintf(".btnL {border-width:0px 1px 0px 1px; margin:0px 1px 0px 1px;}\n"); // connect linear
-//hPrintf(".btnGrey {background-color:#cccccc; border-color:#dddddd;}\n");
 hPrintf(".btnBlue {background-color:#91B3E6; border-color:#91B3E6;}\n");
 #endif//def FLAT_TRACK_LIST
 hPrintf("div.dragZoom {cursor: text;}\n");
 hPrintf("</style>\n");
@@ -1408,9 +1409,9 @@
     if(imgTrack->showCenterLabel)
         {
         safef(name, sizeof(name), "center_%s", trackName);
         sliceAndMapDraw(imgBox,imgTrack,stCenter,name,FALSE);
-        //hPrintf("<BR>\n");
+        hPrintf("\n");
         }
     // data image
     safef(name, sizeof(name), "data_%s", trackName);
     sliceAndMapDraw(imgBox,imgTrack,stData,name,(imgTrack->order>0));

