).value = 0;
  
			document.getElementById('view_button').disabled = true;
			document.getElementById('download_button').disabled = true;
		}

                function select_link_documents(){ // When selected by a link, check all documents.
                        clear_totals();

			elements = document.forms[0].elements;
			for(i=0; i < elements.length; i++){
				checkbox = elements[i];
				if(checkbox.type == 'checkbox'){
					checkbox.checked = true;
					update_sizes(checkbox);
				}
			};	
		}

		func