
Comments = function() {
};

Comments.prototype = {

	submitComment: function(form) {
		new Ajax.Updater(
			'Badgers_Index_Multimedia_Comments_Container',
			form.action,
			{
				parameters: Form.serialize(form),
				asynchronous: true,
				evalScripts: true
			}
		);
	},

	resetCommentForm: function() {
		$('name').value = 'Name';
		$('email').value = 'Email';
		$('comment').value = 'Comment';
	}
};