function trim(stringToTrim) {
	return stringToTrim.replace(/^\s+|\s+$/g,""); //trim the beginning and ending spaces.
}