buttons_disabled = false;
				}
			}

			document.getElementById('view_button').disabled = buttons_disabled;
			document.getElementById('download_button').disabled = buttons_disabled;
			document.getElementById('file_too_big').style.display = file_too_big ? 'block':'none';

			//alert(total_size + ':' + total_page);
			total_size_counter.value = total_size;
			total_page_counter.value = total_page;
			if(total_size_display.type == 'text'){
				total_size_display.value = Number((total_size/1024000).toFixed(5