<!--

function checkBox(){
	var textstring = '';
	for (i=0;i<4;i++) {
		var box = document.forms['formName'].elements[i];
		if (!box.value) {
			alert('Please type your ' + box.name + '!');
			box.focus()
			return;
		}
		textstring += box.name + ': ' + box.value + '\n';
	}

	user_input = '';
	for (i=0;i<document.forms[0].why.length;i++) {
		if (document.forms[0].why[i].checked) {
			user_input = document.forms[0].why[i].value;
		}
	}
	textstring += 'Why: ' + user_input + '\n';

	user_input = document.formName.refer.options[document.formName.refer.selectedIndex].value
	textstring += 'How: ' + user_input + '\n';

	textstring += 'More info: ';
	for (i=9;i<13;i++) {
		if (document.formName.elements[i].checked) {
			textstring += document.formName.elements[i].name + ' ';
		}
	}

	document.forms[0].output.value = textstring;
}

function checkEmail(form) {
  if (form.email.value == "" ||
      form.email.value.indexOf('@', 0) == -1)
        alert("field email is empty or \nno valid e-mail address!");
}

-->