function batch_all_checked(cbs) {
  if (typeof(cbs) == "undefined")
    cbs = batch_get_checkboxes();

  var all_checked = true;
  for (var i = 0; i < cbs.length; i++)
    if (!cbs[i].checked) {
      all_checked = false;
      break;
    }
  return all_checked;
}
// tests if all boxes are checked
tests if all boxes are checked
tests if all boxes are checked
function batch_all_checked(cbs) {
  if (typeof(cbs) == "undefined")
    cbs = batch_get_checkboxes();
  var all_checked = true;
  for (var i = 0; i < cbs.length; i++)
    if (!cbs[i].checked) {
      all_checked = false;
      break;
    }
  return all_checked;
}
function batch_all_checked ( cbs ) { if ( typeof ( cbs ) == "undefined" ) cbs = batch_get_checkboxes ( ) ; var all_checked = true ; for ( var i = 0 ; i < cbs . length ; i ++ ) if ( ! cbs [ i ] . checked ) { all_checked = false ; break ; } return all_checked ; }
tests if all boxes are checked
tests if all boxes are checked