function submitform() {

	if (document.commentform.author.value == "") {
		alert("You need a name.");
		document.commentform.author.focus();
		return false;
	}
	else if (document.commentform.email.value == "") {
		alert("Provide a valid email address you must if you wish to post.");
		document.commentform.email.focus();
		return false;
	}
	else if (!emailCheck(document.commentform.email.value)) {
		alert("Provide a valid email address you must if you wish to post.");
		document.commentform.email.focus();
		return false;
	}
	else if (document.commentform.text.value == "") {
		alert("Your comments have a value of NULL. Please correct.");
		document.commentform.text.focus();
		return false;
	}
	else {
		if (document.commentform.bakecookie.checked) {
			rememberMe();
		}
		else {
			forgetMe();
		}
		return true;
	}
}

function fillinhttp() {
	if (document.commentform.url.value == "")	{
		document.commentform.url.value = "http://";
	}
}

function getridofhttp() {
	if (document.commentform.url.value == "http://") {
		document.commentform.url.value = "";
	}
}