<!--
function confirm_delete(id, filter, datefilter)
{
	if (confirm("Are you sure you want to delete this article?\n\nClick Ok to proceed or Cancel to cancel.")) {
		window.location = "index.php?deletearticle=" + id + "&filter=" + filter + "&datefilter=" + datefilter;
	}	
}

function confirm_comment_delete(id, article_id)
{
	if (confirm("Are you sure you want to delete this comment?\n\nClick Ok to proceed or Cancel to cancel.")) {
		window.location = "article_view.php?deletecomment=" + id + "&id=" + article_id;
	}	
}

function validate_form(form)
{
	if (form.comment.value == "") {
		alert("You did not enter a comment. \n \nPlease enter a comment.");
		form.comment.focus();
		return false;
	}
		
	return true;
}
//-->