function observeCheckboxesClick(regularCheckboxName, globalCheckboxName) {
	$$('input[name="' + regularCheckboxName + '"]').each(function(itemCheckbox) {
		itemCheckbox.observe('click', function(event){
			if (false == $(Event.element(event)).checked) {
				var globalCheckbox = $$('input[name="' + globalCheckboxName + '"]').first();
				
				if (globalCheckbox) {
					globalCheckbox.checked = false;
				}
			}
		});
	});
}

function observeListRowsHighlight() {
	highlightRowCallback = function(listRow) {
		listRow.observe('mouseover', function(event) {
			listRow.addClassName('list-table-row-strong');
		});
		
		listRow.observe('mouseout', function(event) {
			listRow.removeClassName('list-table-row-strong');
		});
	}
	
	$$('tr.list-table-row').each(highlightRowCallback);
	$$('tr.list-table-row-alter').each(highlightRowCallback);
}