anchor.diff:  	       			success: function( json ) {
   		    				input = json.response.docs[0].hpmp_id;
   		    				document.location.href = baseUrl + '/search?q=' + input + '#fq=top_level_mp_term:*&facet=mp';
  +	       			}
  +   				});
  +       		}
  +       		
  +       		function _convertInputForSearch(input){
  +       			$.ajax({
  +	       			url: "${solrUrl}/autosuggest/select?wt=json&rows=1&qf=auto_suggest&defType=edismax&q=\""+input+"\"",				       			
  +	       			dataType: "jsonp",
  +	       			jsonp: 'json.wrf',
  +	       			type: 'post',
  +	    	    	async: false,
  +	       			success: function( json ) {
  +	       				var doc = json.response.docs[0];
  +	       				var facet, q;
  +	       				
  +	       				for( var field in doc ) {
  +	       					if ( field != 'docType' ){
  +	       						q = doc[field]; 
  +	       					}
  +	       				}
  +		    			document.location.href = baseUrl + '/search?q=' + q;
   	       			}
      				});
          		}
  
positive.code:        		    		}
         		    	}
         		    	else {	
         		    		if (input.match(/HP\\%3A\d+/)){
  	       		    		// work out the mapped mp_id and fire off the query
  	       		    		_convertHp2MpAndSearch(input);
         		    		} 
         		    		else {
         		    			var fqStr = $.fn.getCurrentFq(facet);
         		    			document.location.href = baseUrl + '/search?q=' + input + '#fq=' + fqStr + '&facet=' + facet;
  
negative.code:        			return false;
         		})
         		
         		var solrBq = "&bq=marker_symbol:*^100 hp_term:*^95 hp_term_synonym:*^95 top_level_mp_term:*^90 disease_term:*^70 selected_top_level_ma_term:*^60";
         		// autosuggest 
         		$(function() {
  	       		$( "input#s" ).autocomplete({
  