code: function join(/*varags*/) {
  	var segs = Array.prototype.slice.call(arguments);
  	var path = [];
  	for (var i=0; i < segs.length; i++) {
  		var segment = segs[i];
  		// This is kind of cheesy: avoid double-slashes
  		var last = segment.length-1;
  		if (i > 0 && segment[0] === '/') segment = segment.substring(1);
  		if (segment[last] === '/') segment = segment.substring(0, last);
  		path.push(segment);
  	}
  	return path.join('/');
  }
docs: /*
  Joins a bunch of junk into a path, like the path component of a URL.