Code
/*
Purpose
	Used to trim leading and trailing whitespace from a string.
Parameters
	Str (String) = The string we want to trim.
Return (String)
	Returns the specified string (Str) trimmed of whitespace on each side.
Version History
	1.0 11/18/2008 Tested by Russ Tanner
*/
function Str_Trim(Str) {
	return Str.replace(/^\s+|\s+$/g, '') ;
}


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)