
function checkit() {
	
var textstring = '';

for (i=0;i<6;i++) {
		box = document.update.elements[i];
		if (!box.value) {
			alert('You haven\'t filled in the ' + box.name);
			box.focus()
			return;
		}
		textstring += box.name + ': ' + box.value + '\n';
	}

	

	document.forms[0].output.value = textstring;
}
