function CommentValidate()
{
	var form 	= this.document.getElementById("f_comment");
    var valid 	= true;
	
	// Text strings
	var nocomment = '<br><span class="inlinewarn2">You must enter a comment before submitting!</span><br>';

	// Empty comment?
    if( form.add_comment.value == "" )
    {
		document.getElementById('commenterror').innerHTML = nocomment;
        valid = false;
    }

    return valid;
}

function ReleaseCommentError()
{
	document.getElementById('commenterror').innerHTML = '&nbsp;';
}
