anchor.diff:  					var alleletypesStr = "<b>Allele type</b>: ";
   					var types = ["CRISPR(em)", "KOMP", "KOMP.1", "EUCOMM A", "EUCOMM B", "EUCOMM C", "EUCOMM D", "EUCOMM E"];
                       for(var t=0; t<types.length; t++){
  -                        alleletypesStr += "<input type='checkbox' name='aleletype'> " + types[t];
  +                        var val = types[t];
  +                        alleletypesStr += "<input type='checkbox' name='aleletype' value='" + val +"'> " + val;
   					}
   
                       var filter = "<fieldset id='" + dataType + "Filter' class='dfilter " + dataType + "'>" + legend + genotypesStr + "<br>" + alleletypesStr + "</fieldset>";
  
positive.code: 
                  function addDatatypeFiltersAttributes(dataType) {
  
                      var objs = idsVar[dataType].fields;
  
                      var inputs = "";
                      for (var i = 0; i < objs.length; i++) {
                          for (var k in objs[i]) {
                              var display = k;
                              var dbproperty = objs[i][k];
                              //console.log(k + " - " + objs[i][k]);
                              inputs += "<input type='checkbox' name='" + display + "' value='" + dbproperty + "'>" + display;
                          }
                      }
                      var legend = "<legend>" + idsVar[dataType].text + " attributes</legend>";
                      var attr = "<fieldset class='fsAttrs " + dataType + "' id='" + dataType + "'>" + legend + inputs + "</fieldset>";
                      $('div#dataAttributes').append(attr);
  
                      console.log("clicked on: "+ dataType);
  
                      if (dataType == "Gene"){
  
negative.code: 						    property = "phenotypeSex"
                              dataType = "StatisticalResult";
                          }
                          else if (name == "genotype"){
                              dataType = "StatisticalResult";
                          }
  
                          if (name == "alleletype"){
                              property = 'alleleType';
                              dataType = 'Allele';
  						}
  
                          console.log(dataType + " --- " + property);
  
  