anchor.diff:         		    		}
          		    	}
          		    	else {	
  +       		    		
  +       		    		//alert('3: ' + facet)
          		    		if (input.match(/HP\\%3A\d+/)){
   	       		    		// work out the mapped mp_id and fire off the query
   	       		    		_convertHp2MpAndSearch(input);
          		    		} 
  +       		    		else if ( facet == 'hp' ){
  +       		    			_convertInputForSearch(input);
  +       		    		}
          		    		else {
          		    			var fqStr = $.fn.getCurrentFq(facet);
          		    			document.location.href = baseUrl + '/search?q=' + input + '#fq=' + fqStr + '&facet=' + facet;
  
positive.code: 	       			success: function( json ) {
  		    				input = json.response.docs[0].hpmp_id;
  		    				document.location.href = baseUrl + '/search?q=' + input + '#fq=top_level_mp_term:*&facet=mp';
  	       			}
     				});
         		}
  
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({
  