Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1577
retrieving revision 1.1578
diff -b -B -U 4 -r1.1577 -r1.1578
--- src/hg/hgc/hgc.c	30 Sep 2009 23:17:14 -0000	1.1577
+++ src/hg/hgc/hgc.c	8 Oct 2009 06:38:25 -0000	1.1578
@@ -17938,8 +17938,12 @@
 else if (sameWord(type, "bigWig"))
     bigWigCustomClick(ct->tdb);
 else if (sameWord(type, "bigBed"))
     bigBedCustomClick(ct->tdb);
+#ifdef USE_BAM
+else if (sameWord(type, "bam"))
+    doBamDetails(ct->tdb, itemName);
+#endif//def USE_BAM
 else if (ct->wiggle)
     {
     if (ct->dbTrack)
 	{

