  /* ---------------------
  	regular expression: 
  		/,/   		- this will match 1st occurance of the comma
  		/,/g   		- this will match all occurances of the comma
  		/['",;]/   	- this will match 1st occurance of each char inside the []
  		/['",;]/g   - this will match all occurances of each char inside the []
  		/^\s+/  	- for 1st occurance of any beginning white space char (blank, tab, etc.)
  		/\s+$/		- for 1st occurance of any trailing white space char
  		/\s+/g   	- for any occurance of any white space char (blank, tab, etc.)
  ------------------------*/
  function js_Trim_String(str) {	
     var re_start = /^\s+/ ;  // regular expression for 1st occurance of any beginning white space char (blank, tab, etc.)
  	var re_end = /\s+$/ ;	 // regular expression for 1st occurance of any trailing white space char
  	
  	if (str == null || str == "") return "";
  	return str.replace(re_start, "").replace(re_end, "");		
  }
  
  function js_Trim_Form_Field(formField) {
	  if (formField != null) formField.value = js_Trim_String(formField.value);
  }

