Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1535
retrieving revision 1.1536
diff -b -B -U 4 -r1.1535 -r1.1536
--- src/hg/hgc/hgc.c	7 May 2009 00:07:51 -0000	1.1535
+++ src/hg/hgc/hgc.c	7 May 2009 18:05:52 -0000	1.1536
@@ -5994,11 +5994,17 @@
 struct ctgPos2 *ctg2 = NULL;
 int cloneCount;
 struct contigAcc contigAcc;
 
+char * ncbiTerm = cgiEncode(ctgName);
+safef(query, sizeof(query), "%s%s", NUCCORE_SEARCH, ncbiTerm);
+
 genericHeader(tdb, ctgName);
-printf("<B>Name:</B> %s<BR>\n", ctgName);
-sprintf(query, "select * from %s where contig = '%s'", track, ctgName);
+printf("<B>Name:</B>&nbsp;<A HREF=\"%s\" TARGET=_blank>%s</A><BR>\n",
+	query, ctgName);
+freeMem(ncbiTerm);
+safef(query, sizeof(query), "select * from %s where contig = '%s'",
+	track, ctgName);
 selectOneRow(conn, track, query, &sr, &row);
 
 if (sameString("ctgPos2", track))
     {

