Function killspace (x) {
While (x.length> 0) && (x.Charat (0) == ')) {x = x.substring (1, x.length);} for (i = 0; i String.prototype.trim = function () {Return this.Replace (/ (^ / s ) | / s $ / g, "")
String.prototype.trim = function () {Return this.Replace (/ (^ / s ) | / s $ / g, "")