$('a#all').click( function(){
$("input[type='checkbox']:not([disabled='disabled'])").attr('checked', true);
$('#checked-count').text( $('#facet-count').text() );
$('a#all').click( function(){
$("input[type='checkbox']:not([disabled='disabled'])").attr('checked', true);
$('#checked-count').text( $('#facet-count').text() );