Code
function Form_Submit(FormName, Action){
	/*
	Purpose
		Submits a form in a simple, generic way.
	Parameters
		FormName (string) = The name of the form we want to submit.
		Action (optional string) = If specified this value is assigned to the .action method
			of the form before it is submitted.
	Version History
		1.00 2009.6.24 Tested by Russ Tanner on IE6/FF3.
	*/

	var frm = document.forms[FormName]
	
	// Set the form's action and submit it.
	if (typeof Action != "undefined") frm.action = Action;
	frm.submit();

}


The Captian
Today they call you "crazy". Tomorrow they call you "ahead of your time."
Global Skywatch Learn about Chemtrails - You're breathing them now!
OnlyTheBestHerbs.com World-class supplements
Mercury Talk Why you are sick.
OneUp Domains Domains, Hosting, Email
1-800-358-4278 (U.S. & Canada)