	input.disabled = all.checked;
								}
							}
						}

						if (checkbox.parentNode.tagName == "TD") {
							if (all.checked) {
								checkbox.setAttribute("type", "hidden");
							}
							else {
								checkbox.setAttribute("type", "checkbox");
								checkbox.checked = false;
							}
						}
					}

				}
			}

			// If ROA, and checkbox is cleared, then also clear the sort order
			if("" != ""){
				if(all.checked == false){
					document.getElementById('de_'+attachments[1]+'_sort').value = 