YAHOO.util.Event.onDOMReady( function() {
		oCommentForm1 = new PACIFICFOX.Form( { formIdentity:"comment-form", displayError:false } );
		PACIFICFOX.buildValidation( { objectName:"oCommentForm1", sMetaUrl:"comment-form.xml" } );
	}
);

function doCommentFormSubmit() {
	var result = oCommentForm1.validate();
	if ( !result ) { 
		document.getElementById( 'commentFormErrorMessage' ).innerHTML = oCommentForm1.error.getAsHTMLList();
		window.location.href = "#commentFormErrorMessage";
	} 
	oCommentForm1.error.reset(); 
	return result;
}
