jQuery(document).ready(function() {
	jQuery("[id*=checkboxall]").click(function() {
		var status = this.checked;
		
		jQuery("[id*=checklist]").each(function() {
			this.checked = status;	
		});
	});
});

function wpbrrefresh(pcontroller, options) {
	jQuery("#" + options.divid).load(wpbrAjax + "?cmd=refresh", options, function() {
		return true;
	});
	
	return false;
}