function change_form_action(form_name,form_action) {
	// Create the new action for the form.
	var new_form_action = "document." + form_name + ".action = '" + form_action + "';";
	
	// Change the action of the form and then submit it.
	eval(new_form_action);
	eval("document." + form_name + ".submit();");
}
