anchor.diff:  
   </t:genericpage>
   
  +
  
positive.code: <c:set var="redirectedJavascript">
  	<c:if test="${not empty queryString}">
  		<script type="text/javascript">		
  
  		var solrBaseURL_bytemark = '${drupalBaseUrl}/bytemark/solr/';
  		var solrBaseURL_ebi      = '${drupalBaseUrl}/mi/solr/';	
  
  		var data = {};
  		data.q         = '${queryString}';	
  		data.type      = '${queryType}';		
  		data.geneFound = '${queryGeneFound}';	// use to load gene grid	
  				 		 
  		window.jQuery('document').ready(function() {	
  			
  			// do not use qf: 'auto_suggest', defType: 'edismax' for gene, as the config is different at Sanger
  			var facetParams = MPI2.searchAndFacetConfig.facetParams;
  									
  			if ( facetParams[data.type] && data.type != 'gene'){
  				data.fq = facetParams[data.type].fq;
  				data.qf = facetParams[data.type].qf;
  				data.defType = facetParams[data.type].defType;
  				data.wt = facetParams[data.type].wt;
  			}
  			
  			// refresh the side bar
  			window.jQuery('div#leftSideBar').mpi2LeftSideBar({			
  				solrBaseURL_bytemark : solrBaseURL_bytemark,
  				solrBaseURL_ebi : solrBaseURL_ebi,
  				data : data, // key q: query string
  				geneGridElem : 'div#mpi2-search'				
  			});			
  			
  			// refresh the grid		
  			if ( data.type != 'undefined' ){
  				
  				// invoke sanger grid
  				//window.jQuery('#mpi2-search').trigger('search', [{type: data.type, solrParams: data}]);
  				
  				// invode dataTable
  				var oInfos = {};
  		 		oInfos.params = $.fn.stringifyJsonAsUrlParams(data);
  		 		oInfos.solrCoreName = facetParams[data.type].solrCoreName;
  		 		oInfos.mode = facetParams[data.type].solrCoreName + 'Grid';
  		 		oInfos.dataTablePath = "${baseUrl}/dataTable";
  		 		
  		 		var dTable = $.fn.fetchEmptyTable(facetParams[data.type].tableHeader, facetParams[data.type].cols, oInfos.mode);
  		 	   			 	    	
  		 	   	var title = $.fn.upperCaseFirstLetter(facetParams[data.type].type);	    	
  		 	   	var gridTitle = $('<div></div>').attr({'class':'gridTitle'}).html(title);
  		 	 
  		 	   	$('div#mpi2-search').html('');		 	  
  		 	   	$('div#mpi2-search').append(gridTitle, dTable);		 	    	   	
  		 	   	
  		 	   	$.fn.invokeDataTable(oInfos);
  			}
  			$('div#facetBrowser').html(MPI2.searchAndFacetConfig.endOfSearch);
  			
  		});
  
negative.code: 	</jsp:attribute>
  
  	<jsp:attribute name="footer">	
  	
  	${redirectedJavascript}
  	
  	<!-- hash state for back button -->
  	<script type="text/javascript">
  		$(document).ready(function(){
  			
  			$(window).bind("hashchange", function(e) {
  				// In jQuery 1.4, use e.getState( "url" );				
  				var url = $.param.fragment();				
  				//console.log('hash change URL: '+ '/search#' + url);
  								
  				// reload wanted url				
  				if ( (url != '' && !$.fn.checkHashStrForSkippingReload(url)) 
  						|| ( url == '' && /search$/.test(document.location.href) ) ){					
  					document.location.reload();	
  				}				
  			});	
  			
  		});
  	</script>
  	<!-- end of hash state for back button -->	
  	
  	</jsp:attribute>
  
      <jsp:body>
  		<div id="wrapper">
  		    <div id="userKeyword" class='rounded-corners'></div>	
  			<div id="content">
  				<div class="ui-widget">
  					<div id='dataView'></div>
  