
function href_check() 
{
	var comment = document.forms["commentform"].comment.value;
	if (comment.indexOf("<a") != -1 || comment.indexOf("http") != -1) 
	{
		alert("URLs are not allowed in comments.");
		return false;
	}
	
	return true;
}
