	

jQuery(document).ready(function(){
	jQuery('.selectall').toggle(function () {
		jQuery(this).text('Clear all');
		jQuery(this).parents('div:eq(0)').next().find(':checkbox').attr('checked', true);
	}, function() {
		jQuery(this).text('Select all');
  		jQuery(this).parents('div:eq(0)').next().find(':checkbox').attr('checked', false);
	});
});
