function submitComment() {
	
	var nameError = "Vul hier uw naam in.";
	var commentError = "Vul hier uw reactie in.";
	
	var name = $('comment_form' ).name.value;
	var comment = $('comment_form' ).comment.value;
	
	if( name != "" && name != nameError && 
		comment != "" && comment != commentError ) {
		var params = Form.serialize( $( 'comment_form' ));
		new Ajax.Updater( 'comments', 'ajax/submit_comment.php', {asynchronous:true, parameters:params, insertion: Insertion.Top} );
		new Ajax.Updater( 'comment_form', 'ajax/update_comment_form.php', {asynchronous:true, parameters:params} );		
	}
	else if( name != "" ) {
		$('comment_form' ).comment.value = commentError;
	}
	else {
		$('comment_form' ).name.value = nameError;
	}
	
}


