<SCRIPT LANGUAGE="JavaScript"> <!-- String.prototype.Trim =function() { returnthis.replace(/(^\s*)|(\s*$)/g, ""); } String.prototype.LTrim =function() { returnthis.replace(/(^\s*)/g, ""); } String.prototype.RTrim =function() { returnthis.replace(/(\s*$)/g, ""); } //--> </SCRIPT>