javascript/general.js
// counts the number of disabled checkboxes - used for deselect all

counts the number of disabled checkboxes - used for deselect all
counts the number of disabled checkboxes - used for deselect all
function MM_countDisabledCheckboxes(form) {
		var disabledCount = 0;
		if (form.checkboxes) {
			var checkboxCount = form.checkboxes.length;
			for (i = 0; i < checkboxCount; i++) {
				var checkbox = form.checkboxes[i];
				if (-1 != document[checkbox.mImageName].src.indexOf('dim_16.gif')) {
					disabledCount++;
				}
			}
		}
		return disabledCount;
	}
function MM_countDisabledCheckboxes ( form ) { var disabledCount = 0 ; if ( form . checkboxes ) { var checkboxCount = form . checkboxes . length ; for ( i = 0 ; i < checkboxCount ; i ++ ) { var checkbox = form . checkboxes [ i ] ; if ( - 1 != document [ checkbox . mImageName ] . src . indexOf ( 'dim_16.gif' ) ) { disabledCount ++ ; } } } return disabledCount ; }
counts the number of disabled checkboxes - used for deselect all
counts the number of disabled checkboxes - used for deselect all