618ad52147b439cefd3ac8e3ddf8d8f49093feda
greg
  Tue Aug 23 15:13:00 2011 -0700
added line to tabs initialization that will set a browser cookie to remember what tab was selected last so that when user returns to page, they are on that tab again. This cookie can be overwritten elsewhere when needed.
diff --git src/hg/js/hgHubConnect.js src/hg/js/hgHubConnect.js
index 0d29ee0..d6493bc 100644
--- src/hg/js/hgHubConnect.js
+++ src/hg/js/hgHubConnect.js
@@ -1,14 +1,16 @@
-
-//<script type="text/javascript" >
     // hover effect to highlight table rows
     $(function(){
     	$(".hubList tr").hover(
     		function(){ $(this).addClass("hoverRow");},
     		function(){ $(this).removeClass("hoverRow"); }
     		)
     	});
+
+
+// initializes the tabs - with cookie option
     $(function() {
-	    $( "#tabs" ).tabs();
+	$( "#tabs" ).tabs({ cookie: { name: 'hubTab_cookie', expires: 30 } });
 	});
-//</script>
+
+