//*****************************************************************************
// Name:	trim
//
// Purpose:	Returns same  string as input with removed leading and trailing white space.
// Inputs:
//			s: string to process
// Returns: string with leading and trailing white space removed
//
//*****************************************************************************
String.prototype.trim = function()
{
	return this.replace(/(^\s*)|(\s*$)/g, "");
}