
$(document).ready(function() {
	// create a hidden input field confirmfield
	var cfield = $('<input type="hidden" name="confirmfield" value="49be0416d4e27963cc91b65abda27e74">');
	$("form[action*=mailform_db2]").submit(function() {
		// alert("Hey, I'm mailform_db3 now!");
		// add the hidden input to the form
		cfield.appendTo($(this));
		// change the form action to mailform_db3
		$(this).attr('action', '/cgi-bin/mailform_db3');
	});
});
