r dealing with hidden inputs
			var ad_checked = {};
			for (var i = 0; i < elements.length; i++) {
				var checkbox = elements[i];
				if (checkbox.name == "all_documents") {
					ad_checked[checkbox.value] = checkbox.checked;
				}
			}

			for(var i=0; i < elements.length; i++){
				var checkbox = elements[i];
				if(checkbox.name.match(/document_/)){
					var info = checkbox.value.split('-');//dm_dls_id - file_size - page_size
					if (checkbox.type == "hidden") {
						var values = checkbox.name.split(